mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 13:00:08 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
15
runtime/queries/eex/highlights.scm
Normal file
15
runtime/queries/eex/highlights.scm
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[
|
||||
"%>"
|
||||
"--%>"
|
||||
"<%!--"
|
||||
"<%"
|
||||
"<%#"
|
||||
"<%%="
|
||||
"<%="
|
||||
] @tag.delimiter
|
||||
|
||||
; EEx comments are highlighted as such
|
||||
(comment) @comment
|
||||
|
||||
; Tree-sitter parser errors
|
||||
(ERROR) @error
|
||||
8
runtime/queries/eex/injections.scm
Normal file
8
runtime/queries/eex/injections.scm
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
; EEx expressions are Elixir
|
||||
((expression) @injection.content
|
||||
(#set! injection.language "elixir"))
|
||||
|
||||
; EEx expressions can span multiple interpolated lines
|
||||
((partial_expression) @injection.content
|
||||
(#set! injection.language "elixir")
|
||||
(#set! injection.combined))
|
||||
Loading…
Add table
Add a link
Reference in a new issue