aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-06-23 23:53:19 +0530
committerAkshay Nair <phenax5@gmail.com>2026-06-23 23:53:47 +0530
commit4b6b717e88f9ee24d45d7cfdc66b01bf4a4951eb (patch)
treea84087800b7cbca4f299520fa4739be44e3ef2c2 /autoload
parent7502d1e84ae9956356e1578f65d11a8326ce3ec0 (diff)
downloadkakoune-config-4b6b717e88f9ee24d45d7cfdc66b01bf4a4951eb.tar.gz
kakoune-config-4b6b717e88f9ee24d45d7cfdc66b01bf4a4951eb.zip
Refactor utils.sh to clojure
Diffstat (limited to 'autoload')
-rw-r--r--autoload/repl/repl_modes.kak2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/repl/repl_modes.kak b/autoload/repl/repl_modes.kak
index 6b7550b..5ad157d 100644
--- a/autoload/repl/repl_modes.kak
+++ b/autoload/repl/repl_modes.kak
@@ -38,7 +38,7 @@ hook global BufSetOption filetype=(?:javascript|typescript|jsx|tsx) %{
set global xrepl_current_cmd 'kcr shell'
set global xrepl_current_transform 'cat > /dev/null
cypress_config_files="cypress.config.json cypress.config.ts cypress.config.js"
- project=$($kak_config/scripts/utils.sh find_closest "$kak_buffile" $cypress_config_files)
+ project=$($kak_config/scripts/utils.clj find-closest-or-dir "$kak_buffile" $cypress_config_files)
echo "npx cypress run --headless --e2e -P" "''$project''" "--spec ''$kak_buffile'';"
'
set global xrepl_current_clear_screen true