Can't find trim function on WSL
loshjawrence opened this issue · 4 comments
loshjawrence commented
Error detected while processing .vim/bundle/neoterm/plugin/neoterm.vim:
line 49:
E117: Unknown function: trim
E15: Invalid expression: trim(&shell . ' ' . substitute(&shellcmdflag, '[-/]c', '', ''))
I get this on my Windows Subsystem for Linux install of neovim when using neoterm.
loshjawrence commented
actually nvim -v isn't what I expected and is probably the issue here. need to verify.
timedreamer commented
Hey, I got this too when using WSL terminal SSH to a server. The nvim is on the server.
Any ideas how to fix?
Thanks!
loshjawrence commented
@timedreamer when i had this my version of neovim looked a little old so i updated to the latest and that fixed my issue.
timedreamer commented
Awesome! It doesn't work on NVIM v0.3.1
, but works on NVIM v0.4.3
.
Thank you! @loshjawrence