18 lines
421 B
VimL
18 lines
421 B
VimL
|
let s:cpo_save = &cpo
|
||
|
set cpo&vim
|
||
|
|
||
|
au BufRead,BufNewFile *.go setfiletype go
|
||
|
au BufRead,BufNewFile *.s setfiletype asm
|
||
|
au BufRead,BufNewFile *.tmpl set filetype=gohtmltmpl
|
||
|
au BufRead,BufNewFile go.sum set filetype=gosum
|
||
|
au BufRead,BufNewFile go.work.sum set filetype=gosum
|
||
|
au BufRead,BufNewFile go.work set filetype=gowork
|
||
|
|
||
|
au! BufRead,BufNewFile *.mod,*.MOD
|
||
|
|
||
|
|
||
|
let &cpo = s:cpo_save
|
||
|
unlet s:cpo_save
|
||
|
|
||
|
" vim: sw=2 ts=2 et
|