diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-09-17 19:20:16 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-09-17 22:52:56 +0200 |
commit | 9de5cb0b32f60bb0060335b1e0f4e4dd1c6cbf73 (patch) | |
tree | f1005791b4a771673f02d3edfbcba27bc89f532b | |
parent | 1b74d2bf0aceed1866f8a6f07403617fb37a0aa7 (diff) | |
download | rneovim-9de5cb0b32f60bb0060335b1e0f4e4dd1c6cbf73.tar.gz rneovim-9de5cb0b32f60bb0060335b1e0f4e4dd1c6cbf73.tar.bz2 rneovim-9de5cb0b32f60bb0060335b1e0f4e4dd1c6cbf73.zip |
vim-patch:d8b86c937a41
runtime(netrw): fix filetype detection for remote editing files
closes: vim/vim#12990
closes: vim/vim#12992
this partially reverses commit 71badf9 by commenting out the line that
intentionally sets the filetype to an empty string.
https://github.com/vim/vim/commit/d8b86c937a419db69239a8bb879f0050be0f8e1d
Co-authored-by: Christian Brabandt <cb@256bit.org>
-rw-r--r-- | runtime/autoload/netrw.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/netrw.vim b/runtime/autoload/netrw.vim index be170d8aec..2dd5cf45bf 100644 --- a/runtime/autoload/netrw.vim +++ b/runtime/autoload/netrw.vim @@ -2951,7 +2951,7 @@ fun! s:NetrwGetFile(readcmd, tfile, method) " to process this detection correctly. " call Decho("detect filetype of local version of remote file<".rfile.">",'~'.expand("<slnum>")) " call Decho("..did_filetype()=".did_filetype()) - setl ft= +" setl ft= " call Decho("..initial filetype<".&ft."> for buf#".bufnr()."<".bufname().">") let iskkeep= &isk setl isk-=/ |