We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a1841f commit 353e32dCopy full SHA for 353e32d
ftplugin/gin-diff.vim
@@ -3,7 +3,8 @@ if exists('b:did_ftplugin')
3
endif
4
runtime ftplugin/diff.vim
5
6
-setlocal foldlevel=1
+let s:winid = win_getid()
7
+call timer_start(0, { -> win_execute(s:winid, 'setlocal foldlevel=1') })
8
9
if !get(g:, 'gin_diff_disable_default_mappings')
10
nmap <buffer> <CR> <Plug>(gin-diffjump-smart)zv
0 commit comments