From 6944173e8778795863eda56a3bd2f98efdd82c10 Mon Sep 17 00:00:00 2001 From: "Connor Lay (Clay)" Date: Sun, 1 Aug 2021 13:09:41 -0600 Subject: 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 --- lua/nvim-treesitter/parsers.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lua') 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", -- cgit v1.2.3-70-g09d2