Open otavioschwanck opened 1 year ago
When I add Rubocop
as a linter for ruby / rails, nvim becomes really sluggish taking several seconds to save the file and nvim becomes unresponsive.
Can this be related to this issue?
When I add
Rubocop
as a linter for ruby / rails, nvim becomes really sluggish taking several seconds to save the file and nvim becomes unresponsive.Can this be related to this issue?
@kjvdven I seem to be having the same issue.
Using
i debugged the rubocop.lua, the output variable on InsertLeave / TextChanged is "", only saving works. I have added the stdin function:
The error:
Using guard.nvim, the diagnostics works using the same cmd + args (always returns the output).
After fixing this (probably is not waiting enough for the diagnostics or something like that), i will make a PR to add the bundle_rubocop to the config (uses bundle to run rubocop installed on project instead of running from the shell), like i did on guard:
https://github.com/nvimdev/guard.nvim/blob/main/lua/guard/tools/linter/rubocop.lua