aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaphael <glepnir@neovim.pro>2022-12-02 18:45:07 +0800
committerGitHub <noreply@github.com>2022-12-02 18:45:07 +0800
commit11c8aecb151ee1bb00fe7f5f0bb4c915c2d992ec (patch)
tree83ef561e2c246ffe7fdbc61edb4905db6b58afe8
parentdocs: update server_configurations.md (diff)
downloadnvim-lspconfig-11c8aecb151ee1bb00fe7f5f0bb4c915c2d992ec.tar
nvim-lspconfig-11c8aecb151ee1bb00fe7f5f0bb4c915c2d992ec.tar.gz
nvim-lspconfig-11c8aecb151ee1bb00fe7f5f0bb4c915c2d992ec.tar.bz2
nvim-lspconfig-11c8aecb151ee1bb00fe7f5f0bb4c915c2d992ec.tar.lz
nvim-lspconfig-11c8aecb151ee1bb00fe7f5f0bb4c915c2d992ec.tar.xz
nvim-lspconfig-11c8aecb151ee1bb00fe7f5f0bb4c915c2d992ec.tar.zst
nvim-lspconfig-11c8aecb151ee1bb00fe7f5f0bb4c915c2d992ec.zip
fix: update the ansiblels settings (#2284)
-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',
},
},
},