summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2023-09-17 18:52:56 +0200
committerChristian Brabandt <cb@256bit.org>2023-09-17 18:52:56 +0200
commitd8b86c937a419db69239a8bb879f0050be0f8e1d (patch)
tree6a9430267d8985982f6edde55eeef3024a1263cf
parente30d8e4ce01dc1aca95d25be9fd27c09855fd4be (diff)
runtime(netrw): fix filetype detection for remote editing files
closes: #12990 closes: #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>
-rw-r--r--runtime/autoload/netrw.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/netrw.vim b/runtime/autoload/netrw.vim
index 14b1ab20d4..9548b49375 100644
--- a/runtime/autoload/netrw.vim
+++ b/runtime/autoload/netrw.vim
@@ -2998,7 +2998,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-=/