Comments (2)
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.
Hi! I just found this reddit post. Maybe this resolves your issue?
from focus.
Related Issues (19)
- Wrong type argument: listp, "Dim the font color of text in surrounding sections." HOT 1
- Seems when I load focus, it kills customize-faces HOT 8
- Focus shouldn't try to persist accross major mode changes HOT 1
- Possibility for highlighting differing functions in split buffers? HOT 2
- Possible helm incompatibility. HOT 3
- Read only mode changes cursor type HOT 1
- Read-only-mode doesn't work with evil HOT 4
- It only works in soft-wrapped text HOT 2
- Being able to use own colorscheme, but little darkened? HOT 5
- Use without theme HOT 11
- Adding package to NonGNU ELPA HOT 5
- Face that `focus-unfocused` inherits from HOT 1
- Tagged release for MELPA-stable HOT 2
- refresh buffer leaves everything unfocussed HOT 12
- incorrect usage of color-rgb-to-hex in focus-average-colors HOT 4
- Python bug HOT 3
- When I switch on focus-mode, my C-x f and ido-switch-buffer change HOT 3
- autocomplete window disables grayed out regions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from focus.