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

Conversation

@augustomelo
Copy link
Contributor

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.

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.
augroup indentLine
autocmd!
autocmd BufWinEnter * call <SID>Setup()
autocmd BufEnter * call <SID>Setup()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BufWinEnter is necessary to support modeline.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see, I think it is fixed now :)

BufEnter runs before processing the modeline, so to process the
modelines as well the BufWinEnter is necessary.
@Yggdroot Yggdroot merged commit 273ad7b into Yggdroot:master Apr 20, 2017
Yggdroot added a commit that referenced this pull request Apr 26, 2017
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.

2 participants