diff --git a/init.lua b/init.lua index f0201c8..d0e22e6 100644 --- a/init.lua +++ b/init.lua @@ -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 diff --git a/lua/plugins/custom/filetree.lua b/lua/plugins/custom/filetree.lua index 1f5f5bd..207293f 100644 --- a/lua/plugins/custom/filetree.lua +++ b/lua/plugins/custom/filetree.lua @@ -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() diff --git a/lua/plugins/custom/telescope.lua b/lua/plugins/custom/telescope.lua index ecd7776..d915713 100644 --- a/lua/plugins/custom/telescope.lua +++ b/lua/plugins/custom/telescope.lua @@ -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()