From 11c8aecb151ee1bb00fe7f5f0bb4c915c2d992ec Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 2 Dec 2022 18:45:07 +0800 Subject: fix: update the ansiblels settings (#2284) --- lua/lspconfig/server_configurations/ansiblels.lua | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'lua') 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', }, }, }, -- cgit v1.2.3-70-g09d2