From 3e46834dbc5961f926b2ee9e738660dea454964e Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Sun, 17 Aug 2025 22:57:39 +0200 Subject: [PATCH] QML Update --- config.org | 8 ++++++++ packages/nixmacs/default.nix | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/config.org b/config.org index 810d67d..7ae5163 100644 --- a/config.org +++ b/config.org @@ -1708,6 +1708,14 @@ Made from [[https://github.com/lite-xl/lite-xl-plugins/blob/master/plugins/langu (provide 'lobster-mode) #+end_src +*** QML +#+begin_src emacs-lisp + (with-eval-after-load 'eglot + (add-to-list 'eglot-server-programs + '(qml-ts-mode + . ("qmlls"))) + (add-hook 'qml-ts-mode-hook #'eglot-ensure)) +#+end_src * Nerd Icons #+begin_src emacs-lisp (use-package nerd-icons diff --git a/packages/nixmacs/default.nix b/packages/nixmacs/default.nix index 57f359c..177c4b2 100644 --- a/packages/nixmacs/default.nix +++ b/packages/nixmacs/default.nix @@ -90,8 +90,8 @@ ++ (with epkgs; [ tree-sitter tree-sitter-langs - inputs.qml-nix.packages.${pkgs.system}.tree-sitter-qmljs - inputs.qml-nix.packages.${pkgs.system}.qml-ts-mode + inputs.qml-nix.packages.${pkgs.system}.tree-sitter-qmljs + inputs.qml-nix.packages.${pkgs.system}.qml-ts-mode treesit-grammars.with-all-grammars el-easydraw ]) @@ -102,6 +102,7 @@ nixd alejandra ty + kdePackages.qtdeclarative #qmlls ]); # Optionally override derivations.