Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customisable column indicator for folds #5115

Closed
Jeansen opened this issue Oct 24, 2019 · 5 comments
Closed

Customisable column indicator for folds #5115

Jeansen opened this issue Oct 24, 2019 · 5 comments

Comments

@Jeansen
Copy link

Jeansen commented Oct 24, 2019

The help doc says with respect to folds:

An open fold is indicated with a column that has a '-' at the top and '|'
characters below it.  This column stops where the open fold stops.  When folds
nest, the nested fold is one character right of the fold it's contained in.

A closed fold is indicated with a '+'.

I'd like to be able to change these characters via my .vimrc. But so far, I cannot see how and think it is not yet possible. I know, it is a cosmetic (low priority) request. But if it is not too much work, I'd be happe to see it in some future release.

@chrisbra
Copy link
Member

why do you want to customize it? The advantage of being hard coded is, that everybody right now already knows the meaning, while changing it, it might be confusing.

@Jeansen
Copy link
Author

Jeansen commented Nov 17, 2019

Well, generally speaking it is a matter of taste. And there are some good block/border symbols to use from Unicode. So it would look similar when using the tree command. On the other hand, IF someone changes it, then he/she knows what he/she has changed. I do not suggest to change the default. Just to make it configurable. Otherwise your argument would be true for almost every default in VIM mapped to something custom ;-)

@diego-treitos
Copy link

diego-treitos commented Jul 13, 2021

@chrisbra
Copy link
Member

so closing, since fixed by https://github.com/vim/vim/releases/tag/v8.2.2524

@Jeansen
Copy link
Author

Jeansen commented Jul 19, 2021

Kudos to @brammool and everyone involved for implementing this and making a happy "vimer" even more happy ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants