Closed rainerborene closed 5 years ago
Hi :D I got the same problem.
Simply I did
$ cd npm_project_root
$ vim app/foo/Foo.ts
:pwd
=> npm_project_root/app/foo
(This is by my .vimrc):ReplList
Error detected while processing function dein#autoload#_on_cmd[13]..reply#command#list[9]..64[1]..65[5]..reply#node#find_npm_executable:
line 5:
E121: Undefined variable: s:path_sep
E116: Invalid arguments for function printf('%s%s.bin%s%s', fnamemodify(node_modules, ':p'), s:path_sep, s:path_sep, a:bin)
My g:reply_repls
is here.
let g:reply_repls = #{
\ typescript: ['tsun'],
\ }
Next I ran :Repl
on Foo.ts, I got a message reply.vim: No REPL is available for filetype 'typescript'. Candidates are ['tsun']
.
Thanks!
P.S. I ran :Repl tsun
and got reply.vim: REPL 'tsun' is not defined or not installed. Please check :ReplList
.
But :!which tsun
returns /usr/local/bin/tsun
.
Here's the output when I try to run
:ReplList
.