mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-03-12 01:31:59 -07:00
fix(yaml): +tree-sitter: use 0.7.2 grammar when ABI==15
0.7.0 (where the old commit pointed to) is for ABI==14.
This commit is contained in:
parent
d771e24efa
commit
379d7d7147
1 changed files with 2 additions and 2 deletions
|
|
@ -13,8 +13,8 @@
|
|||
:defer t
|
||||
:init
|
||||
(set-tree-sitter! 'yaml-mode 'yaml-ts-mode
|
||||
'((yaml :url "https://github.com/tree-sitter-grammars/tree-sitter-yaml"
|
||||
:commit "b733d3f5f5005890f324333dd57e1f0badec5c87")))
|
||||
`((yaml :url "https://github.com/tree-sitter-grammars/tree-sitter-yaml"
|
||||
:rev ,(if (< (treesit-library-abi-version) 15) "v0.7.2" "v0.7.0"))))
|
||||
:config
|
||||
(when (modulep! +lsp)
|
||||
(add-hook 'yaml-ts-mode-local-vars-hook #'lsp! 'append)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue