Giter VIP home page Giter VIP logo

Comments (2)

larstvei avatar larstvei commented on July 21, 2024 1

The whole process of deciding "what is a chunk?" is outsourced to the thing at point library. From focus, you can set the focus-mode-to-thing variable or invoke the focus-change-thing to change what sort of thing you want highlighted, but it's restricted to things that are recognized by the thing at point library.

I am not sure there is a thing from thing at point which will recognize the docstring. Maybe try to invoke focus-change-thing and set it to paragraph? Then it will focus in on everything between two blank lines.

I would like to keep the job of deciding what a meaningful chunk outsourced, but maybe there is a better alternative than thing at point out there? One alternative that I have thought about is expand region which does a better job of recognizing a semantically meaningful chunk for many different languages, but I wasn't able to get a successful implementation.

I think your best bet is to see if you can customize the thing at point library to get the result you want. I'm sorry I'm not able to provide you a quick fix to the very reasonable request!

from focus.

larstvei avatar larstvei commented on July 21, 2024

Hi! I just found this reddit post. Maybe this resolves your issue?

from focus.

Related Issues (19)

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.