Giter Club home page Giter Club logo

vim-indentguides's People

Contributors

nudin avatar thaerkh avatar voldemortensen avatar zegervdv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vim-indentguides's Issues

indent chars

I would like to know how to change the indent characters. I want to use other symbols instead of | and $.

Tab indent color is off

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!

Screen Shot 2021-05-17 at 1 26 38 AM

g:indentguides_guidewidth conflict with vim-editorconfig

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.

Ignore list not working

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.

setconcealtwice

Note: filetype was set to markdown. The same happens if I open an md file.

Turning the guide display off does not return conceallevel=0

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

set cursorline

I'm using this with neovim in iTerm2 and with set cursorline, there's a gap in the highlighted line around the indent markers.

screen shot 2017-10-17 at 11 23 32 am

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

vim-indentguides breaks yaml syntax highlighting

I recently started using this plugin (and love it), but I noticed that for some reason when I have this plugin enabled it breaks the syntax highlighting in yaml files.

indentguides enabled:

Screen Shot 2019-08-28 at 11 06 54 AM

indentguides disabled:

Screen Shot 2019-08-28 at 11 07 27 AM

I thought this might be a neovim-specific issue, but I also see it on vim 8.0.1365.

Option to disable by default

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.

Use 2 spaces and starts on first column

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.

Trailing spaces are sometimes `-` and sometimes `ยท`

I would like trailing spaces to always be ยท, but sometimes they show as -. I'm not able to figure out what causes it to show it differently, but the same file at different times shows differently. Here are some screenshots:
image
image

Ignore dos not work properly in neovim

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.

Option to disable modification of concealcursor

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.

existing listchars is changed, list mode always activated

It's a great plugin but I faced two issues:

  1. list mode is always activated and
  2. g:listchars got always changed even though 'tab:' and 'trail:' was already set within my vimrc
    I slightly adapted the plugin to solve both issues. If I shall/can contribute my changes via github please let me know how to do so.

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.