nvim-treesitter/queries/surface/indents.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

12 lines
195 B
Scheme

; Surface indents like HTML, with the addition of blocks
[
(tag)
(block)
] @indent
; Dedent at the end of each tag, as well as a subblock
[
(end_tag)
(end_block)
(subblock)
] @branch