plugins: remove the ZenMode plugin

- Removes the ZenMode plugin as I should have done long ago.
- Lazy loads the Rainbow CSV plugin.

Co-Authored-by: iGor milhit <igor@milhit.ch>
iGor milhit 2023-10-06 09:50:02 +02:00
parent 9cf30ae89b
commit 175cf395d8
Signed by: igor
GPG Key ID: 692D97C3D0228A99
2 changed files with 1 additions and 39 deletions

View File

@ -2,6 +2,7 @@
return { return {
'cameron-wags/rainbow_csv.nvim', 'cameron-wags/rainbow_csv.nvim',
lazy = true,
config = true, config = true,
ft = { ft = {
'csv', 'csv',

View File

@ -1,39 +0,0 @@
-- Zen mode with twilight.
-- Improves the edition experience with distraction free feature.
return {
"folke/zen-mode.nvim",
ft = {
"markdown",
"pandoc"
},
-- Twilight allows to dim text outside of the cursor line.
dependencies = {
"folke/twilight.nvim",
opts = {
-- Set the context to null in order to avoid highlighting to much
-- paragraphs in markdown.
context = 0,
},
},
opts = {
window = {
-- Set the window width (85 columns) and height (80%).
width = 85,
height = .8,
options = {
-- Disable line numbering, signcolumn and colorcolumn.
number = false,
signcolumn = "no",
},
},
plugins = {
options = {
enabled = true,
ruler = false,
showcmd = false,
},
gitsigns = { enabled = false },
},
},
}