Fix bug in vimtex fold (#623)
This commit is contained in:
parent
72e91d978b
commit
489331f1c0
@ -60,7 +60,7 @@ function! vimtex#fold#init_script() " {{{1
|
||||
for l:type in ['single', 'single_opt', 'multi']
|
||||
let l:cmds = keys(filter(copy(s:cmds), 'v:val ==# l:type'))
|
||||
if !empty(l:cmds)
|
||||
call add(l:cmds_all, l:cmds)
|
||||
call extend(l:cmds_all, l:cmds)
|
||||
call add(s:cmd_types, s:cmd_{l:type}(l:cmds))
|
||||
endif
|
||||
endfor
|
||||
|
Loading…
x
Reference in New Issue
Block a user