Fix previous commit tests

This commit is contained in:
Tinmarino
2023-10-31 12:47:26 -03:00
parent 90b23b466f
commit a479154770
3 changed files with 9 additions and 6 deletions
+2 -2
View File
@@ -201,10 +201,10 @@ function! VimwikiFoldLevel(lnum) abort
let nextline = getline(v:lnum + 1)
" -- Start: assumes empty line before
if line =~# vimwiki#vars#get_syntaxlocal('rxPreStart') && prevline =~ '^\s*$'
if line =~# vimwiki#vars#get_syntaxlocal('rxPreStart') && prevline =~# '^\s*$'
return 'a1'
" -- End: assumes empty line after
elseif line =~# vimwiki#vars#get_syntaxlocal('rxPreEnd') && nextline =~ '^\s*$'
elseif line =~# vimwiki#vars#get_syntaxlocal('rxPreEnd') && nextline =~# '^\s*$'
return 's1'
endif