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
This commit is contained in:
Connor Lay (Clay) 2021-08-01 13:09:41 -06:00 committed by Stephan Seitz
parent b2ce0800cf
commit 363ac62e23
9 changed files with 93 additions and 0 deletions

View file

@ -0,0 +1,12 @@
; 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