use which instead of command for better compatibility
This commit is contained in:
parent
eddbdaf03e
commit
a37e987c2b
1 changed files with 1 additions and 2 deletions
|
|
@ -1,8 +1,7 @@
|
||||||
-- npm install -g cspell@latest
|
-- npm install -g cspell@latest
|
||||||
|
|
||||||
local output = vim.fn.system {
|
local output = vim.fn.system {
|
||||||
"command",
|
"which",
|
||||||
"-v",
|
|
||||||
"cspell",
|
"cspell",
|
||||||
}
|
}
|
||||||
if output == nil or output == "" then
|
if output == nil or output == "" then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue