diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-02-15 21:16:27 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-02-15 21:16:27 -0500 |
commit | e35c766518fc677984679c0f7a230b6f25f5e19a (patch) | |
tree | c351a70be294bf7b7bd7b6a2a7c89181dc9fc7e5 /runtime/plugin | |
parent | dc3ca16a99ec05c88df1b1fe6a3cfbe97ea34227 (diff) | |
download | rneovim-e35c766518fc677984679c0f7a230b6f25f5e19a.tar.gz rneovim-e35c766518fc677984679c0f7a230b6f25f5e19a.tar.bz2 rneovim-e35c766518fc677984679c0f7a230b6f25f5e19a.zip |
runtime/netrw: 5ef1c6a4838a9629b793f3ae676f72a764171b00
Port netrw files only.
Diffstat (limited to 'runtime/plugin')
-rw-r--r-- | runtime/plugin/netrwPlugin.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/plugin/netrwPlugin.vim b/runtime/plugin/netrwPlugin.vim index 2d67f6a4e4..f3c8540c63 100644 --- a/runtime/plugin/netrwPlugin.vim +++ b/runtime/plugin/netrwPlugin.vim @@ -20,7 +20,7 @@ if &cp || exists("g:loaded_netrwPlugin") finish endif -let g:loaded_netrwPlugin = "v165" +let g:loaded_netrwPlugin = "v166" let s:keepcpo = &cpo set cpo&vim "DechoRemOn @@ -81,7 +81,7 @@ if !exists("g:netrw_nogx") if !hasmapto('<Plug>NetrwBrowseX') nmap <unique> gx <Plug>NetrwBrowseX endif - nno <silent> <Plug>NetrwBrowseX :call netrw#BrowseX(expand((exists("g:netrw_gx")? g:netrw_gx : '<cfile>')),netrw#CheckIfRemote())<cr> + nno <silent> <Plug>NetrwBrowseX :call netrw#BrowseX(netrw#GX(),netrw#CheckIfRemote(netrw#GX()))<cr> endif if maparg('gx','v') == "" if !hasmapto('<Plug>NetrwBrowseXVis') |