Skip to content

Commit 5c4bf23

Browse files
authored
Adds qml to lsp-language-id-configuration (#4918)
* Add qml to `lsp-language-id-configuration` * Updates CHANGELOG.org
1 parent 4fbe93f commit 5c4bf23

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.org

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
* Fix bug where persist was attempted when lsp-session-file is nil
5151
* Debugging tests in Rust no longer runs all the tests prior to launching debug session.
5252
* Add [[https://devenv.sh/][devenv]] and [[https://jj-vcs.github.io/jj/latest/][jj]] directories to the list of ignored directories (~lsp-file-watch-ignored-directories~)
53+
* Fix bug where qmlls failed to load due to qml not being in ~lsp-language-id-configuration~
5354

5455
** 9.0.0
5556
* Add language server config for QML (Qt Modeling Language) using qmlls.

lsp-mode.el

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,7 @@ Changes take effect only when a new session is started."
810810
("\\.nu$" . "nushell")
811811
("\\.php$" . "php")
812812
("\\.ps[dm]?1\\'" . "powershell")
813+
("\\.qml$" . "qml")
813814
("\\.rs\\'" . "rust")
814815
("\\.spec\\'" . "rpm-spec")
815816
("\\.sql$" . "sql")
@@ -1016,7 +1017,9 @@ Changes take effect only when a new session is started."
10161017
(message-mode . "plaintext")
10171018
(mu4e-compose-mode . "plaintext")
10181019
(odin-mode . "odin")
1019-
(odin-ts-mode . "odin"))
1020+
(odin-ts-mode . "odin")
1021+
(qml-mode . "qml")
1022+
(qml-ts-mode . "qml"))
10201023
"Language id configuration.")
10211024

10221025
(defvar lsp--last-active-workspaces nil

0 commit comments

Comments
 (0)