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 /lua/nvim-treesitter/parsers.lua | |
| 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 'lua/nvim-treesitter/parsers.lua')
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 2fa20fd7..afe02f70 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -261,6 +261,16 @@ list.elixir = { maintainers = { "@nifoc" }, } +list.surface = { + install_info = { + url = "https://github.com/connorlay/tree-sitter-surface", + files = { "src/parser.c" }, + branch = "main", + }, + filetype = "sface", + maintainers = { "@connorlay" }, +} + list.ocaml = { install_info = { url = "https://github.com/tree-sitter/tree-sitter-ocaml", |
