diff --git a/vim/.vim/compiler/odin.vim b/vim/.vim/compiler/odin.vim new file mode 100644 index 0000000..f288cb4 --- /dev/null +++ b/vim/.vim/compiler/odin.vim @@ -0,0 +1,11 @@ +let current_compiler = "odin" + +let s:save_cpo = &cpo +set cpo&vim + +CompilerSet makeprg=odin\ build\ . +CompilerSet errorformat= + \%f(%l:%c)\ Syntax\ %trror:\ %m + +let &cpo = s:save_cpo +unlet s:save_cpo