diff options
author | Nir Lichtman <nir@lichtman.org> | 2024-05-08 19:19:34 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-05-08 19:19:34 +0200 |
commit | 1e34b95e4402fd8964ea4bcee0d2b6ffa6677aab (patch) | |
tree | f0476b9b4fb1fd8e540be0998930d0a8a7756b6c /runtime/plugin/netrwPlugin.vim | |
parent | fb745756db23c5500294ba3f8ef48ef18080f247 (diff) |
runtime(netrw): Remove and cleanup Win9x legacy from netrw
closes: #14732
Signed-off-by: Nir Lichtman <nir@lichtman.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/plugin/netrwPlugin.vim')
-rw-r--r-- | runtime/plugin/netrwPlugin.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/plugin/netrwPlugin.vim b/runtime/plugin/netrwPlugin.vim index ed6f7dc008..c70e6518ff 100644 --- a/runtime/plugin/netrwPlugin.vim +++ b/runtime/plugin/netrwPlugin.vim @@ -2,6 +2,8 @@ " PLUGIN SECTION " Maintainer: This runtime file is looking for a new maintainer. " Date: Feb 09, 2021 +" Last Change: +" 2024 May 08 by Vim Project: cleanup legacy Win9X checks " Former Maintainer: Charles E Campbell " GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim " Copyright: Copyright (C) 1999-2021 Charles E. Campbell {{{1 @@ -35,7 +37,7 @@ augroup FileExplorer au BufLeave * if &ft != "netrw"|let w:netrw_prvfile= expand("%:p")|endif au BufEnter * sil call s:LocalBrowse(expand("<amatch>")) au VimEnter * sil call s:VimEnter(expand("<amatch>")) - if has("win32") || has("win95") || has("win64") || has("win16") + if has("win32") au BufEnter .* sil call s:LocalBrowse(expand("<amatch>")) endif augroup END |