From b737e4be5b54a66bbcbf1f70157553806c2154f9 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Wed, 3 May 2023 21:13:58 +0100 Subject: [PATCH] nvim: hardwrap man pages to 80 This is to be consistent with normal man, and it looks soo much better than nvim's built in soft wrapping. --- nvim/lua/config/options.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua index 60c4ad3..547ed75 100644 --- a/nvim/lua/config/options.lua +++ b/nvim/lua/config/options.lua @@ -2,6 +2,9 @@ local opt = vim.opt +vim.g.man_hardwrap = 1 +vim.env.MANWIDTH = 80 + -- Some settings taken from LazyVim's default options opt.pumblend = 10 -- Popup blend opt.pumheight = 10 -- Maximum number of entries in a popup -- 2.48.1