Readd BufEnter for setting s:path
This commit is contained in:
parent
2e3799bd43
commit
f1a82a8654
@ -50,7 +50,7 @@ sign define SignifyPlaceholder text=. texthl=SignifyChange linehl=NONE
|
|||||||
augroup signify
|
augroup signify
|
||||||
autocmd!
|
autocmd!
|
||||||
|
|
||||||
autocmd BufRead * let s:path = resolve(expand('<afile>:p'))
|
autocmd BufRead,BufEnter * let s:path = resolve(expand('<afile>:p'))
|
||||||
autocmd BufRead,BufWritePost * call s:start(s:path)
|
autocmd BufRead,BufWritePost * call s:start(s:path)
|
||||||
autocmd VimEnter,ColorScheme * call s:colors_set()
|
autocmd VimEnter,ColorScheme * call s:colors_set()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user