Add rust-analyzer and marksman to kak-lsp

This commit is contained in:
Natsu Kagami 2024-07-15 21:24:50 +02:00
parent 0f2686f9a7
commit 8bd64fbe79
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 9 additions and 24 deletions

View file

@ -154,6 +154,7 @@ in
args = [ "--synctex-forward" "%l:1:%f" "%p" "-x" "${./kaktex} jump %%{input} %%{line} %%{column}" ];
});
};
package = pkgs.texlab;
};
programs.kak-lsp.languageServers.typst-lsp = {
command = "typst-lsp";
@ -168,6 +169,14 @@ in
command = "marksman";
filetypes = [ "markdown" ];
roots = [ ".marksman.toml" ".git" ];
package = pkgs.marksman;
};
programs.kak-lsp.languageServers.rust-analyzer = {
args = [ ];
command = "rust-analyzer";
filetypes = [ "rust" ];
roots = [ "Cargo.toml" ];
package = pkgs.rust-analyzer;
};
programs.my-kakoune.tree-sitter.extraAliases = {