Skip to content

Commit 3d75ec7

Browse files
Konfektchrisbra
authored andcommitted
runtime(compiler): improve svelte-check
closes: #16749 Signed-off-by: Konfekt <Konfekt@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent dbedc09 commit 3d75ec7

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

runtime/compiler/svelte-check.vim

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
" Vim compiler file
22
" Compiler: svelte-check
33
" Maintainer: @Konfekt
4-
" Last Change: 2025 Feb 22
4+
" Last Change: 2025 Feb 27
55

66
if exists("current_compiler") | finish | endif
77
let current_compiler = "svelte-check"
88

99
CompilerSet makeprg=npx\ svelte-check\ --output\ machine
10-
CompilerSet errorformat=%*\\d\ %t%*\\a\ \"%f\"\ %l:%c\ %m
10+
CompilerSet errorformat=%*\\d\ %t%*\\a\ \"%f\"\ %l:%c\ \"%m\",
11+
CompilerSet errorformat+=%-G%*\\d\ START\ %.%#,
12+
CompilerSet errorformat+=%-G%*\\d\ COMPLETED\ %.%#,
1113
CompilerSet errorformat+=%-G%.%#
1214

1315
" " Fall-back for versions of svelte-check that don't support --output machine
1416
" " before May 2020 https://github.com/sveltejs/language-tools/commit/9f7a90379d287a41621a5e78af5b010a8ab810c3
1517
" " which is before the first production release 1.1.31 of Svelte-Check
1618
" CompilerSet makeprg=npx\ svelte-check
17-
" CompilerSet errorformat=%E%f:%l:%c,
18-
" CompilerSet errorformat+=%+ZError\:\ %m,
19-
" CompilerSet errorformat+=%-G%.%#
19+
" CompilerSet errorformat=%A%f:%l:%c,
20+
" CompilerSet errorformat+=%C%t%*\\a\\:\ %m,
21+
" CompilerSet errorformat+=%-G%.%#,

0 commit comments

Comments
 (0)