fix(agda): tree-sitter compatibility with agda2-mode

Tree-sitter-lang recognized agda-mode, but not agda2-mode.
This commit is contained in:
Henrik Lissner 2022-09-10 15:01:11 +02:00
parent 49f4ec3b10
commit b66ccaeca0
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -12,6 +12,7 @@
:definition #'agda2-goto-definition-keyboard)
(when (modulep! +tree-sitter)
(set-tree-sitter-lang! 'agda2-mode 'agda)
(add-hook! '(agda-mode-local-vars-hook
agda2-mode-local-vars-hook)
:append #'tree-sitter!))