Skip to content

Commit 4d28c2c

Browse files
MN-nagyoriori1703
authored andcommitted
Refactor: Use vim.o and adjust scrolling/wrapping options
1 parent c63e1da commit 4d28c2c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

init.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,13 @@ vim.o.scrolloff = 10
165165
vim.o.confirm = true
166166

167167
-- Enable undo/redo changes even after closing and reopening a file
168-
vim.opt.undofile = true
168+
vim.o.undofile = true
169169

170-
-- Enable smooth scrolling
171-
vim.opt.smoothscroll = true
170+
-- Disable line wrapping
171+
vim.o.wrap = false
172172

173173
-- Highlight max chars per line
174-
-- vim.opt.colorcolumn = '100'
174+
-- vim.o.colorcolumn = '100'
175175

176176
-- [[ Basic Keymaps ]]
177177
-- See `:help vim.keymap.set()`

0 commit comments

Comments
 (0)