summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/cfg/zen/init.lua
blob: d4a3da5c5ce605addb91e2eec3edfdf9370f8148 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
local M = {}
local status_ok, zen_mode = pcall(require, "zen-mode")
if not status_ok then
  return
end

M.config = function()
  zen_mode.setup {
    window = {
      backdrop = 1,
      height = 0.85, -- height of the Zen window
      options = {
        signcolumn = "no", -- disable signcolumn
        number = false, -- disable number column
        relativenumber = false, -- disable relative numbers
        -- cursorline = false, -- disable cursorline
        -- cursorcolumn = false, -- disable cursor column
        -- foldcolumn = "0", -- disable fold column
        -- list = false, -- disable whitespace characters
      },
    },
    plugins = {
      gitsigns = { enabled = false }, -- disables git signs
      -- your configuration comes here
      -- or leave it empty to use the default settings
      -- refer to the configuration section below
    },
  }
end
return M