Comments (6)
This problem has been bothering me all the time. I have no solution.
from indentline.
We're not the only ones having this problem: preservim/vim-indent-guides#23
I already feared that there would be no solution :( Closing for now...
from indentline.
Hm I'm wondering how e.g. set list listchars=eol:¶
does it.
I'm trying to highlight beginning and end of line since a couple of hours now with no success. Seems like this does not work with e.g. syntax match NonText /[\n]/ conceal cchar=¶
from indentline.
I tried that already but it cuts off the last character of each line unfortunately. Additionally it doesn't highlight eol on lines where I don't have any text.
Am 25.03.2013 um 03:58 schrieb Yggdroot:
Maybe you can try this:
syntax match NonText /.$/ conceal cchar=¶—
Reply to this email directly or view it on GitHub.
from indentline.
We should probably think about a potential new Vim feature that would enable us to do this and then propose it to the Vim authors. As far as i can see, we need two things:
- extend
syntax match
such that it is able to match an empty line e.g./^$/
- extend
conceal
such that it is able to produce more than one character
Or, of course, create an alternative to conceal that would allow similar behavior. What do you guys think? Are there any downsides to this approach you can think of?
from indentline.
Seems like there is a demand for such features, see related topics:
http://stackoverflow.com/questions/15604692/match-end-of-line-eol-with-syntax-match-in-vim
http://stackoverflow.com/questions/15606098/set-visibility-and-or-color-of-listchars-or-conceal-cchar-in-vim-when-cursorline
http://stackoverflow.com/questions/8248872/in-vim-can-you-stop-the-color-change-of-white-space-characters-with-set-cursorl
from indentline.
Related Issues (20)
- CursorColumn doesn't highlight indentLines
- How to get a vertical line before the first tab HOT 1
- Disable IndentLine for Terminal Buffers HOT 1
- Indention guide lines get highlighted when using easymotion.
- How to have indentLine in blank line and in the first column HOT 4
- eat quotation marks? HOT 2
- error dected when vim startup HOT 10
- BUG: Does not work with a transparent background color but I think I figured out why HOT 3
- let g:indentLine_bufTypeExclude = ['help', 'terminal'] can't disable indentLine in Normal-Terminal mode.
- indentLine should not override conceallevel/concealcurson for exclusions
- how to not display indenline char if there are no 4 spaces
- add support for patch files / unified diff
- Default value for `concealcursor` documentation incorrect HOT 1
- Error when starting macvim 9.0.65 with this plugin enabled HOT 2
- neovim use HOT 2
- Neovim 0.8.0: Error detected while processing BufWinEnter Autocommands HOT 3
- IndentLine color in lua configuration
- -
- Disable Indentline for dashboard HOT 4
- Indentline does not update with shiftwidth change
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 indentline.