Update toml for emacs29.

This commit is contained in:
Tom Alexander 2023-05-27 18:07:14 -04:00
parent 3f1c45ac0a
commit e3a1e69fb5
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -50,4 +50,17 @@
: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)