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
|
2025-03-10 03:30:23 +08:00
|
|
|
|
|
|
|
-- Set default split behavior
|
|
|
|
vim.opt.splitright = true -- Vertical splits go to the right
|
|
|
|
vim.opt.splitbelow = true -- Horizontal splits go below
|
|
|
|
|
|
|
|
-- Prevent automatic comment continuation
|
|
|
|
vim.opt.formatoptions:remove({ "c", "r", "o" })
|
|
|
|
|
|
|
|
-- Set absolute line numbers instead of relative
|
|
|
|
vim.opt.number = true
|
|
|
|
vim.opt.relativenumber = false
|