Git Product home page Git Product logo

Comments (4)

AndrewRadev avatar AndrewRadev commented on June 7, 2024

I've created some initial support for this feature in the branch endless-def. The PR is #433

I'm going to use this separate branch for a while to see if anything existing gets broken, because I feel like there's a lot of potential for that happening. So far I'm not seeing anything (other than the reported existing issues, that is 😅).

@cstyles Could you also switch to the branch and use it for a while? It would also be great if you can think of some weird edge cases to exercise it. You can see the things I've experimented with here: https://github.com/vim-ruby/vim-ruby/pull/433/files#diff-c97f8e7cebd688b684c982490aac30fa231618dce63fd9f17c8d68acaff9292dR43-R65

from vim-ruby.

AndrewRadev avatar AndrewRadev commented on June 7, 2024

The change is master now, let's see if there's any complaints.

from vim-ruby.

AndrewRadev avatar AndrewRadev commented on June 7, 2024

I'm going to consider this resolved for the moment. Doug did point out a potential issue in the PR (#433 (comment)), but I feel like it's exotic enough that it wouldn't be a problem, and it might be kind of tricky to resolve. We'll see if there's complaints.

from vim-ruby.

ntl avatar ntl commented on June 7, 2024

I am trying this out, and it seems to work for instance methods, but not class methods. See the screenshot, where the cursor is indented:

Screenshot from 2022-06-29 16-22-55

from vim-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.