1

Update generated neovim config

This commit is contained in:
2024-08-15 14:28:54 +02:00
parent 07409c223d
commit 25cfcf2941
3809 changed files with 351157 additions and 0 deletions

View File

@ -0,0 +1,7 @@
[
(macro)
(memory_execution)
(subroutine)
(comment)
] @fold

View File

@ -0,0 +1,84 @@
; Includes
(include
"~" @include
_ @text.uri @string.special)
; Variables
(identifier) @variable
; Macros
(macro
"%"
(identifier) @function.macro)
((identifier) @function.macro
(#lua-match? @function.macro "^[a-z]?[0-9]*[A-Z-_]+$"))
(rune
. rune_start: (rune_char ",")
. (identifier) @function.call)
(rune
. rune_start: (rune_char ";")
. (identifier) @function.call)
((identifier) @function.call
(#lua-match? @function.call "^:"))
; Keywords
(opcode) @keyword
; Labels
(label
"@" @symbol
(identifier) @function)
(sublabel_reference
(identifier) @namespace
"/" @punctuation.delimiter
(identifier) @label)
; Repeats
((identifier) @repeat
(#eq? @repeat "while"))
; Literals
(raw_ascii) @string
(hex_literal
"#" @symbol
(hex_lit_value) @string.special)
(number) @number
; Punctuation
[ "{" "}" ] @punctuation.bracket
[ "[" "]" ] @punctuation.bracket
[
"%"
"|"
"$"
","
"_"
"."
"-"
";"
"="
"!"
"?"
"&"
] @punctuation.special
; Comments
(comment) @comment @spell

View File

@ -0,0 +1,17 @@
(memory_execution) @auto
[
(subroutine)
(brackets)
] @indent
"}" @indent_end
[ "{" "}" ] @branch
[ "[" "]" ] @branch
[
(ERROR)
(comment)
] @auto

View File

@ -0,0 +1 @@
(comment) @comment

View File

@ -0,0 +1,22 @@
; Scopes
[
(program)
(macro)
(memory_execution)
(subroutine)
] @scope
; References
(identifier) @reference
; Definitions
(label
"@"
. (identifier) @definition.function)
(macro
"%"
. (identifier) @definition.macro)