Files
dotfiles/nvim/after/lsp/ansiblels.lua
FaultyBranches 089ba53e8b feat: Adding LSP configs for ansiblels, arduino_language_server,
marksman. Adding documentation for LSP configs. Removing Mason config
and the reference to nvim-lspconfig.
2026-08-18 19:55:33 -05:00

26 lines
646 B
Lua

return {
cmd = { 'ansible-language-server', '--stdio' },
settings = {
ansible = {
python = {
interpreterPath = 'python',
},
ansible = {
path = 'ansible',
},
executionEnvironment = {
enabled = false,
},
validation = {
enabled = true,
lint = {
enabled = true,
path = 'ansible-lint',
},
},
},
},
filetypes = { 'yaml.ansible' },
root_markers = { 'ansible.cfg', '.ansible-lint' },
}