Comments (7)
Amazing! I believe these issues are done now 👏
from indent-blankline.nvim.
Very good points
I didn't think about highlighting and the empty last block and big first block.
It makes much more sense to create the indent [char, whitespace] now instead of [whitespace, char] like it was before.
I think I can fix all of your issues.
from indent-blankline.nvim.
indent_blankline_show_first_indent_levelindent_blankline_show_first_indent_level
this should be fixed now.
I don't think I can turn off the as on just the even/empty lines
I removed indentation on empty lines that are not part of deeper indentation.
I also added g:indent_blankline_show_first_indent_level
to turn of indent guides on the first column in all cases
there always seems to be a 3 wide void before the let
this should be fixed now
the first color group is 5 wide instead of 4?
this should be fixed as well
As a bonus, I added g:indent_blankline_show_trailing_blankline_indent
You can turn that off if you just want to use background highlights, they should all line up now
Thanks for the issue 🚀 let me know if anything else is not working
from indent-blankline.nvim.
Amazing, I really like the changes and I can get it working exactly how I would like.
Some things I see, neither of which affect me, and ignore if something is intentional, but:
- if
g:indent_blankline_space_char_highlight_list
is set then its variation:g:indent_blankline_space_char_blankline_highlight_list
, or non-list, won't overrule it and the colors set to be used on indent lines are also used for empty line. It's good for not having to set multiple variables, but by setting them, maybe you'd expect them to be considered. - trailing colors are not in sync:
from indent-blankline.nvim.
hm I can't reproduce the g:indent_blankline_space_char_highlight_list
issue, if I set this.
let g:indent_blankline_space_char_highlight_list = ['DiffDelete', 'markdownFirstHeadline']
let g:indent_blankline_space_char_blankline_highlight_list = []
I get no highlight for the blank lines like I would expect.
For the out of sync bug, thank you. I pushed a fix now
from indent-blankline.nvim.
The first one may have been my misunderstanding with something, I can't repro it either now.
The trailing indents are in sync now which is really sweet, however with let g:indent_blankline_show_first_indent_level = v:false
, they lose their styling completely. Likely not intentional, maybe indexing something that is not in the list? Doesn't seem to depend on the list length though.
from indent-blankline.nvim.
Good catch. When calculating the index I forgot that the first pair could be only whitespace.
So the index became a float.
Pushed a fix, thank you.
from indent-blankline.nvim.
Related Issues (20)
- Error when opening DiffView HOT 2
- question: how to manage overlap background colors HOT 2
- Window-local Option for Indentation Guides in IBL HOT 1
- Error When Changing Background HOT 2
- Guides Not Showing Correctly HOT 5
- Cursor color weird behavior with onedarkpro theme + indent-blankline HOT 2
- slow call to `vim.split` HOT 2
- Change background color from your example HOT 5
- Unable to see underlines HOT 1
- Lags in a file with a large block comment and treesitter HOT 5
- Does not work for CSS & Vue HOT 2
- Old scope highlight looks better. HOT 1
- Error on startup in .eslint.rc HOT 1
- Rainbow
- Indents only shown for the current context HOT 2
- Indentation change icon into ">>" HOT 5
- Wrong underline/highlight HOT 1
- [QUESTION] How to migrate from v2 to v3 using packer? Please improve documentation HOT 2
- Enhancement for low cursor visibility HOT 1
- How do I disable the plugin only on certain filetypes? 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 indent-blankline.nvim.