feat(perl)!: switch to tree-sitter-perl org's parser

This commit is contained in:
Veesh Goldman 2023-10-17 19:32:09 +00:00 committed by Amaan Qureshi
parent 7c67a1a923
commit bb3f8f40b1
5 changed files with 156 additions and 187 deletions

View file

@ -1,2 +1,14 @@
((comments) @injection.content
; an injections.scm file for nvim-treesitter
((comment) @injection.content
(#set! injection.language "comment"))
((pod) @injection.content
(#set! injection.language "pod"))
((substitution_regexp
(replacement) @injection.content
(substitution_regexp_modifiers) @_modifiers)
; match if there's a single `e` in the modifiers list
(#lua-match? @_modifiers "e")
(#not-lua-match? @_modifiers "e.*e")
(#set! injection.language "perl"))