robin/laufey

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

Christian Clasonvim-patch:3d75ec7: runtime(compiler): improve svelte-check8c4c9ca192

master
858 B21 linesraw
1" Vim compiler file
2" Compiler:	svelte-check
3" Maintainer:	@Konfekt
4" Last Change:	2025 Feb 27
5
6if exists("current_compiler") | finish | endif
7let current_compiler = "svelte-check"
8
9CompilerSet makeprg=npx\ svelte-check\ --output\ machine
10CompilerSet errorformat=%*\\d\ %t%*\\a\ \"%f\"\ %l:%c\ \"%m\",
11CompilerSet errorformat+=%-G%*\\d\ START\ %.%#,
12CompilerSet errorformat+=%-G%*\\d\ COMPLETED\ %.%#,
13CompilerSet errorformat+=%-G%.%#
14
15" " Fall-back for versions of svelte-check that don't support --output machine
16" " before  May 2020 https://github.com/sveltejs/language-tools/commit/9f7a90379d287a41621a5e78af5b010a8ab810c3
17" " which is before the first production release 1.1.31 of Svelte-Check
18" CompilerSet makeprg=npx\ svelte-check
19" CompilerSet errorformat=%A%f:%l:%c,
20" CompilerSet errorformat+=%C%t%*\\a\\:\ %m,
21" CompilerSet errorformat+=%-G%.%#,