Skip to content

Fix highlighting when +F is passed#253

Open
bmundt6 wants to merge 1 commit intorkitover:masterfrom
bmundt6:master
Open

Fix highlighting when +F is passed#253
bmundt6 wants to merge 1 commit intorkitover:masterfrom
bmundt6:master

Conversation

@bmundt6
Copy link
Copy Markdown

@bmundt6 bmundt6 commented Jul 24, 2020

In Vim 7.4, running vimpager with the +F option causes my syntax highlighting to be lost after the first refresh. I tried moving normal F to an autocmd but I'm not sure what event is needed; even attaching it to VimEnter causes my highlighting to disappear. The only solution I know of thus far is to run normal F as a -c command.

@rkitover
Copy link
Copy Markdown
Owner

I need to think about this.

This will not work with multiple buffers, but then we might not want to support multiple buffers with +F, or make it a per-buffer option.

I will do some testing and test with 7.4 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants