Error executing lua callback: Vim:E475: Invalid value for argument cmd: 'im-select' is not executable
joket1999 opened this issue · 2 comments
joket1999 commented
MacOS: 10.15.7
NeoVim: 0.8.3
M.macInsertLeave = function()
M.currentIM = vim.fn.system({ "im-select" }) -- Invalid value for argument cmd: 'im-select' is not executable
vim.cmd(":silent :!im-select" .. " " .. M.defaultIM)
end
处理 InsertLeave 自动命令 "*" 时发生错误: Error executing lua callback: Vim:E475: Invalid value for argument cmd: 'im-select' is not executable stack traceback: [C]: in function 'system'
daipeihust commented
看起来是需要将im-select文件设置为可执行
daipeihust commented
你搜一下chmod命令的用法