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

@ -35,24 +35,6 @@ let
roots = [ "Setup.hs" "stack.yaml" "*.cabal" "package.yaml" ];
settings_section = "haskell";
};
texlab = {
command = "texlab";
filetypes = [ "latex" ];
roots = [ ".git" "main.tex" "all.tex" ];
settings_section = "texlab";
settings.texlab = {
build.executable = "latexmk";
build.args = [ "-pdf" "-shell-escape" "-interaction=nonstopmode" "-synctex=1" "%f" ];
build.forwardSearchAfter = true;
build.onSave = true;
forwardSearch = {
executable = "/Applications/Skim.app/Contents/SharedSupport/displayline";
args = [ "-r" "-g" "%l" "%p" "%f" ];
};
};
};
nil = {
command = "${pkgs.nil}/bin/nil";
filetypes = [ "nix" ];
@ -67,12 +49,6 @@ let
offset_encoding = "utf-8";
roots = [ "requirements.txt" "setup.py" ".git" ".hg" ];
};
rust-analyzer = {
args = [ ];
command = "rust-analyzer";
filetypes = [ "rust" ];
roots = [ "Cargo.toml" ];
};
};
semantic_tokens.faces = [
## Items