Skip to content
Discussion options

You must be logged in to vote

Both 'number' and 'relativenumber' are disabled in 'mini.starter' buffers. The reason for those still showing almost surely lies outside of 'mini.starter'.

In particular, there is vim.opt.relativenumber = true, which gets executed later. This means that it sets relative number in current window also.

There are several ways to adjust this:

  • Use vim.go.relativenumber = true to explicitly set global value of this option. This won't affect currently opened window-buffers combinations, but should be used for future ones.
  • Set all options during startup (i.e. in now and not later), possibly even as one of the first things.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@swahpy
Comment options

Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.starter
2 participants