Skip to content

Commit

Permalink
tweak(treesit-auto): install XML grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jan 29, 2024
1 parent 4f7e4c1 commit a853a72
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/me-prog.el
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@
:remap 'nix-mode
:url "https://github.com/nix-community/tree-sitter-nix"
:ext "\\.nix\\'")
treesit-auto-recipe-list)
(push 'xml treesit-auto-langs)
(push (make-treesit-auto-recipe
:lang 'xml
:ts-mode 'xml-ts-mode
:remap '(nxml-mode xml-mode)
:url "https://github.com/ObserverOfTime/tree-sitter-xml"
:source-dir "tree-sitter-xml/src"
:ext "\\.xml\\'")
treesit-auto-recipe-list))

(use-package evil-textobj-tree-sitter
Expand Down

0 comments on commit a853a72

Please sign in to comment.