preservim / vim-indent-guides

A Vim plugin for visually displaying indent levels in code
MIT License
2.62k stars 162 forks source link

Plugin "eating" some parts of the code of Laravel Blade with leading spaces. #99

Closed brunoti closed 8 years ago

brunoti commented 8 years ago

The code without leading spaces: screenshot 2015-10-06 16 13 10

The code with leading spaces: screenshot 2015-10-06 16 12 09

Is this a bug or is my mistake?

nathanaelkane commented 8 years ago

I can't see Vim Indent Guides being used in either screenshot, are you sure it's what causing your problem? Does disabling the plugin fix your issue?

brunoti commented 8 years ago

Man... I think i made this issue in the wrong plugin repository!

I'm sorry!

iamrahulroy commented 8 years ago

@nathanaelkane Is it possible to add leading spaces with vim indent guides? This can be achieved via indentLine plugin.

nathanaelkane commented 8 years ago

@iamrahulroy I'm not sure what you mean by "add leading spaces"? Can you please elaborate.

iamrahulroy commented 8 years ago

@nathanaelkane I linked screenshot above and I'm linking it again https://camo.githubusercontent.com/73a4b5e80ee0364c8f5e7e2b8f1af309c79ce739/687474703a2f2f692e696d6775722e636f6d2f744c596b6237392e706e67

By leading spaces, I mean soft tabs to be represented by dots. Is it possible to do this with vim-indent-guides? If not I'll go ahead and install indentLine plugin.

nathanaelkane commented 8 years ago

@iamrahulroy Thanks for clarifying. To answer your question, no that is not a feature of this plugin. This plugin is for simply for displaying indent guide lines.

I use set list (with listchars configured appropriately) when I want to see leading spaces. See http://vimcasts.org/episodes/show-invisibles/ for more details.

I'm going to lock this conversation because we've hijacked a different issue.