From 1f9d1c76579638075f8ebf84c22cac8776c9c3a6 Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Fri, 16 Jun 2023 14:51:11 +0200 Subject: [PATCH] zenmode: Improve slightly the configuration - Disables the foldcolumn which displays the fold level. - Removes the backdrop to get a better color experience. - Removes the colorcolumn in zen mode. Co-Authored-by: iGor milhit --- lua/custom/plugins/zen-mode.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/custom/plugins/zen-mode.lua b/lua/custom/plugins/zen-mode.lua index 868ba43..93da391 100644 --- a/lua/custom/plugins/zen-mode.lua +++ b/lua/custom/plugins/zen-mode.lua @@ -18,6 +18,7 @@ return { }, opts = { window = { + backdrop = 1, -- Set the window width (85 columns) and height (80%). width = 85, height = .8, @@ -25,6 +26,7 @@ return { -- Disable line numbering. number = false, signcolumn = "no", + colorcolumn = "0" }, }, plugins = { @@ -32,6 +34,7 @@ return { enabled = true, ruler = false, showcmd = false, + foldcolumn = "0" }, gitsigns = { enabled = false }, },