Skip to content

Commit 7c96776

Browse files
committed
runtime(netrw): fix syntax error in netrwPlugin.vim
Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent 3d7e567 commit 7c96776

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

runtime/plugin/netrwPlugin.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ set cpo&vim
3636
" surpress output of command; use bang for GUI applications
3737

3838
" set up redirection (avoids browser messages)
39-
" by default, g:netrw_suppress_gx_mesg is true
40-
if get(g:, ':netrw_suppress_gx_mesg', 1)
39+
" by default if not set, g:netrw_suppress_gx_mesg is true
40+
if get(g:, 'netrw_suppress_gx_mesg', 1)
4141
if &srr =~# "%s"
4242
let s:redir = printf(&srr, has("win32") ? "nul" : "/dev/null")
4343
else
@@ -96,7 +96,7 @@ if exists(':Launch') == 2
9696
elseif executable('open')
9797
let s:cmd = 'open'
9898
else
99-
s:cmd = ''
99+
let s:cmd = ''
100100
endif
101101
function s:Open(cmd, file)
102102
if empty(a:cmd) && !exists('g:netrw_browsex_viewer')

0 commit comments

Comments
 (0)