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 +}