X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/6396939a137a77ce47932c2fb398516096bb286f..175dc095dce8e29b23433ac20474f4d31513d4c8:/nvim/lua/config/options.lua diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua index 1bc95c8..547ed75 100644 --- a/nvim/lua/config/options.lua +++ b/nvim/lua/config/options.lua @@ -2,26 +2,10 @@ local opt = vim.opt --- FIXME: There's currently no way to disable LazyVim's default options, so --- reset the ones from vimrc. --- See https://github.com/LazyVim/LazyVim/issues/566 --- 1. settings that are overriden in LazyVim options -opt.clipboard = "" -- Sync with system clipboard -opt.completeopt = "menu,menuone,noselect" -opt.formatoptions:append("jcrnqlt") -- see vimrc for details -opt.formatoptions:remove("o") -- see vimrc for details -opt.number = false -opt.relativenumber = false -opt.scrolloff = 5 -opt.shiftwidth = 4 -opt.tabstop = 8 -opt.sidescrolloff = 1 -opt.splitbelow = false -opt.splitright = true -opt.timeoutlen = 1000 +vim.g.man_hardwrap = 1 +vim.env.MANWIDTH = 80 --- FIXME: --- 2. settings I might want to include when disabling options works +-- Some settings taken from LazyVim's default options opt.pumblend = 10 -- Popup blend opt.pumheight = 10 -- Maximum number of entries in a popup opt.showmode = false -- Dont show mode since we have a statusline