starter/lua/config/options.lua

14 lines
515 B
Lua
Raw Normal View History

2023-01-07 17:52:40 +08:00
-- Options are automatically loaded before lazy.nvim startup
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
-- Add any additional options here
2024-05-28 15:14:44 +08:00
vim.opt.swapfile = false
vim.opt.backup = false
vim.opt.writebackup = false
2024-08-01 10:45:08 +08:00
vim.opt.spelllang = {}
2024-10-30 15:02:51 +08:00
-- fold config
vim.o.foldcolumn = "1" -- '0' is not bad
vim.o.foldlevel = 99 -- Using ufo provider need a large value, feel free to decrease the value
vim.o.foldlevelstart = 99
vim.o.foldenable = true