1

Regenerate nvim config

This commit is contained in:
2024-06-02 03:29:20 +02:00
parent 75eea0c030
commit ef2e28883d
5576 changed files with 604886 additions and 503 deletions

View File

@ -0,0 +1,6 @@
; Surface folds similar to HTML and includes blocks
[
(tag)
(component)
(block)
] @fold

View File

@ -0,0 +1,44 @@
; Surface text is not highlighted
(text) @none
; Surface has two types of comments, both are highlighted as such
(comment) @comment @spell
; Surface attributes are highlighted as HTML attributes
(attribute_name) @tag.attribute
; Attributes are highlighted as strings
(quoted_attribute_value) @string
; Surface blocks are highlighted as keywords
[
(start_block)
(end_block)
(subblock)
] @keyword
; Surface supports HTML tags and are highlighted as such
[
"<"
">"
"</"
"/>"
"{"
"}"
"<!--"
"-->"
"{!--"
"--}"
] @tag.delimiter
; Surface tags are highlighted as HTML
(tag_name) @tag
; Surface components are highlighted as types (Elixir modules)
(component_name) @type
; Surface directives are highlighted as keywords
(directive_name) @keyword
; Surface operators
"=" @operator

View File

@ -0,0 +1,14 @@
; Surface indents like HTML, with the addition of blocks
[
(component)
(tag)
(block)
] @indent.begin
; Dedent at the end of each tag, as well as a subblock
[
(end_tag)
(end_component)
(end_block)
(subblock)
] @indent.branch

View File

@ -0,0 +1,10 @@
; Surface expressions and components are Elixir code
([
(expression_value)
(component_name)
] @injection.content
(#set! injection.language "elixir"))
; Surface comments are nvim-treesitter comments
((comment) @injection.content
(#set! injection.language "comment"))