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 | CI: don't require to have parsers installed to check for injections (diff) | |
| download | nvim-treesitter-6944173e8778795863eda56a3bd2f98efdd82c10.tar nvim-treesitter-6944173e8778795863eda56a3bd2f98efdd82c10.tar.gz nvim-treesitter-6944173e8778795863eda56a3bd2f98efdd82c10.tar.bz2 nvim-treesitter-6944173e8778795863eda56a3bd2f98efdd82c10.tar.lz nvim-treesitter-6944173e8778795863eda56a3bd2f98efdd82c10.tar.xz nvim-treesitter-6944173e8778795863eda56a3bd2f98efdd82c10.tar.zst nvim-treesitter-6944173e8778795863eda56a3bd2f98efdd82c10.zip | |
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 000000000..b06597ce2 --- /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 000000000..6fb2a69be --- /dev/null +++ b/ftdetect/surface.vim @@ -0,0 +1 @@ +au BufRead,BufNewFile *.sface set filetype=surface |
