runtime(compiler): fix space escape in pyright
Commit:
https://github.com/vim/vim/commit/d15c71803873f9165c931af31d86473329682b19
Author: Mao-Yining <
mao.y...@outlook.com>
Date: Sat Feb 7 15:28:02 2026 +0000
runtime(compiler): fix space escape in pyright
closes:
https://github.com/vim/vim/issues/19354
Signed-off-by: Mao-Yining <
mao.y...@outlook.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/compiler/pyright.vim b/runtime/compiler/pyright.vim
index a7dad6f37..eef6a9eb6 100644
--- a/runtime/compiler/pyright.vim
+++ b/runtime/compiler/pyright.vim
@@ -1,7 +1,7 @@
" Vim compiler file
" Compiler: Pyright (Python Type Checker)
" Maintainer: @konfekt
-" Last Change: 2025 Dec 26
+" Last Change: 2025 Feb 7
if exists("current_compiler") | finish | endif
let current_compiler = "pyright"
@@ -18,7 +18,7 @@ CompilerSet errorformat=
\%E%f:%l:%c\ -\ error:\ %m,
\%W%f:%l:%c\ -\ warning:\ %m,
\%N%f:%l:%c\ -\ note:\ %m,
- \%C[ ]\ %.%#,
+ \%C[\ ]\ %.%#,
\%-G%.%#
let &cpo = s:cpo_save