Mercurial > vim
changeset 33283:3306c1619a9b
runtime(netrw): fix filetype detection for remote editing files
Commit: https://github.com/vim/vim/commit/d8b86c937a419db69239a8bb879f0050be0f8e1d
Author: Christian Brabandt <cb@256bit.org>
Date: Sun Sep 17 18:52:56 2023 +0200
runtime(netrw): fix filetype detection for remote editing files
closes: https://github.com/vim/vim/issues/12990
closes: https://github.com/vim/vim/issues/12992
this partially reverses commit 71badf9 by commenting out the line that
intentionally sets the filetype to an empty string.
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 17 Sep 2023 19:00:07 +0200 |
parents | c9c720360002 |
children | 0943c2a880cc |
files | runtime/autoload/netrw.vim |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/autoload/netrw.vim +++ b/runtime/autoload/netrw.vim @@ -2998,7 +2998,7 @@ fun! s:NetrwGetFile(readcmd, tfile, meth " 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-=/