-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
Support first indent level #12
Comments
I want to support this. This can't be done with virtual text, because the linebreak counts as a character and you can't display virtual text over characters. In theory its easy to do with conceal, but there is a bug in Vim that breaks conceal on empty lines. vim/vim#4854 |
No problem, thanks nonetheless! Actually, I'm kinda linking to use the return char for EOL... so no worries! |
vim/vim#4854 which corresponds to vim patch Can you please implement the indentation line in blank lines when you find the time? |
The bug was fixed, but in a way that now does not allow conceal over line endings at all. Which means there is still no way to implement this. Sorry. |
with the merge of neovim/neovim#13952 this plugin can now handle all the indent lines, blank or not and as an extra bonus, first level indent is now finally supported as well. It's just on now, not sure if I should add an option to turn it off 🤔 I think we can finally close this issue |
@lukas-reineke I think it's a good idea to allow disabling first level indent lines. |
👍 I'll add an option |
I added |
First of all, thanks for this awesome plugin.
It would be nice if this plugin could show an indent guide for the first indent level (just like when
g:indentLine_showFirstIndentLevel
is truthy in https://github.com/Yggdroot/indentLine). I'm not used with EOL chars, so without them there's a blank space for the first indent level.The indent guide for the first level can be disabled for files that are indented using spaces, but for ones with tabs, which use
listchars
, there's no way to remove the first indent level.The text was updated successfully, but these errors were encountered: