nvim-treesitter/queries/surface/injections.scm
Connor Lay (Clay) 6944173e87
Feature: Add Surface language and integrate with Elixir (#1645)
* 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
2021-08-01 19:09:41 +00:00

8 lines
173 B
Scheme

; Surface expressions and components are Elixir code
[
(expression_value)
(component_name)
] @elixir
; Surface comments are nvim-treesitter comments
(comment) @comment