Beta (#4)
* remove doc/tags * use cmd instead of alias for clarity * use alias and proper checking of existing command installation * mason pkg name override * we still want to enforce local by default * remove unused on_attach since we have event to control it * fallback to using existing docker language servers * add yaml language server + remove table setup logging * write comment what symbol we expect * more notes * use mason-lspconfig for getting lsp->mason map and better utilities * use very lazy
This commit is contained in:
parent
115243d395
commit
2985d98684
7 changed files with 115 additions and 109 deletions
|
|
@ -105,6 +105,31 @@ local Languages = {
|
|||
alias = 'docker-compose-langserver',
|
||||
},
|
||||
},
|
||||
['yaml'] = {
|
||||
yamlls = {
|
||||
alias = 'yaml-language-server',
|
||||
settings = {
|
||||
yaml = {
|
||||
schemas = {
|
||||
extra = {
|
||||
-- kubernetes = 'k8s-*.yaml', -- TODO: consider using *.k8s.yaml for kubernetes schemas
|
||||
['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/prettierrc'] = '.prettierrc.{yml,yaml}',
|
||||
['http://json.schemastore.org/kustomization'] = 'kustomization.{yml,yaml}',
|
||||
['http://json.schemastore.org/chart'] = 'Chart.{yml,yaml}',
|
||||
['http://json.schemastore.org/circleciconfig'] = '.circleci/**/*.{yml,yaml}',
|
||||
},
|
||||
},
|
||||
format = {
|
||||
enable = true,
|
||||
},
|
||||
redhat = { telemetry = { enabled = false } },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
['lua'] = {
|
||||
lua_ls = {
|
||||
-- cmd = {...},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue