Add configs for zen-mode and twilight

This commit is contained in:
Evie Litherland-Smith 2023-03-10 11:02:59 +00:00
parent 79f730c6ab
commit d1350909c5
3 changed files with 28 additions and 6 deletions

View file

@ -0,0 +1,4 @@
return {
context = 10,
treesitter = true,
}

View file

@ -0,0 +1,21 @@
return {
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 = {
options = {
enabled = true,
},
twilight = { enabled = true },
gitsigns = { enabled = true },
tmux = { enabled = true },
},
}

View file

@ -1,14 +1,11 @@
return {
"folke/zen-mode.nvim",
cmd = "ZenMode",
config = function() require("zen-mode").setup() end,
config = function() require("zen-mode").setup(require "config.zen_mode") end,
dependencies = {
"folke/twilight.nvim",
cmd = {
"TwilightEnable",
"Twilight",
},
config = function() require("twilight").setup() end,
cmd = "Twilight",
config = function() require("twilight").setup(require "config.twilight") end,
dependencies = {
"nvim-treesitter",
},