File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -116,10 +116,6 @@ endfunction
116116
117117" #set_buflocal_autocmds {{{1
118118function ! sy#set_buflocal_autocmds (bufnr ) abort
119- if get (g: , ' signify_disable_by_default' )
120- return
121- endif
122-
123119 augroup signify
124120 execute printf (' autocmd! * <buffer=%d>' , a: bufnr )
125121
Original file line number Diff line number Diff line change 6868autocmd QuickFixCmdPre *vimgrep* let g: signify_locked = 1
6969autocmd QuickFixCmdPost *vimgrep* let g: signify_locked = 0
7070
71- autocmd BufNewFile ,BufRead * call sy#set_buflocal_autocmds (expand (' <abuf>' ))
71+ autocmd BufNewFile ,BufRead * nested
72+ \ if ! get (g: , ' signify_disable_by_default' ) |
73+ \ call sy#start ({' bufnr' : bufnr (' ' )}) |
74+ \ endif
7275" 1}}}
7376
7477if exists (' #User#SignifySetup' )
You can’t perform that action at this time.
0 commit comments