rufo-vim
rufo-vim copied to clipboard
Ruby format for vim via rufo
When I am working with non `.rb` files, like thor, Rakefile, rb executable, the autoformat does not work even when activated with `:RufoOn`.
Perhaps my adtion to `README.md` is too platform specific . But I spent so much time trying to get this plugin to work, I'd love to help anyone else avoid...
When executing "Rufo" command, the message "Resolving dependencies" is added. And because the messages, indent is broken in partial formatting. version ruby: 2.7.0p0 gem: 3.1.4 rufo: 0.12.0 
related to https://github.com/ruby-formatter/rufo-vim/issues/28 The echo command treats "\n" from selection as non-literal string, which causes one-line string like "hello\nworld" becoming two lines. Using `printf %s` preserves it as one line.
The bdelete command doesn't work for unlisted buffer, and the default buffer is set as unlisted via nobuflisted. Change to remove buffer with bwipeout.
This seems to be recurring: https://github.com/ruby-formatter/rufo-vim/issues/12 Rufo 0.12.0
My current setup doesn't seem to autformat .rake files on save, (I use `:Rufo` manually). Maybe I am missing something, but is there an easy way to configure this?
this is still impacting me. https://github.com/ruby-formatter/rufo-vim/issues/17 ``` require "httparty" class Notification def self.send_notification(headers = {}, params = {}, notification, device_token) end end ``` Error In Vim: > Error: the given...
When I set a mark with vim and I save (with auto_format_on), the mark is lost. Marks cannot be used with rufo-vim.
Add a `:RufoDiff` command that will show diff of the current and formatted code.