Refactor: Use vim.o and adjust scrolling/wrapping options

This commit is contained in:
MN-nagy 2025-07-15 15:42:06 +03:00
parent 13ba71f90a
commit 87d4ff8a74
1 changed files with 4 additions and 4 deletions

View File

@ -167,13 +167,13 @@ vim.o.scrolloff = 10
vim.o.confirm = true
-- Enable undo/redo changes even after closing and reopening a file
vim.opt.undofile = true
vim.o.undofile = true
-- Enable smooth scrolling
vim.opt.smoothscroll = true
-- Disable line wrapping
vim.o.wrap = false
-- Highlight max chars per line
-- vim.opt.colorcolumn = '100'
-- vim.o.colorcolumn = '100'
-- [[ Basic Keymaps ]]
-- See `:help vim.keymap.set()`