| | |
| | | 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 |
| | | |
| | | var 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\"}}}}}'" |
| | | 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\"}}}}}'" |
| | | |
| | | execute 'CompilerSet makeprg=clojure\ -Sdeps\ ' .. escape(clojure_test_deps, ' \|"') .. '\ -Mtest:clojure-test-vim\ --report\ stderr\ -m\ test-runner\ -test-file' |
| | | 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 |