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,70 @@
; Allow OCaml highlighter
(ocaml) @none
; Regular expressions
(regexp_name) @variable
[
(eof)
(any)
] @constant
(character) @character
(string) @string
(escape_sequence) @string.escape
(character_set
"^" @punctuation.special)
(character_range
"-" @punctuation.delimiter)
(regexp_difference
"#" @operator)
(regexp_repetition
[
"?"
"*"
"+"
] @operator)
(regexp_alternative
"|" @operator)
; Rules
(lexer_entry_name) @function
(lexer_argument) @variable.parameter
(lexer_entry
[
"="
"|"
] @punctuation.delimiter)
; keywords
[
"and"
"as"
"let"
"parse"
"refill"
"rule"
"shortest"
] @keyword
; Punctuation
[
"["
"]"
"("
")"
"{"
"}"
] @punctuation.bracket
; Misc
(comment) @comment @spell

View File

@ -0,0 +1,5 @@
((ocaml) @injection.content
(#set! injection.language "ocaml"))
((comment) @injection.content
(#set! injection.language "comment"))