After attempting to start an output split, I get a FileNotFound error, stating that the .jukit file cannot be found. The filepath of my document contains a space in a directory name and I noticed that an extra '\' is inserted in the filepath, so the path looks like /.../directory\\ name/.../.jukit.
This issue seems to be caused by the escape() function on line 259 of vim-jukit/autoload/jukit/splits.vim:
let pyfile_ws_sub = substitute(escape(expand('%:p'), ' \'), ' ', '<JUKIT_WS_PH>', 'g')
Removing the function solves the problem:
let pyfile_ws_sub = substitute(expand('%:p'), ' ', '<JUKIT_WS_PH>', 'g')
After attempting to start an output split, I get a
FileNotFound
error, stating that the.jukit
file cannot be found. The filepath of my document contains a space in a directory name and I noticed that an extra '\
' is inserted in the filepath, so the path looks like/.../directory\\ name/.../.jukit
.This issue seems to be caused by the
escape()
function on line 259 ofvim-jukit/autoload/jukit/splits.vim
:Removing the function solves the problem:
but I am not sure this is the right solution.
I am on macOS with nvim 0.8.1.