QML Update

This commit is contained in:
Aleksandr Lebedev 2025-08-17 22:57:39 +02:00
parent 7597b1420f
commit 3e46834dbc
2 changed files with 11 additions and 2 deletions

View file

@ -1708,6 +1708,14 @@ Made from [[https://github.com/lite-xl/lite-xl-plugins/blob/master/plugins/langu
(provide 'lobster-mode) (provide 'lobster-mode)
#+end_src #+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 * Nerd Icons
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package nerd-icons (use-package nerd-icons

View file

@ -90,8 +90,8 @@
++ (with epkgs; [ ++ (with epkgs; [
tree-sitter tree-sitter
tree-sitter-langs tree-sitter-langs
inputs.qml-nix.packages.${pkgs.system}.tree-sitter-qmljs inputs.qml-nix.packages.${pkgs.system}.tree-sitter-qmljs
inputs.qml-nix.packages.${pkgs.system}.qml-ts-mode inputs.qml-nix.packages.${pkgs.system}.qml-ts-mode
treesit-grammars.with-all-grammars treesit-grammars.with-all-grammars
el-easydraw el-easydraw
]) ])
@ -102,6 +102,7 @@
nixd nixd
alejandra alejandra
ty ty
kdePackages.qtdeclarative #qmlls
]); ]);
# Optionally override derivations. # Optionally override derivations.