mirror of
https://github.com/tpope/vim-sensible.git
synced 2025-11-08 11:03:47 -05:00
Fix startup error on nvim
This commit is contained in:
@@ -22,7 +22,7 @@ endif
|
||||
" system vimrc.
|
||||
function! s:MaySet(option) abort
|
||||
redir => out
|
||||
silent verbose execute 'setglobal termcap' a:option . '?'
|
||||
silent verbose execute 'setglobal all' a:option . '?'
|
||||
redir END
|
||||
return out !~# " \\~[\\/][^\n]*$"
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user