-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
indent guides overwrite Todo #66
Comments
Moving the The reference doesn't say, but I'm wondering if the priority of The priority of |
That worked! Thank you very much! Not sure if I should close the issue or if that might be a good change for the plugin? |
I wasn't able to replicate the problem on my end, but I don't see the harm in adding the lower priority to |
Okay, I figured out how to replicate the issue, and found another one (I can open another issue if preferred). I changed my .vimrc to be the absolute minimum, and put it here: https://gist.github.com/shawn-sterling/6382925 Using .vimrc-1 , and editing 'install.pp' (also in that gist) it looks like this (not correct): http://imgur.com/OSU5VXh,nSpk6Qk,xir1g5b,u6yFdgC#0 NOTE: The indent column colors may be hard to see depending on your monitor settings If I change to .vimrc-2 (which is just commenting out the autocommand) OR make the change graywh suggested it will correctly look like this: http://imgur.com/OSU5VXh,nSpk6Qk,xir1g5b,u6yFdgC#1 The problem also goes away if I do not set the IndentGuides in the .vimrc. The next problem is with vim tabs.
The first tab will look correct (with graywh's change), but the second tab won't have any of the Match highlights as you can see here: http://imgur.com/OSU5VXh,nSpk6Qk,xir1g5b,u6yFdgC#2 Have a good day. -Shawn |
|
Thank you again graywh! I did not know that was how vim worked for the matching. I have read a lot more about matching, and have now worked around the second problem with the following modification to my .vimrc
However, the first problem is still there, but all works as it should with graywh's suggested change. |
I'm having the same issue with my extraneous whitespace matching. The following commands are what I'm using:
I've attempted the modifications that graywh suggested, but to no avail. |
I managed to solve the issue by reducing the match priority as suggested by graywh, and ended up writing my own plugin that makes highlighting and cleaning extra whitespace a bit nicer: https://github.com/ntpeters/vim-better-whitespace |
Hello, I have
in my vimrc, so that whitespace stands out like crazy (because whitespace is evil). When indent guides are turned on, or if
I no longer see the whitespace (Todo) match.
If I turn on indent guides then do a
then I have working indent guides as well as the Todo match. I thought this might be an order of operations issue, so I put the match statement as the last line of my .vimrc, but that doesn't work.
Do you have any suggestions?
Thanks.
-Shawn
The text was updated successfully, but these errors were encountered: