fix(nvim): add root_dir detection for qmlls

This commit is contained in:
matt1432 2025-04-26 16:52:32 -04:00
parent 4f002d00b0
commit c4299767d8
2 changed files with 2 additions and 0 deletions
devShells/quickshell
homeManagerModules/neovim/langs/qml

View file

@ -8,6 +8,7 @@
mkShell {
packages = [
quickshell
kdePackages.qtdeclarative
];
shellHook = ''

View file

@ -35,6 +35,7 @@ in {
lsp.qmlls.setup({
cmd = { 'qmlls', '-E' },
root_dir = lsp.util.root_pattern('*.qml', '.git'),
capabilities = default_capabilities,
autostart = false,
});