blob: 883aefdbc46575c2ede695b8161591b4b446dcb7 [file] [log] [blame]
Konfektd15114c2025-02-22 15:07:09 +01001" Vim compiler file
2" Compiler: svelte-check
3" Maintainer: @Konfekt
4" Last Change: 2025 Feb 22
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%.%#
12
13" " Fall-back for versions of svelte-check that don't support --output machine
14" " before May 2020 https://github.com/sveltejs/language-tools/commit/9f7a90379d287a41621a5e78af5b010a8ab810c3
15" " which is before the first production release 1.1.31 of Svelte-Check
16" CompilerSet makeprg=npx\ svelte-check
17" CompilerSet errorformat=%E%f:%l:%c,
18" CompilerSet errorformat+=%+ZError\:\ %m,
19" CompilerSet errorformat+=%-G%.%#