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

@ -8,3 +8,8 @@
(sigil_start) @_start
(sigil_content) @regex)
(#match? @_start "~(r|R)[/</\\\"[({|]"))
((sigil
(sigil_start) @_start
(sigil_content) @surface)
(#eq? @_start "~F\"\"\""))