aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorConnor Lay (Clay) <connorlay@users.noreply.github.com>2021-08-01 13:09:41 -0600
committerGitHub <noreply@github.com>2021-08-01 19:09:41 +0000
commit6944173e8778795863eda56a3bd2f98efdd82c10 (patch)
treef8e5dc111b93c3e7f845c8374f39aba51c41d8cf /lua
parentCI: don't require to have parsers installed to check for injections (diff)
downloadnvim-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 'lua')
-rw-r--r--lua/nvim-treesitter/parsers.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua
index 2fa20fd79..afe02f708 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",