thaerkh / vim-indentguides Goto Github PK
View Code? Open in Web Editor NEW๐ Simple indentation guides for your buffers
License: Apache License 2.0
๐ Simple indentation guides for your buffers
License: Apache License 2.0
I would like to know how to change the indent characters. I want to use other symbols instead of | and $.
Please add to README.md info about option:
let g:indentguides_toggleListMode = 0
It will give a simple way to unset list mode ('$' char at the end of every lines).
Because it shows by default.
Thanks in advance!
So for some reason, the color of |
is green. This is a color from my color scheme but I am not sure that is overriding the grey color that is supposed to be shown. I checked the source code and it looks like Conceal
and SpecialKey
are being set. For my theme file Conceal
and SpecialKey
are being set as colors that aren't green. This is only happening for the tab character, the space indent character is working fine. Any ideas here? Thank you!
This is the same issue as #9, but that issue has been closed.
let g:indentguides_guidewidth = get(g:, 'indentguides_guidewidth', &l:shiftwidth)
is loaded well before vim-editorconfig
changes shiftwidth
, but that change is never reflected to g:indentguides_guidewidth
.
I'll send a pull request with a fix shortly.
I've tried the let g:indentguides_ignorelist = ['text', 'markdown', 'json'] command in .vimrc but even after checking conceallevel is set to 0, characters are missing (i.e. underscores, square brackets, parenthesis) and all the content inside them. If I set conceallevel from that specific buffer, text is correctly shown.
Note: filetype was set to markdown. The same happens if I open an md file.
When I invoke :IndentGuidesToggle
to hide the guides, the double quotes remain hidden (hiding the quotes is a separate issue).
I expect the command to reset the the conceallevel=0
to show the hidden double quotes
Instead, I have to manually set the conceallevel=0
I'm using this with neovim in iTerm2 and with set cursorline
, there's a gap in the highlighted line around the indent markers.
See L64. I'm guessing this is just an artifact of the indent markers (probably) being drawn at the same layer as the cursorline and it's not fixable but just thought I'd ask in case I'm missing something obvious
It matches all spaces in line, not only in the start.
So, all spaces become: _
I think this line should be added:
execute "highlight NonText " . g:indentguides_specialkey_color
As sometimes, trail characters are in NonText and not SpecialKey
I find the indent guides a bit cluttered for normal usage, but there are times I really want to see them.
So it would be very helpful to have a config variable which leaves the guides off by default, then I can toggle them on as needed.
Hi! Thanks for the script!
I was wanting to put 2 columns space, so I worked around putting:
let g:indentguides_guidewidth = 2
after line 34: let g:indentguides_guidewidth = &l:shiftwidth
So, I wanted it to start from the first column, then I commented the lines:
24: if g:indentguides_firstlevel
and 26: endif
I don't know vim enough to correct it the right way, It would be nice if someone helped making this option.
This is my config:
let g:indentguides_spacechar = 'โ'
let g:indentguides_tabchar = '|'
let g:indentguides_ignorelist = ['text','vim','md']
but when I open some of ignored files, all tabs are replaced with ^I
.
The plugin sets concealcursor
to inc
to make the indents also visible in the insertmode. This however can make other plugins like vimwiki unusable or at least change their behavior.
It's currently not possible to change this since vim-indentguides overwrites values defined in vimrc or other plugins.
Please provide a way to disable this by the user (vimrc) and other plugins.
I'm using sleuth.vim to automatically set the width of my tabs depending on which file I open. vim-indentguides does not update g:indentguides_guidewidth
accordingly, causing the indent guides to be incorrectly placed.
It's a great plugin but I faced two issues:
If you open a file multiple times at once like this:
vim -p file file file file
vim -o file file file file
vim -O file file file file
ToggleIndentGuides() will only run for the first instance of the file opening.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.