neovim: add cssls
This commit is contained in:
parent
33c226e119
commit
cb87dd9997
1 changed files with 17 additions and 6 deletions
|
@ -14,7 +14,9 @@ let inherit (lib.nix2lua) call; in
|
|||
};
|
||||
|
||||
plugins.language-server.lspconfig.serverSettings = {
|
||||
# nix
|
||||
nil_ls = { };
|
||||
# rust
|
||||
rust_analyzer = {
|
||||
settings.rust-analyzer = {
|
||||
"server.path" = "rust-analyzer";
|
||||
|
@ -25,6 +27,7 @@ let inherit (lib.nix2lua) call; in
|
|||
"cargo.autoreload" = true;
|
||||
};
|
||||
};
|
||||
# linter for javascript, typescript, vue
|
||||
eslint = {
|
||||
on_attach = config.fn.lspconfig-eslint-on-attach.lambda;
|
||||
flags = {
|
||||
|
@ -32,21 +35,29 @@ let inherit (lib.nix2lua) call; in
|
|||
debounce_text_changes = 1000;
|
||||
};
|
||||
};
|
||||
# vue
|
||||
volar = {
|
||||
init_options = {
|
||||
typescript.tsdk = "./node_modules/typescript/lib";
|
||||
};
|
||||
};
|
||||
# python
|
||||
pylsp = { };
|
||||
# typescript, javascript
|
||||
denols = {
|
||||
root_dir = call "${config.plugin.nvim-lspconfig.varName}.util.root_pattern" [ "deno.json" "deno.jsonc" ];
|
||||
};
|
||||
# java
|
||||
jdtls = { cmd = [ "jdtls" ]; };
|
||||
# json
|
||||
jsonls = { };
|
||||
# css, scss, less
|
||||
cssls = {};
|
||||
# Grammar/Spell Checker
|
||||
ltex = {
|
||||
language = "en-US";
|
||||
languageToolHttpServerUri = "http://localhost:8081";
|
||||
};
|
||||
pylsp = { };
|
||||
denols = {
|
||||
root_dir = call "${config.plugin.nvim-lspconfig.varName}.util.root_pattern" [ "deno.json" "deno.jsonc" ];
|
||||
};
|
||||
jdtls = { cmd = [ "jdtls" ]; };
|
||||
jsonls = { };
|
||||
};
|
||||
|
||||
plugins.language-server.typescript-tools = {
|
||||
|
|
Loading…
Reference in a new issue