mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -04:00
* feat(perl): highlight hash keys as @variable.member in various contexts
also, injections for s///e should fully re-parse
This commit is contained in:
parent
98a3fdd5d9
commit
f09a2215b8
2 changed files with 49 additions and 33 deletions
|
|
@ -11,4 +11,5 @@
|
|||
; 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"))
|
||||
(#set! injection.language "perl")
|
||||
(#set! injection.include-children))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue