diff options
author | Christian Clason <c.clason@uni-graz.at> | 2025-02-22 15:44:33 +0100 |
---|---|---|
committer | Christian Clason <ch.clason+github@icloud.com> | 2025-02-22 16:17:11 +0100 |
commit | 5f11efe42339e8dec752818ca8f22f5b1c825f35 (patch) | |
tree | 23ad350b5905c0f188b106778c88588167926597 | |
parent | e641155b023c3e8164927248f937e2a5fcdc48e2 (diff) | |
download | rneovim-5f11efe42339e8dec752818ca8f22f5b1c825f35.tar.gz rneovim-5f11efe42339e8dec752818ca8f22f5b1c825f35.tar.bz2 rneovim-5f11efe42339e8dec752818ca8f22f5b1c825f35.zip |
vim-patch:d15114c: runtime(compiler): include svelte-check compiler
closes: vim/vim#16704
https://github.com/vim/vim/commit/d15114c148e615b0c244e94bf91548299f6af047
Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
-rw-r--r-- | runtime/compiler/svelte-check.vim | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/runtime/compiler/svelte-check.vim b/runtime/compiler/svelte-check.vim new file mode 100644 index 0000000000..883aefdbc4 --- /dev/null +++ b/runtime/compiler/svelte-check.vim @@ -0,0 +1,19 @@ +" Vim compiler file +" Compiler: svelte-check +" Maintainer: @Konfekt +" Last Change: 2025 Feb 22 + +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+=%-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%.%# |