diff options
author | Frede <frederikbraendstrup@gmail.com> | 2023-06-29 23:14:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 14:14:14 -0700 |
commit | 8758c6fb875ff5446c0dff2166e9c3392c2c31d6 (patch) | |
tree | ffb49da55af18153939c23a2f361e465d0c3adf0 /runtime/autoload | |
parent | 7968322e7a20b557631f4b496751658e80f6e7b0 (diff) | |
download | rneovim-8758c6fb875ff5446c0dff2166e9c3392c2c31d6.tar.gz rneovim-8758c6fb875ff5446c0dff2166e9c3392c2c31d6.tar.bz2 rneovim-8758c6fb875ff5446c0dff2166e9c3392c2c31d6.zip |
feat(defaults): set g:netrw_use_errorwindow = 0 #24179
Problem:
netrw uses a bespoke window to show messages.
Solution:
change the default so that netrw uses normal vim :echoerr
Diffstat (limited to 'runtime/autoload')
-rw-r--r-- | runtime/autoload/netrw.vim | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/autoload/netrw.vim b/runtime/autoload/netrw.vim index c9f66f7927..be170d8aec 100644 --- a/runtime/autoload/netrw.vim +++ b/runtime/autoload/netrw.vim @@ -211,10 +211,8 @@ let g:netrw_localmovecmdopt = "" " --------------------------------------------------------------------- " Default values for netrw's global protocol variables {{{2 -if (v:version > 802 || (v:version == 802 && has("patch486"))) && has("balloon_eval") && !exists("s:initbeval") && !exists("g:netrw_nobeval") && has("syntax") && exists("g:syntax_on") && has("mouse") - call s:NetrwInit("g:netrw_use_errorwindow",2) -else - call s:NetrwInit("g:netrw_use_errorwindow",1) +if !exists("g:netrw_use_errorwindow") + let g:netrw_use_errorwindow = 0 endif if !exists("g:netrw_dav_cmd") |