mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 01:10:02 -04:00
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
This commit is contained in:
parent
b2ce0800cf
commit
363ac62e23
9 changed files with 93 additions and 0 deletions
5
queries/surface/folds.scm
Normal file
5
queries/surface/folds.scm
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
; Surface folds similar to HTML and includes blocks
|
||||
[
|
||||
(tag)
|
||||
(block)
|
||||
] @fold
|
||||
Loading…
Add table
Add a link
Reference in a new issue