Disable relativenumber in utility windows; disable textwidth in neovim too
This commit is contained in:
parent
2440a987b2
commit
a4f3fd9c5e
2 changed files with 2 additions and 0 deletions
|
|
@ -176,6 +176,7 @@ function! s:SetUpHiddenBuffer( buffer ) abort
|
|||
call setbufvar( a:buffer, '&bufhidden', 'hide' )
|
||||
call setbufvar( a:buffer, '&wrap', 0 )
|
||||
call setbufvar( a:buffer, '&swapfile', 0 )
|
||||
call setbufvar( a:buffer, '&textwidth', 0 )
|
||||
call s:MakeBufferReadOnly( a:buffer )
|
||||
endfunction
|
||||
|
||||
|
|
|
|||
|
|
@ -144,6 +144,7 @@ def SetUpPromptBuffer( buf, name, prompt, callback ):
|
|||
def SetUpUIWindow( win ):
|
||||
win.options[ 'wrap' ] = False
|
||||
win.options[ 'number' ] = False
|
||||
win.options[ 'relativenumber' ] = False
|
||||
win.options[ 'signcolumn' ] = 'no'
|
||||
win.options[ 'spell' ] = False
|
||||
win.options[ 'list' ] = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue