Use tabs for golang
This commit is contained in:
parent
c11be6d108
commit
3816b2cf71
@ -49,6 +49,7 @@ set expandtab
|
|||||||
|
|
||||||
autocmd BufRead,BufNewFile *.h,*.c,*.cpp, set tabstop=8 shiftwidth=8 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 *.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
|
autocmd BufRead,BufNewFile *.asm set filetype=nasm
|
||||||
|
|
||||||
function TrimTrailingInvisibles()
|
function TrimTrailingInvisibles()
|
||||||
|
Loading…
Reference in New Issue
Block a user