neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 5f11efe42339e8dec752818ca8f22f5b1c825f35
parent e641155b023c3e8164927248f937e2a5fcdc48e2
Author: Christian Clason <c.clason@uni-graz.at>
Date:   Sat, 22 Feb 2025 15:44:33 +0100

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>

Diffstat:
Aruntime/compiler/svelte-check.vim | 19+++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)

diff --git a/runtime/compiler/svelte-check.vim 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%.%#