You've already forked dotfiles
marksman. Adding documentation for LSP configs. Removing Mason config and the reference to nvim-lspconfig.
26 lines
646 B
Lua
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' },
|
|
}
|