Code Monkey home page Code Monkey logo

Comments (6)

Yggdroot avatar Yggdroot commented on May 30, 2024 2

This problem has been bothering me all the time. I have no solution.

from indentline.

padde avatar padde commented on May 30, 2024

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.

frace avatar frace commented on May 30, 2024

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.

frace avatar frace commented on May 30, 2024

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.

padde avatar padde commented on May 30, 2024

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.

frace avatar frace commented on May 30, 2024

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)

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.