fixed autocommand for checktime
This commit is contained in:
@ -63,7 +63,7 @@ api.nvim_create_autocmd({ 'FocusGained' }, { command = [[rshada]] })
|
||||
-- )
|
||||
|
||||
-- Check if we need to reload the file when it changed
|
||||
api.nvim_create_autocmd({ 'FocusGained', 'BufEnter' }, { command = [[:checktime]] })
|
||||
api.nvim_create_autocmd({ 'FocusGained', 'BufEnter' }, { command = [[if !bufexists("[Command Line]") | checktime | endif]] })
|
||||
|
||||
-- windows to close with "q"
|
||||
api.nvim_create_autocmd(
|
||||
|
Reference in New Issue
Block a user