Skip to content

:RuboCop makes code window blank #8

@tomaszwojcik

Description

@tomaszwojcik

Hey,

I have a strange issue with the new version of the vim-rubocop plugin.
Now when I run the :RuboCop command the code window gets cleared (code is not deleted, window is just blank).

My test code:

class TestRubocop
  def method
  end
end

Sometimes I get proper warnings, but most of the time I get something like this (notice the error in the column & row):

/Users/twojcik/playground/1.9.3/test_rubocop.rb:1|1 error| C: Missing top-level class documentation comment.
/Users/twojcik/playground/1.9.3/test_rubocop.rb:1|1 error| C: Missing utf-8 encoding comment.

What I use:

  • MacVim 7.4.52 (reproduced the issue in "normal" Vim)
  • ruby 1.9.3p484
  • rubocop gem (0.21.0, 0.12.0)

Before I've updated the vim-rubocop everything was fine - that's why I assume it can be the plugin's fault.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions