aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-02-27 19:19:40 +0100
committerChristian Clason <ch.clason+github@icloud.com>2025-02-28 09:32:42 +0100
commit8c4c9ca1922d61cd848762b43f7a4be52c7feef2 (patch)
tree9001054cdc94f4bcd5cc6374914aa8d5e098aab3
parentda219960cbe429e5888d742719585917eb166321 (diff)
downloadrneovim-8c4c9ca1922d61cd848762b43f7a4be52c7feef2.tar.gz
rneovim-8c4c9ca1922d61cd848762b43f7a4be52c7feef2.tar.bz2
rneovim-8c4c9ca1922d61cd848762b43f7a4be52c7feef2.zip
vim-patch:3d75ec7: runtime(compiler): improve svelte-check
closes: vim/vim#16749 https://github.com/vim/vim/commit/3d75ec7401850e8a80ae7ab5ad1b84f47bc32095 Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
-rw-r--r--runtime/compiler/svelte-check.vim12
1 files changed, 7 insertions, 5 deletions
diff --git a/runtime/compiler/svelte-check.vim b/runtime/compiler/svelte-check.vim
index 883aefdbc4..bfffe28108 100644
--- a/runtime/compiler/svelte-check.vim
+++ b/runtime/compiler/svelte-check.vim
@@ -1,19 +1,21 @@
" Vim compiler file
" Compiler: svelte-check
" Maintainer: @Konfekt
-" Last Change: 2025 Feb 22
+" Last Change: 2025 Feb 27
if exists("current_compiler") | finish | endif
let current_compiler = "svelte-check"
CompilerSet makeprg=npx\ svelte-check\ --output\ machine
-CompilerSet errorformat=%*\\d\ %t%*\\a\ \"%f\"\ %l:%c\ %m
+CompilerSet errorformat=%*\\d\ %t%*\\a\ \"%f\"\ %l:%c\ \"%m\",
+CompilerSet errorformat+=%-G%*\\d\ START\ %.%#,
+CompilerSet errorformat+=%-G%*\\d\ COMPLETED\ %.%#,
CompilerSet errorformat+=%-G%.%#
" " Fall-back for versions of svelte-check that don't support --output machine
" " before May 2020 https://github.com/sveltejs/language-tools/commit/9f7a90379d287a41621a5e78af5b010a8ab810c3
" " which is before the first production release 1.1.31 of Svelte-Check
" CompilerSet makeprg=npx\ svelte-check
-" CompilerSet errorformat=%E%f:%l:%c,
-" CompilerSet errorformat+=%+ZError\:\ %m,
-" CompilerSet errorformat+=%-G%.%#
+" CompilerSet errorformat=%A%f:%l:%c,
+" CompilerSet errorformat+=%C%t%*\\a\\:\ %m,
+" CompilerSet errorformat+=%-G%.%#,