commit 6bcf8d6fe2d4d15a40c7da65de372c10cb6a565c
parent 99f34f99b64ee314cc92b8054c43435d7f9b79ce
Author: Alex Balgavy <alex@balgavy.eu>
Date: Fri, 17 Sep 2021 10:03:37 +0200
vim: add a comment
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vim/plugin/statusline.vim b/vim/plugin/statusline.vim
@@ -17,7 +17,7 @@ set statusline+=%(\ %m%r%w\ %) " Flags (m
set statusline+=%#error# " Start error highlighting
set statusline+=%(%{statusline#StatuslineTabWarning()}%) " Inconsistent indentation warning
set statusline+=%* " Clear highlighting
-set statusline+=%{statusline#StatuslineRemoteFile()}
+set statusline+=%{statusline#StatuslineRemoteFile()} " If editing remote file via netrw, show filename
set statusline+=%= " Move everything after this to the right
set statusline+=%< " Start truncating here
set statusline+=\ %{statusline#StatuslineBuildCwd()}\ " Current working directory, replacing home with ~