diff --git a/vim/.vim/compiler/basedpyright.vim b/vim/.vim/compiler/basedpyright.vim new file mode 100644 index 0000000..277806c --- /dev/null +++ b/vim/.vim/compiler/basedpyright.vim @@ -0,0 +1,15 @@ +if exists("current_compiler") | finish | endif +let current_compiler = "basedpyright" +let s:cpo_save = &cpo +set cpo&vim + +CompilerSet makeprg=basedpyright +CompilerSet errorformat= + \%E%f:%l:%c\ -\ error:\ %m, + \%W%f:%l:%c\ -\ warning:\ %m, + \%N%f:%l:%c\ -\ note:\ %m, + \%C[\ \t]\ %.%#, + \%-G%.%# + +let &cpo = s:cpo_save +unlet s:cpo_save