mirror of
https://github.com/lloeki/vimfiles.git
synced 2025-12-06 05:24:39 +01:00
go support
This commit is contained in:
parent
d284a3b989
commit
b4f159c6bd
2 changed files with 3 additions and 2 deletions
3
vimrc
3
vimrc
|
|
@ -111,7 +111,7 @@ set list
|
|||
"OS clipboard integration
|
||||
set clipboard^=unnamed
|
||||
|
||||
"filetype specific settings
|
||||
"filetype/language specific settings
|
||||
autocmd FileType make set noexpandtab "makefiles need tabs
|
||||
autocmd FileType ruby set softtabstop=2 shiftwidth=2
|
||||
autocmd FileType eruby set softtabstop=2 shiftwidth=2
|
||||
|
|
@ -120,6 +120,7 @@ au BufRead,BufNewFile Guardfile setfiletype ruby
|
|||
au BufRead,BufNewFile *.skim setfiletype slim
|
||||
au BufRead,BufNewFile *.opal setfiletype ruby
|
||||
let g:syntastic_ruby_checkers = ['mri', 'rubocop']
|
||||
let g:go_fmt_command = "goimports"
|
||||
|
||||
if expand('%:t') =~? 'rfc\d\+' || expand('%:t') =~? 'draft-.*-\d\{2,}'
|
||||
setfiletype rfc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue