1

Refresh generated neovim config

This commit is contained in:
2024-08-15 13:01:03 +02:00
parent 64b51cf53a
commit f5af8e2b28
1836 changed files with 38979 additions and 31094 deletions

View File

@ -12,7 +12,7 @@
name: (identifier) @variable)
(field_definition
name: (identifier) @property)
name: (identifier) @variable.member)
(negated_field
"!" @operator
@ -63,6 +63,15 @@
((comment) @keyword.directive @nospell
(#lua-match? @keyword.directive "^;+%s*format%-ignore%s*$"))
((predicate
name: (identifier) @_name
parameters: (parameters
.
(capture)?
.
(identifier) @property))
(#eq? @_name "set"))
((predicate
name: (identifier) @_name
parameters: (parameters

View File

@ -12,7 +12,12 @@
"]" @indent.branch @indent.end
")" @indent.end
[
")"
"?"
"*"
"+"
] @indent.end
; Captures always mark the end of a node
; Because of that, mark it as indent.end

View File

@ -1,28 +1,28 @@
((predicate
name: (identifier) @_name
parameters: (parameters
(string) @injection.content))
(string
(string_content) @injection.content)))
(#any-of? @_name "match" "not-match" "any-match" "vim-match" "not-vim-match" "any-vim-match")
(#set! injection.language "regex")
(#offset! @injection.content 0 1 0 -1))
(#set! injection.language "regex"))
((predicate
name: (identifier) @_name
parameters: (parameters
(string) @injection.content))
(string
(string_content) @injection.content)))
(#any-of? @_name "lua-match" "not-lua-match" "any-lua-match")
(#set! injection.language "luap")
(#offset! @injection.content 0 1 0 -1))
(#set! injection.language "luap"))
((predicate
name: (identifier) @_name
parameters: (parameters
(string) @injection.content
(string
(string_content) @injection.content)
.
(string) .))
(#any-of? @_name "gsub" "not-gsub")
(#set! injection.language "luap")
(#offset! @injection.content 0 1 0 -1))
(#set! injection.language "luap"))
((comment) @injection.content
(#set! injection.language "comment"))