summary refs log tree commit diff
path: root/configs/rcs/vim
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2018-09-02 10:48:01 -0700
committerFranck Cuny <fcuny@twitter.com>2018-09-02 10:48:01 -0700
commitd202e4aa6c3d7d6370b329ca182c00d202ac4783 (patch)
treebdbb57379d424e03c405a4b2d15bd75df0314498 /configs/rcs/vim
parent[emacs] smaller font (again) (diff)
downloademacs.d-d202e4aa6c3d7d6370b329ca182c00d202ac4783.tar.gz
[vim] syntax on and don not show whitespaces for go
Diffstat (limited to '')
-rw-r--r--configs/rcs/vim/after/ftplugin/go.vim1
-rw-r--r--configs/rcs/vimrc2
2 files changed, 2 insertions, 1 deletions
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)