set go ts
This commit is contained in:
parent
cdc44a9df9
commit
eadc268fe6
2
vimrc
2
vimrc
|
@ -230,7 +230,7 @@ let g:rainbow_active = 1
|
||||||
augroup PsoxFileAutos
|
augroup PsoxFileAutos
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd FileType yaml setlocal indentkeys-=<:> ts=8 sts=2 sw=2 expandtab
|
autocmd FileType yaml setlocal indentkeys-=<:> ts=8 sts=2 sw=2 expandtab
|
||||||
autocmd FileType go setlocal ts=8 sts=4 sw=4 noexpandtab
|
autocmd FileType go setlocal ts=4 sts=4 sw=4 noexpandtab
|
||||||
\| autocmd BufWritePre <buffer> silent :call CocAction('format')
|
\| autocmd BufWritePre <buffer> silent :call CocAction('format')
|
||||||
" Tidy nerdtree windiw
|
" Tidy nerdtree windiw
|
||||||
autocmd FileType nerdtree setlocal nocursorcolumn nonumber norelativenumber signcolumn=no
|
autocmd FileType nerdtree setlocal nocursorcolumn nonumber norelativenumber signcolumn=no
|
||||||
|
|
Loading…
Reference in New Issue