From 11295dd921ead80a92bf10fc0e51b7145273bd91 Mon Sep 17 00:00:00 2001 From: Tobias Date: Fri, 25 Apr 2025 20:57:08 +0200 Subject: [PATCH] Adding Documents as folder for ansible LSP --- lua/default/lazy/lsp.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/default/lazy/lsp.lua b/lua/default/lazy/lsp.lua index 6b6ab61..25bb9a0 100644 --- a/lua/default/lazy/lsp.lua +++ b/lua/default/lazy/lsp.lua @@ -48,12 +48,12 @@ return { executionEnvironment = { enabled = false }, validation = { enabled = false, - -- lint = { enabled = true, path = 'ansible-lint' }, + lint = { enabled = true, path = 'ansible-lint' }, }, }, }, filetypes = { 'yaml', 'yml', 'ansible' }, - root_dir = lspconfig.util.root_pattern("roles", "playbooks"), + root_dir = lspconfig.util.root_pattern("roles", "playbooks", "Documents"), single_file_support = false, }) end, @@ -109,4 +109,4 @@ return { }, }) end -} \ No newline at end of file +}