svelte-check.vim (858B)
1 " Vim compiler file 2 " Compiler: svelte-check 3 " Maintainer: @Konfekt 4 " Last Change: 2025 Feb 27 5 6 if exists("current_compiler") | finish | endif 7 let current_compiler = "svelte-check" 8 9 CompilerSet makeprg=npx\ svelte-check\ --output\ machine 10 CompilerSet errorformat=%*\\d\ %t%*\\a\ \"%f\"\ %l:%c\ \"%m\", 11 CompilerSet errorformat+=%-G%*\\d\ START\ %.%#, 12 CompilerSet errorformat+=%-G%*\\d\ COMPLETED\ %.%#, 13 CompilerSet 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%.%#,