Add: line wrap.

This commit is contained in:
psychhim
2025-10-19 01:01:50 +05:30
parent 8e7a99763b
commit 79229a2f23
3 changed files with 5 additions and 2 deletions

View File

@@ -283,6 +283,9 @@ require('lazy').setup({
-- [[ Setting options ]]
-- See `:help vim.o`
-- Line wrap
vim.opt.wrap = true
-- Set highlight on search
vim.o.hlsearch = false

View File

@@ -153,7 +153,7 @@ return {
signcolumn = 'yes', -- show sign column
cursorline = false, -- no cursorline by default
foldenable = true, -- enable folds
wrap = false, -- no line wrap
wrap = true, -- line wrap
spell = false, -- disable spell
}
local win = vim.api.nvim_get_current_win()

View File

@@ -108,7 +108,7 @@ return {
signcolumn = 'yes', -- show sign column
cursorline = false, -- no cursorline by default
foldenable = true, -- enable folds
wrap = false, -- no line wrap
wrap = true, -- line wrap
spell = false, -- disable spell
}
local win = vim.api.nvim_get_current_win()