rename nil_ls to nil-ls and configure yamlls
This commit is contained in:
parent
7baad92d70
commit
93f9c7c715
1 changed files with 23 additions and 2 deletions
|
|
@ -7,15 +7,36 @@
|
||||||
servers = {
|
servers = {
|
||||||
html = {enable = true;};
|
html = {enable = true;};
|
||||||
lua-ls = {enable = true;};
|
lua-ls = {enable = true;};
|
||||||
nil_ls = {enable = true;};
|
nil-ls = {enable = true;};
|
||||||
marksman = {enable = true;};
|
marksman = {enable = true;};
|
||||||
pyright = {enable = true;};
|
pyright = {enable = true;};
|
||||||
gopls = {enable = true;};
|
gopls = {enable = true;};
|
||||||
terraformls = {enable = true;};
|
terraformls = {enable = true;};
|
||||||
tsserver = {enable = true;};
|
tsserver = {enable = true;};
|
||||||
ansiblels = {enable = true;};
|
ansiblels = {enable = true;};
|
||||||
yamlls = {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}',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
keymaps = {
|
keymaps = {
|
||||||
silent = true;
|
silent = true;
|
||||||
lspBuf = {
|
lspBuf = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue