From 9911d80418f2d1eb18c4b364d24aeb15a09cbc43 Mon Sep 17 00:00:00 2001
From: Konrad Mrozek <konrad.mrozek@gmail.com>
Date: Tue, 05 Dec 2023 07:36:36 +0000
Subject: [PATCH] Make compatible with neovim

---
 compiler/clojure-test.vim |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/compiler/clojure-test.vim b/compiler/clojure-test.vim
index d7c4c02..e5f896d 100644
--- a/compiler/clojure-test.vim
+++ b/compiler/clojure-test.vim
@@ -1,15 +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
 
-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

--
Gitblit v1.9.3