You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since styler seems to be the best option for R code fixing, it would be great for Vim users if it were integrated with ALE, a code linter and fixer for Vim.
Cool. I think it would be a nice if ALE would use styler. However, I am not a VIM user, so I am not sure what I can contribute. How the styler API works should be clear I guess, I am happy to assist on this part though.
I just made a PR for such an implementation. I don't know much about vim script, so it is really minimal (i.e., it uses the tidyverse style and does not offer the possibility of using options), but it works. Don't hesitate to use my fork while waiting for @w0rp to accept/reject it.
Activity
lorenzwalthert commentedon Jan 26, 2019
Cool. I think it would be a nice if ALE would use styler. However, I am not a VIM user, so I am not sure what I can contribute. How the styler API works should be clear I guess, I am happy to assist on this part though.
tvatter commentedon Mar 29, 2019
I just made a PR for such an implementation. I don't know much about vim script, so it is really minimal (i.e., it uses the tidyverse style and does not offer the possibility of using options), but it works. Don't hesitate to use my fork while waiting for @w0rp to accept/reject it.
w0rp commentedon Mar 29, 2019
I'll have a look when I'm back from my holiday.
tvatter commentedon Mar 29, 2019
No problem, it's not urgent at all.
lorenzwalthert commentedon Mar 29, 2019
Awesome, happy to see this happening.
tvatter commentedon Apr 23, 2019
The PR has been merged to the master branch of ALE. I think that this resolves this issue.
lorenzwalthert commentedon Apr 23, 2019
Pretty cool.
wmayner commentedon Apr 24, 2019
Awesome!