robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

zeertzjqvim-patch:ffd5c52: runtime(compiler): ignore 'Found' messages in ruff and ty compiler (#37119)47aef025a7

master
582 B20 linesraw
1" Vim compiler file
2" Compiler:     Ty (Python Type Checker)
3" Maintainer:   @konfekt
4" Last Change:  2024 Dec 24
5
6if exists("current_compiler") | finish | endif
7let current_compiler = "ty"
8
9let s:cpo_save = &cpo
10set cpo&vim
11
12" CompilerSet makeprg=ty
13exe 'CompilerSet makeprg=' ..  escape(
14        \ get(b:, 'ty_makeprg', get(g:, 'ty_makeprg', 'ty check --no-progress --color=never'))
15        \ ..' --output-format=concise', ' \|"')
16CompilerSet errorformat=%f:%l:%c:\ %m,%f:%l:\ %m,%f:%l:%c\ -\ %m,%f:
17CompilerSet errorformat+=%-GFound\ %.%#
18
19let &cpo = s:cpo_save
20unlet s:cpo_save