Update toml for emacs29.
This commit is contained in:
parent
3f1c45ac0a
commit
e3a1e69fb5
@ -50,4 +50,17 @@
|
|||||||
:hook (rust-ts-mode . cargo-minor-mode))
|
:hook (rust-ts-mode . cargo-minor-mode))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(use-package toml-ts-mode
|
||||||
|
:ensure nil
|
||||||
|
:pin manual
|
||||||
|
:mode (
|
||||||
|
("\\.toml\\'" . toml-ts-mode)
|
||||||
|
)
|
||||||
|
:commands (toml-ts-mode)
|
||||||
|
:init
|
||||||
|
(add-to-list 'treesit-language-source-alist '(toml "https://github.com/tree-sitter/tree-sitter-toml"))
|
||||||
|
(unless (treesit-ready-p 'toml) (treesit-install-language-grammar 'toml))
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
(provide 'lang-rust)
|
(provide 'lang-rust)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user