Adding Documents as folder for ansible LSP

This commit is contained in:
Tobias 2025-04-25 20:57:08 +02:00
parent 4ed0900c2b
commit 11295dd921

View File

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