I found that if I run :set nonumber
in terminal buffer, the option only applies to that terminal buffer, not window I run the command.
Neovim's help doc says that 'number'
is a window-local option, But it doesn't seem right when dealing with terminal buffers.
Is the option 'number'
can be treated as buffer-local option or terminal-local option?
If so, how can I set terminal-local options?