aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/server_configurations/ansiblels.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lspconfig/server_configurations/ansiblels.lua')
-rw-r--r--lua/lspconfig/server_configurations/ansiblels.lua23
1 files changed, 12 insertions, 11 deletions
diff --git a/lua/lspconfig/server_configurations/ansiblels.lua b/lua/lspconfig/server_configurations/ansiblels.lua
index b4bb3242..650e2d91 100644
--- a/lua/lspconfig/server_configurations/ansiblels.lua
+++ b/lua/lspconfig/server_configurations/ansiblels.lua
@@ -11,19 +11,20 @@ return {
default_config = {
cmd = cmd,
settings = {
+ python = {
+ interpreterPath = 'python',
+ },
ansible = {
- python = {
- interpreterPath = 'python',
- },
- ansibleLint = {
- path = 'ansible-lint',
+ path = 'ansible',
+ },
+ executionEnvironment = {
+ enabled = false,
+ },
+ validation = {
+ enabled = true,
+ lint = {
enabled = true,
- },
- ansible = {
- path = 'ansible',
- },
- executionEnvironment = {
- enabled = false,
+ path = 'ansible-lint',
},
},
},