In my .vimrc
I have :set number
.
This window-local setting is applied for new windows (e.g., when running :split some_new_file
).
However, when I open a help window with :help
, there are no line numbers shown, with nonumber
set.
I am curious why this is the case.
I don't see anything in ftplugin/help.vim
that sets no line numbers.
What are the rules for window-local settings that are defined in .vimrc
? Which new windows will these settings be applied for?