From 3816b2cf719f52842f05addbe4b097e3d2aa5242 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Fri, 5 May 2017 09:57:17 -0700 Subject: [PATCH] Use tabs for golang --- config/nvim/init.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 7575f8a..c98ef34 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -49,6 +49,7 @@ set expandtab autocmd BufRead,BufNewFile *.h,*.c,*.cpp, set tabstop=8 shiftwidth=8 expandtab autocmd BufRead,BufNewFile *.cs,*.java set tabstop=4 shiftwidth=4 expandtab +autocmd BufRead,BufNewFile *.go set tabstop=8 shiftwidth=8 noexpandtab autocmd BufRead,BufNewFile *.asm set filetype=nasm function TrimTrailingInvisibles()