diff --git a/modules/coding/editor/neovim/nvim/lua/plugins/lsp/lspconfig.lua b/modules/coding/editor/neovim/nvim/lua/plugins/lsp/lspconfig.lua index 8202573..e6b860d 100644 --- a/modules/coding/editor/neovim/nvim/lua/plugins/lsp/lspconfig.lua +++ b/modules/coding/editor/neovim/nvim/lua/plugins/lsp/lspconfig.lua @@ -62,6 +62,9 @@ local extra_config = { }, }, }, + qmlls = { + cmd = {"qmlls", "-E"} + } } local capabilities = require("cmp_nvim_lsp").default_capabilities() diff --git a/modules/coding/langs/all.nix b/modules/coding/langs/all.nix index 67f85f8..f978163 100644 --- a/modules/coding/langs/all.nix +++ b/modules/coding/langs/all.nix @@ -15,6 +15,7 @@ lib.my.makeSwitch { python.enable = true; rust.enable = true; lua.enable = true; + qml.enable = true; }; }; } diff --git a/modules/coding/langs/qml.nix b/modules/coding/langs/qml.nix new file mode 100644 index 0000000..0c482b6 --- /dev/null +++ b/modules/coding/langs/qml.nix @@ -0,0 +1,20 @@ +{ + config, + lib, + pkgs, + ... +}: +lib.my.makeSwitch { + inherit config; + optionName = "QML"; + optionPath = [ + "coding" + "langs" + "qml" + ]; + config' = { + my.home.home.packages = with pkgs; [ + kdePackages.qtdeclarative + ]; + }; +}