Attempt at fix for fold settings during diff
This commit is contained in:
parent
ce6f423e7a
commit
c365183952
@ -41,6 +41,9 @@ endfunction
|
|||||||
function! vimtex#fold#init_buffer() " {{{1
|
function! vimtex#fold#init_buffer() " {{{1
|
||||||
if !g:vimtex_fold_enabled | return | endif
|
if !g:vimtex_fold_enabled | return | endif
|
||||||
|
|
||||||
|
" Don't apply fold settings during diff
|
||||||
|
if &diff | return | endif
|
||||||
|
|
||||||
" Don't override modeline settings
|
" Don't override modeline settings
|
||||||
if s:check_modeline() | return | endif
|
if s:check_modeline() | return | endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user