diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-10-31 18:55:18 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-10-31 18:55:26 +0800 |
commit | 64bca57dc6822eac9d97ab6e946fb387df9e9ae3 (patch) | |
tree | d2c1ac868087998898db64e387ff0d365c64aae0 | |
parent | c1e020b7f3457d3a14e7dda72a4f6ebf06e8f91d (diff) | |
download | rneovim-64bca57dc6822eac9d97ab6e946fb387df9e9ae3.tar.gz rneovim-64bca57dc6822eac9d97ab6e946fb387df9e9ae3.tar.bz2 rneovim-64bca57dc6822eac9d97ab6e946fb387df9e9ae3.zip |
vim-patch:7c96776: runtime(netrw): fix syntax error in netrwPlugin.vim
https://github.com/vim/vim/commit/7c96776729a671b7c5f6be81bc29d860920ea1c1
Co-authored-by: Christian Brabandt <cb@256bit.org>
-rw-r--r-- | runtime/plugin/netrwPlugin.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/plugin/netrwPlugin.vim b/runtime/plugin/netrwPlugin.vim index 59fb7e727e..3cf9082aa6 100644 --- a/runtime/plugin/netrwPlugin.vim +++ b/runtime/plugin/netrwPlugin.vim @@ -36,8 +36,8 @@ set cpo&vim " surpress output of command; use bang for GUI applications " set up redirection (avoids browser messages) -" by default, g:netrw_suppress_gx_mesg is true -if get(g:, ':netrw_suppress_gx_mesg', 1) +" by default if not set, g:netrw_suppress_gx_mesg is true +if get(g:, 'netrw_suppress_gx_mesg', 1) if &srr =~# "%s" let s:redir = printf(&srr, has("win32") ? "nul" : "/dev/null") else @@ -96,7 +96,7 @@ if exists(':Launch') == 2 elseif executable('open') let s:cmd = 'open' else - s:cmd = '' + let s:cmd = '' endif function s:Open(cmd, file) if empty(a:cmd) && !exists('g:netrw_browsex_viewer') |