neovim: load persistence.nvim in BufEnter
This way it will still work in a readonly buffer (eg. alpha)
This commit is contained in:
parent
b9d674767b
commit
fc2f231aaf
|
@ -377,7 +377,7 @@ return require('packer').startup(
|
|||
}
|
||||
use {
|
||||
'folke/persistence.nvim',
|
||||
event = 'BufReadPre',
|
||||
event = 'BufEnter',
|
||||
config = tools.session_conf
|
||||
}
|
||||
use {'tweekmonster/startuptime.vim', cmd = 'StartupTime'} -- Just for benchmarking
|
||||
|
|
Reference in New Issue