fix(agda): tree-sitter compatibility with agda2-mode
Tree-sitter-lang recognized agda-mode, but not agda2-mode.
This commit is contained in:
parent
49f4ec3b10
commit
b66ccaeca0
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
||||||
:definition #'agda2-goto-definition-keyboard)
|
:definition #'agda2-goto-definition-keyboard)
|
||||||
|
|
||||||
(when (modulep! +tree-sitter)
|
(when (modulep! +tree-sitter)
|
||||||
|
(set-tree-sitter-lang! 'agda2-mode 'agda)
|
||||||
(add-hook! '(agda-mode-local-vars-hook
|
(add-hook! '(agda-mode-local-vars-hook
|
||||||
agda2-mode-local-vars-hook)
|
agda2-mode-local-vars-hook)
|
||||||
:append #'tree-sitter!))
|
:append #'tree-sitter!))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue