diff options
| author | Connor Lay (Clay) <connorlay@users.noreply.github.com> | 2021-08-01 13:09:41 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-01 19:09:41 +0000 |
| commit | 6944173e8778795863eda56a3bd2f98efdd82c10 (patch) | |
| tree | f8e5dc111b93c3e7f845c8374f39aba51c41d8cf /ftdetect | |
| parent | 8ab1a5e5f7087c4ed49c42e8d14ecb9d91d58363 (diff) | |
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
Diffstat (limited to 'ftdetect')
| -rw-r--r-- | ftdetect/elixir.vim | 2 | ||||
| -rw-r--r-- | ftdetect/surface.vim | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ftdetect/elixir.vim b/ftdetect/elixir.vim new file mode 100644 index 00000000..b06597ce --- /dev/null +++ b/ftdetect/elixir.vim @@ -0,0 +1,2 @@ +au BufRead,BufNewFile *.ex,*.exs,mix.lock set filetype=elixir +au BufRead,BufNewFile *.eex,*.leex,*.heex set filetype=eelixir diff --git a/ftdetect/surface.vim b/ftdetect/surface.vim new file mode 100644 index 00000000..6fb2a69b --- /dev/null +++ b/ftdetect/surface.vim @@ -0,0 +1 @@ +au BufRead,BufNewFile *.sface set filetype=surface |
