add basedpyright to vim config

This commit is contained in:
2026-09-23 21:33:51 +02:00
parent f38082fbf0
commit 866a7d0408
+15
View File
@@ -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