rufo-vim icon indicating copy to clipboard operation
rufo-vim copied to clipboard

Syntax Error on Save

Open dmc2015 opened this issue 6 years ago • 1 comments

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 text is not a valid ruby program (it has syntax errors)

Running the command line version formats the file and gives no errors though.

rufo app/services/notification.rb Format: app/services/notification.rb

dmc2015 avatar Mar 24 '19 03:03 dmc2015

:+1: same error here

rubemz avatar May 10 '19 17:05 rubemz