From d202e4aa6c3d7d6370b329ca182c00d202ac4783 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 2 Sep 2018 10:48:01 -0700 Subject: [vim] syntax on and don not show whitespaces for go --- configs/rcs/vim/after/ftplugin/go.vim | 1 + configs/rcs/vimrc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 configs/rcs/vim/after/ftplugin/go.vim (limited to 'configs/rcs') diff --git a/configs/rcs/vim/after/ftplugin/go.vim b/configs/rcs/vim/after/ftplugin/go.vim new file mode 100644 index 0000000..6f5fe3d --- /dev/null +++ b/configs/rcs/vim/after/ftplugin/go.vim @@ -0,0 +1 @@ +setlocal nolist diff --git a/configs/rcs/vimrc b/configs/rcs/vimrc index 76efc1c..92e23b9 100644 --- a/configs/rcs/vimrc +++ b/configs/rcs/vimrc @@ -14,7 +14,7 @@ call plug#end() set ttyfast " assume fast terminal and send more chars for smooth redraw set lazyredraw " don't redraw while executing macros, register and cmds -syntax off +syntax on let &statusline = '[%n] %<%F %m%r%w%y %= (%l,%c) %P of %L' set laststatus=2 " every window gets a statusline, always(=2) -- cgit 1.4.1