Skip to content
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

Cannot hide number in nvim terminal #70

Open
harrysummer opened this issue Oct 1, 2017 · 0 comments · May be fixed by #75
Open

Cannot hide number in nvim terminal #70

harrysummer opened this issue Oct 1, 2017 · 0 comments · May be fixed by #75

Comments

@harrysummer
Copy link

Steps to reproduce:

  1. Install numbers.vim
  2. Open a terminal via :term in neovim
  3. :set nonumber
  4. :set norelativenumber. Now the number disappears
  5. Switch to other buffers. Now the number appears again.

I checked the source of numbers.vim, it could disable the numbering by setting g:numbers_exclude to blacklist certain filetypes. However, since terminal window has empty 'filetype', we cannot use this option to blacklist terminal window. Instead, we should add another option to blacklist certain 'buftype'.

akho added a commit to akho/numbers.vim that referenced this issue May 31, 2020
@akho akho linked a pull request May 31, 2020 that will close this issue
undu pushed a commit to undu/numbers.vim that referenced this issue Sep 30, 2020
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 a pull request may close this issue.

1 participant