How to pass empty string '' to vim.fn.jobstart in cmd parameter ?
#24598
Unanswered
linrongbin16
asked this question in
Q&A
Replies: 1 comment 5 replies
-
|
Repeat each single quote twice. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I want to pass this command:
rg --column -n --no-heading --color=always -S -- ''to
vim.fn.jobstart(cmd, {...})API, but it fails.It seems it's because the last empty string
''cannot been evaluate correctly, is there anything I could do for this???device info:
OS: macOS M1 MAX, 13.5
Neovim: v0.9.1 Release, LuaJIT 2.1.0-beta3
Beta Was this translation helpful? Give feedback.
All reactions