swap pyright to basedpyright

This commit is contained in:
Ivar Fatland
2026-06-15 12:02:12 +02:00
parent 1db86639d4
commit e5d9872b95
3 changed files with 16 additions and 26 deletions
@@ -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