diff --git a/init.lua b/init.lua index dfce5362..6899a639 100644 --- a/init.lua +++ b/init.lua @@ -206,7 +206,10 @@ require('lazy').setup({ { import = 'custom.plugins' }, }, { concurrency = 10, - }) +}) + +vim.o.wrap = true +vim.o.relativenumber = true -- [[ Setting options ]] -- See `:help vim.o` diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index be0eb9d8..7b9e6c9c 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -2,4 +2,6 @@ -- I promise not to create any merge conflicts in this directory :) -- -- See the kickstart.nvim README for more information +vim.o.wrap = true + return {} diff --git a/lua/custom/plugins/options.lua b/lua/custom/plugins/options.lua index 20a4f4f8..60791018 100644 --- a/lua/custom/plugins/options.lua +++ b/lua/custom/plugins/options.lua @@ -46,6 +46,7 @@ opt.updatetime = 200 -- Save swap file and trigger CursorHold opt.wildmode = 'longest:full,full' -- Command-line completion mode opt.winminwidth = 5 -- Minimum window width -- opt.wrap = false -- Disable line wrap +opt.wrap = true if vim.fn.has 'nvim-0.9.0' == 1 then opt.splitkeep = 'screen'