Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Use less invasive listchars settings #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

larissa
Copy link

@larissa larissa commented Feb 22, 2019

I noticed that indentguides was changing my listchar settings and there was no option to turn that off. Looking at the code, it doesn't seem like that was even necessary, so I'm proposing these 2 changes:

  • Put indentguides' listchar_guides in the beginning of the listchars list, that way it doesn't override any user set listchars.
  • Remove trail from listchar_guides since that's not being used (as far as I can tell) by this plugin.

This renders the indentguides_tabchar unnecessary since the user can set whatever character they want directly on their vimrc listchars, but I left it there for compatibility.

user configured listchars should have higher precedence over
indentguides listchars
It does not seem like vim-indentguides is using trail listchar for
anything, so including it to the plugin seems unnecessery.
@thaerkh thaerkh force-pushed the master branch 4 times, most recently from 9e0668a to 7ac793f Compare May 16, 2023 22:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant