Skip to content

Commit 2ea3fdc

Browse files
committedDec 17, 2024··
fix(language/toml): fix toml setup hook function name
1 parent 45c41b3 commit 2ea3fdc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
 

‎modules/languages/siren-lua.el

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
;; syntax highlighting as you type. Essentially all new text is a very faded
6565
;; out grey color for the first 1-2 seconds as you type.
6666
(setq-local lsp-semantic-tokens-enable nil)
67+
6768
(lsp-format-buffer-on-save-mode t)
6869
(lsp-deferred)))
6970

‎modules/languages/siren-toml.el

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@
3939
(use-package lsp-toml
4040
:straight lsp-mode
4141
:hook
42-
(conf-toml-mode . siren-lsp-lua-mode-setup)
43-
(toml-ts-mode . siren-lsp-lua-mode-setup)
42+
(conf-toml-mode . siren-lsp-toml-mode-setup)
43+
(toml-ts-mode . siren-lsp-toml-mode-setup)
4444

4545
:preface
46-
(defun siren-lsp-lua-mode-setup ()
46+
(defun siren-lsp-toml-mode-setup ()
4747
;; Disable semantic tokens as it typically causes an annoying delay with the
4848
;; syntax highlighting as you type. Essentially all new text is a very faded
4949
;; out grey color for the first 1-2 seconds as you type.

0 commit comments

Comments
 (0)
Please sign in to comment.