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

In accordance with #179 #199

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

In accordance with #179 #199

wants to merge 6 commits into from

Conversation

yyny
Copy link

@yyny yyny commented Apr 30, 2017

Would close #179

UnrealQuester and others added 6 commits April 19, 2017 17:58
Vim resets the syntax highlighting when the 'ownsyntax' command is used.
This also triggers a new Syntax event, but indentLine did not reapply
its syntax rules because indentLine_enabled is still set.
Now we explicitly unset indentLine_enabled and call Setup again to
ensure everything is working again.
Fix indent lines after using ownsyntax
* Fixed set conceal options

This change was necessary because the let &l:concealcursor and
&l:conceallevel when set locally will set it to the entire window
(vim documentation), so it need to be reset every time the buffer changes.

* Re-added  BufWinEnter

BufEnter runs before processing the modeline, so to process the
modelines as well the BufWinEnter is necessary.
…Exclude

Revert "Fixed set conceal options" due to issue Yggdroot#197
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.

Leading spaces sometimes shown with g:indentLine_enabled = 0
4 participants