diff options
Diffstat (limited to 'autoload/repl/repl_modes.kak')
| -rw-r--r-- | autoload/repl/repl_modes.kak | 2 |
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 |
