mjlbach/starter.nvim

Why no global option?

Closed this issue · 5 comments

New windows dont' have numbers in them

What do you mean?

Screen.Recording.2021-04-30.at.9.22.54.AM.mov

I thought vim.wo.number = true is equivalent to setlocal number=true. Global options are supposed to be default values for newsly opened windows. Why does setting vim.wo affect other windows?

🤷‍♀️ This will all be abstracted away when TJ merges the vim.opt PR

Make sure you test in the future :)

I ended up asking it in neovim: neovim/neovim#14595