Skip to content

NeoVim man pager cannot handle colours correctly after enabling vim-polyglot #576

Closed
@Frederick888

Description

@Frederick888

Does this bug happen when you install plugin without vim-polyglot?
No.

Describe the bug:
With vim-polyglot enabled, nvim manpager cannot handle colours correctly. See screenshot:
Screen Shot 2020-10-07 at 6 17 01 pm
And nvim warns that file's been modified when :q.

If I open nvim first then :Man man, the colours are ok but it somehow still modifies the [No Name] buffer and I can see a warning when :qa.

To Reproduce:

  1. Using NeoVim v0.4.4, macOS or Linux
  2. export MANPAGER='nvim +Man!'
  3. Use the init.vim below
  4. man man
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath

call plug#begin()
Plug 'sheerun/vim-polyglot'
call plug#end()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions