quickshell stuff

This commit is contained in:
zastian@mrthoddata.com
2025-06-13 15:50:24 +01:00
parent 5897ff3410
commit 8d618a8ae3
8 changed files with 88 additions and 11 deletions

View File

@@ -231,6 +231,17 @@
:chat-model "codellama:13b"
:embedding-model "codellama:13b"))
)
(use-package qml-ts-mode
:after lsp-mode
:config
(add-to-list 'lsp-language-id-configuration '(qml-ts-mode . "qml-ts"))
(lsp-register-client
(make-lsp-client :new-connection (lsp-stdio-connection '("qmlls", "-E"))
:activation-fn (lsp-activate-on "qml-ts")
:server-id 'qmlls))
(add-hook 'qml-ts-mode-hook (lambda ()
(setq-local electric-indent-chars '(?\n ?\( ?\) ?{ ?} ?\[ ?\] ?\; ?,))
(lsp-deferred))))
;; custom functions