vim-endwise
vim-endwise copied to clipboard
[Feature] Add class/module/method names after 'end' keyword
Would it be possible to have commented-out class/module/method names automatically added behind end keywords? Example:
module Module
class Superclass
class Subclass
def foo
end # def foo
end # class Subclass
class SubclassB
end # class SubclassB
end # class Superclass
end # module Module
I think so with the right regex fu.