Skip to content

Highlight end blocks when cursor is at the beginning #7

Open

Description

@andreapavoni

Hi there,

first of all, thank you for this useful package :-) It actually works by highlighting the begin of the block when a cursor is at the end. I was wondering if/how is possible to highlight end blocks even when cursor is at the beginning.

thanks in advance for eventual replies :-)

Activity

  1. hmatsuda commented on Mar 8, 2015

    @hmatsuda
    Owner

    It's difficult but I'll try to implement this.

  2. maasha commented on Aug 12, 2015

    @maasha

    Would be wonderful feature to have. Vim can do it!

  3. marcusmalmberg commented on Oct 7, 2015

    @marcusmalmberg

    +1, this would really add QoL to the editor

  4. GuillaumeLegendre commented on Jan 26, 2016

    @GuillaumeLegendre

    This would be awesome and even more if the go to keybindings works too. 👍

  5. maksimf commented on Feb 3, 2016

    @maksimf

    +1

  6. dogweather commented on Feb 6, 2016

    @dogweather

    @hmatsuda I'd like to try helping with this. Is there a place in the code you think would need to be changed?

  7. hmatsuda commented on Feb 6, 2016

    @hmatsuda
    Owner

    Thanks for helping @dogweather .

    the searchForBlock method is searching for line of matching block beginning.
    https://github.com/hmatsuda/ruby-block/blob/master/lib/ruby-block.coffee#L125

  8. vtm9 commented on Apr 10, 2016

    @vtm9

    Hi, thank you for this package.
    I found this project. This problem is solved there.
    Maybe you merge it.
    https://github.com/samu/blocky

  9. AaronM04 commented on Dec 13, 2016

    @AaronM04

    @vtm9 Once you fix your reference error, I can use blocky instead. :)

  10. TSMMark commented on Apr 20, 2017

    @TSMMark

    PLEASE DO THIS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions