nvim: init: Fix option settings

Some options need to be set for both vim.bo (for the current buffer) and
vim.o (for newly opened buffers). This is required till the below PR
gets merged.
https://github.com/neovim/neovim/pull/13479
This commit is contained in:
Sanchayan Maity 2021-04-28 11:06:46 +05:30
parent 053ddbf55e
commit db6657f3ce
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ vim.o.sessionoptions = 'buffers,curdir,tabpages,winsize'
vim.o.shada = ''
vim.o.diffopt = 'filler,internal,algorithm:histogram,indent-heuristic'
vim.o.scrolloff = 999
vim.o.swapfile = false
vim.bo.swapfile = false
vim.bo.formatoptions = "crqn1j"