blob: bfffe28108ad4ffa0ddc3a196c495bbb22cc7fca [file] [log] [blame]
Konfektd15114c2025-02-22 15:07:09 +01001" Vim compiler file
2" Compiler: svelte-check
3" Maintainer: @Konfekt
Konfekt3d75ec72025-02-27 19:09:52 +01004" Last Change: 2025 Feb 27
Konfektd15114c2025-02-22 15:07:09 +01005
6if exists("current_compiler") | finish | endif
7let current_compiler = "svelte-check"
8
9CompilerSet makeprg=npx\ svelte-check\ --output\ machine
Konfekt3d75ec72025-02-27 19:09:52 +010010CompilerSet errorformat=%*\\d\ %t%*\\a\ \"%f\"\ %l:%c\ \"%m\",
11CompilerSet errorformat+=%-G%*\\d\ START\ %.%#,
12CompilerSet errorformat+=%-G%*\\d\ COMPLETED\ %.%#,
Konfektd15114c2025-02-22 15:07:09 +010013CompilerSet 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
Konfekt3d75ec72025-02-27 19:09:52 +010019" CompilerSet errorformat=%A%f:%l:%c,
20" CompilerSet errorformat+=%C%t%*\\a\\:\ %m,
21" CompilerSet errorformat+=%-G%.%#,