diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-13 22:03:12 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-13 22:03:12 +0100 |
commit | d2a6fd40903289752e3d946c3fca14c46142fa69 (patch) | |
tree | d80fcbd69df8c5cc51bf5b2d04357dd094b7c2e8 /lua/config/zen.lua | |
parent | fb9ca94fbc3a314b3e0b1da2985dcebc0e645c2c (diff) |
Formatting
Diffstat (limited to 'lua/config/zen.lua')
-rw-r--r-- | lua/config/zen.lua | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/lua/config/zen.lua b/lua/config/zen.lua index 2a1086d..dbc6b06 100644 --- a/lua/config/zen.lua +++ b/lua/config/zen.lua @@ -2,41 +2,41 @@ local status_ok, zen_mode = pcall(require, "zen-mode") if not status_ok then -return + return end -zen_mode.setup { -window = { - backdrop = 1, - height = 0.9, -- height of the Zen window - width = 0.65, - 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 - tmux = { enabled = true }, - twilight = { enabled = true }, -}, --- on_open = function() --- vim.lsp.diagnostic.disable() --- vim.cmd [[ --- set foldlevel=10 --- IndentBlanklineDisable --- ]] --- end, --- on_close = function() --- vim.lsp.diagnostic.enable() --- vim.cmd [[ --- set foldlevel=5 --- IndentBlanklineEnable --- ]] --- end, -} +zen_mode.setup({ + window = { + backdrop = 1, + height = 0.9, -- height of the Zen window + width = 0.65, + 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 + tmux = { enabled = true }, + twilight = { enabled = true }, + }, + -- on_open = function() + -- vim.lsp.diagnostic.disable() + -- vim.cmd [[ + -- set foldlevel=10 + -- IndentBlanklineDisable + -- ]] + -- end, + -- on_close = function() + -- vim.lsp.diagnostic.enable() + -- vim.cmd [[ + -- set foldlevel=5 + -- IndentBlanklineEnable + -- ]] + -- end, +}) |