mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 00:40:05 +08:00
Change statusline buffer option
- bufhidden should be wipe - modifiable should be false
This commit is contained in:
parent
f579d158f7
commit
614f4403f7
@ -106,7 +106,9 @@ function! s:self.open_float(st) abort
|
||||
endif
|
||||
call setbufvar(self.__bufnr, '&relativenumber', 0)
|
||||
call setbufvar(self.__bufnr, '&number', 0)
|
||||
call setbufvar(self.__bufnr, '&bufhidden', 'wipe')
|
||||
call setbufvar(self.__bufnr, '&cursorline', 0)
|
||||
call setbufvar(self.__bufnr, '&modifiable', 0)
|
||||
call setwinvar(win_id2win(self.__winid), '&winhighlight', 'Normal:SpaceVim_statusline_a_bold')
|
||||
call setwinvar(win_id2win(self.__winid), '&cursorline', 0)
|
||||
call nvim_buf_set_virtual_text(
|
||||
|
Loading…
Reference in New Issue
Block a user