mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 12:30:01 -04:00
* Add initial surface highlights & injections * Additional surface highlights * Filetype detection, fix injections * Fix Elixir function highlight when left is an identifier * Add surface parser * Fix comment highlights * Surface folds, indents, better highlights * Highlight surface components & directives * Restore comments Elixir injections
15 lines
296 B
Scheme
15 lines
296 B
Scheme
(comment) @comment
|
|
|
|
; TODO: re-add when markdown is added
|
|
; (heredoc
|
|
; (heredoc_content) @markdown)
|
|
|
|
((sigil
|
|
(sigil_start) @_start
|
|
(sigil_content) @regex)
|
|
(#match? @_start "~(r|R)[/</\\\"[({|]"))
|
|
|
|
((sigil
|
|
(sigil_start) @_start
|
|
(sigil_content) @surface)
|
|
(#eq? @_start "~F\"\"\""))
|