From cdb7cc02e4041f28e3bd9f0f78cf862f4b63e96f Mon Sep 17 00:00:00 2001 From: Konrad Mrożek <kmrozek@comscore.com> Date: Fri, 12 Jan 2024 13:16:08 +0000 Subject: [PATCH] Disable colors in malli pretty output --- compiler/clojure-test.vim | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/compiler/clojure-test.vim b/compiler/clojure-test.vim index 02ea189..e5f896d 100644 --- a/compiler/clojure-test.vim +++ b/compiler/clojure-test.vim @@ -1,17 +1,14 @@ -vim9script if exists("g:current_compiler") finish endif -g:current_compiler = "clojure-test" +let g:current_compiler = "clojure-test" if exists(":CompilerSet") != 2 command -nargs=* CompilerSet setlocal <args> endif -echomsg expand('<sfile>:p:h:h') +let s:clojure_test_deps = "'{:aliases {:clojure-test-vim {:extra-paths [\".cache/classes\"] :extra-deps {mrroman/clojure-test.vim {:local/root \"" .. expand('<sfile>:p:h:h') .. "/clojure\"}}}}}'" -var clojure_test_deps = "'{:aliases {:clojure-test-vim {:extra-paths [\"classes\"] :extra-deps {mrroman/clojure-test.vim {:local/root \"" .. expand('<sfile>:p:h:h') .. "/clojure\"}}}}}'" - -execute 'CompilerSet makeprg=clojure\ -Sdeps\ ' .. escape(clojure_test_deps, ' \|"') .. '\ -Mtest:clojure-test-vim\ -m\ test-runner' -CompilerSet errorformat& +execute 'CompilerSet makeprg=clojure\ -Sdeps\ ' .. escape(s:clojure_test_deps, ' \|"') .. '\ -Mtest:clojure-test-vim\ --report\ stderr\ -m\ test-runner\ -test-file' +CompilerSet errorformat=%EERROR:%f:%l:%m,%CERROR-CONTINUE:%m,%WFAIL:%f:%l:%m,%CFAIL-CONTINUE:%m -- Gitblit v1.9.3