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
|
||||
|
||||
local output = vim.fn.system {
|
||||
"command",
|
||||
"-v",
|
||||
"which",
|
||||
"cspell",
|
||||
}
|
||||
if output == nil or output == "" then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue