Closed Palpatineli closed 1 year ago
It seems that your environment does not define the $USER
variable. What is your operating system? If you open a terminal emulator, what is the output of
echo $USER
Sorry if my made it confusing. the $(user) part is my real user account and I was just trying to hide it online. It actually expanded to my account correctly. The weird part is why the update cache command was issued instead of the actual code I select.
This is how it is implemented in ftplugin/javascript_cmdline.vim
. Either @epwalsh or @chee may help you to solve the issue.
For some reason VimCmdLineSendLine() works but VimCmdLineSendSelection() and b:cmdline_source_fun(...) actually put