cleaned up and improved lsp config
This commit is contained in:
parent
f793853c27
commit
489d2fc47e
1 changed files with 3 additions and 26 deletions
|
@ -4,42 +4,19 @@
|
|||
plugins = {
|
||||
lsp-lines = {enable = true;};
|
||||
lsp-format = {enable = true;};
|
||||
helm = {enable = true;};
|
||||
lsp = {
|
||||
enable = true;
|
||||
inlayHints = true;
|
||||
servers = {
|
||||
clangd = {enable = true;};
|
||||
html = {enable = true;};
|
||||
lua-ls = {enable = true;};
|
||||
nil-ls = {enable = true;};
|
||||
marksman = {enable = true;};
|
||||
nixd = {enable = true;};
|
||||
pyright = {enable = true;};
|
||||
gopls = {enable = true;};
|
||||
terraformls = {enable = true;};
|
||||
ansiblels = {enable = true;};
|
||||
jsonls = {enable = true;};
|
||||
yamlls = {
|
||||
enable = true;
|
||||
extraOptions = {
|
||||
settings = {
|
||||
yaml = {
|
||||
schemas = {
|
||||
kubernetes = "'*.yaml";
|
||||
"http://json.schemastore.org/github-workflow" = ".github/workflows/*";
|
||||
"http://json.schemastore.org/github-action" = ".github/action.{yml,yaml}";
|
||||
"http://json.schemastore.org/ansible-stable-2.9" = "roles/tasks/*.{yml,yaml}";
|
||||
"http://json.schemastore.org/kustomization" = "kustomization.{yml,yaml}";
|
||||
"http://json.schemastore.org/ansible-playbook" = "*play*.{yml,yaml}";
|
||||
"http://json.schemastore.org/chart" = "Chart.{yml,yaml}";
|
||||
"https://json.schemastore.org/dependabot-v2" = ".github/dependabot.{yml,yaml}";
|
||||
"https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json" = "*docker-compose*.{yml,yaml}";
|
||||
"https://raw.githubusercontent.com/argoproj/argo-workflows/master/api/jsonschema/schema.json" = "*flow*.{yml,yaml}";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
rust-analyzer = {enable = true;};
|
||||
yamlls = {enable = true;};
|
||||
};
|
||||
|
||||
keymaps = {
|
||||
|
|
Loading…
Add table
Reference in a new issue