1

Update generated neovim config

This commit is contained in:
2024-09-22 20:41:25 +02:00
parent 1743764e48
commit aa1271c42c
1247 changed files with 26512 additions and 15067 deletions

View File

@ -69,8 +69,8 @@ function! s:Guess(source, detected, lines) abort
let waiting_on = '\*/'
elseif line =~# '^\s*<\!--' && line !~# '-->'
let waiting_on = '-->'
elseif line =~# '^[^"]*"""[^"]*$'
let waiting_on = '^[^"]*"""[^"]*$'
elseif line =~# '^[^"]*"""'
let waiting_on = '^[^"]*"""'
elseif a:detected.filetype ==# 'go' && line =~# '^[^`]*`[^`]*$'
let waiting_on = '^[^`]*`[^`]*$'
elseif has_heredocs
@ -212,7 +212,14 @@ function! s:FnmatchReplace(pat) abort
elseif a:pat =~# '^{[+-]\=\d\+\.\.[+-]\=\d\+}$'
return '\%(' . join(range(matchstr(a:pat, '[+-]\=\d\+'), matchstr(a:pat, '\.\.\zs[+-]\=\d\+')), '\|') . '\)'
elseif a:pat =~# '^{.*\\\@<!\%(\\\\\)*,.*}$'
return '\%(' . substitute(a:pat[1:-2], ',\|\%(\\.\|{[^\{}]*}\|[^,]\)*', '\=submatch(0) ==# "," ? "\\|" : s:FnmatchTranslate(submatch(0))', 'g') . '\)'
let done = []
let rest = ',' . a:pat
while !empty(rest)
let match = matchstr(done, '\%(\\.\|{[^\{}]*}\|[^,]\)*', 1)
let rest = strpart(rest, len(match) + 1)
call add(done, s:FnmatchTranslate(match))
endwhile
return '\%(' . join(done, '\|') . '\)'
elseif a:pat =~# '^{.*}$'
return '{' . s:FnmatchTranslate(a:pat[1:-2]) . '}'
elseif a:pat =~# '^\[!'