aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/plugins')
-rw-r--r--nvim/lua/plugins/lsp.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua
index 46892b5..e0ad450 100644
--- a/nvim/lua/plugins/lsp.lua
+++ b/nvim/lua/plugins/lsp.lua
@@ -93,7 +93,22 @@ return {
93 }, 93 },
94 } 94 }
95 95
96 vim.lsp.config.ansiblels = {
97 filetypes = { "yaml.ansible" }, -- Erkennung: siehe config.filetypes
98 settings = {
99 ansible = {
100 validation = {
101 lint = {
102 enabled = true,
103 path = "ansible-lint",
104 },
105 },
106 },
107 },
108 }
109
96 vim.lsp.enable({ 110 vim.lsp.enable({
111 "ansiblels", -- npm install -g @ansible/ansible-language-server & (brew install ansible-lint, pkg install sysutils/py-ansible-lint)
97 "basedpyright", -- npm install -g basedpyright, brew install basedpyright 112 "basedpyright", -- npm install -g basedpyright, brew install basedpyright
98 "bashls", -- npm install -g bash-language-server, pkg install hs-ShellCheck 113 "bashls", -- npm install -g bash-language-server, pkg install hs-ShellCheck
99 "clangd", -- pkg install llvm 114 "clangd", -- pkg install llvm