summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/extra/zen.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-13 19:12:32 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-13 19:12:32 +0100
commit73a60f5ee71bb60265ec0c97be7531a5e7605d8c (patch)
treed46283a3d04285c5a5ead92d5bbb3b1fe424b736 /.config/nvim/lua/extra/zen.lua
parent19c1942757f07387b95db3ddbc39d9b561d5b51d (diff)
Remove bloat nvim config
Diffstat (limited to '.config/nvim/lua/extra/zen.lua')
-rw-r--r--.config/nvim/lua/extra/zen.lua48
1 files changed, 0 insertions, 48 deletions
diff --git a/.config/nvim/lua/extra/zen.lua b/.config/nvim/lua/extra/zen.lua
deleted file mode 100644
index 9bfaf1a..0000000
--- a/.config/nvim/lua/extra/zen.lua
+++ /dev/null
@@ -1,48 +0,0 @@
-local M = {}
-local Log = require "core.log"
-
-M.config = function()
- local status_ok, zen_mode = pcall(require, "zen-mode")
- if not status_ok then
- Log:get_default().error "Failed to load zen-mode"
- 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,
- }
-end
-
-return M