refactor: merge twilight config
This commit is contained in:
@@ -1,15 +0,0 @@
|
|||||||
return {
|
|
||||||
'folke/twilight.nvim',
|
|
||||||
lazy = true,
|
|
||||||
opts = {
|
|
||||||
context = 10,
|
|
||||||
treesitter = true,
|
|
||||||
expand = {
|
|
||||||
'function',
|
|
||||||
'method',
|
|
||||||
'table',
|
|
||||||
'if_statement',
|
|
||||||
},
|
|
||||||
exclude = {}, -- filetypes to exclude
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@@ -1,7 +1,20 @@
|
|||||||
return {
|
return {
|
||||||
'folke/zen-mode.nvim',
|
'folke/zen-mode.nvim',
|
||||||
dependencies = {
|
dependencies = {
|
||||||
|
{
|
||||||
'folke/twilight.nvim',
|
'folke/twilight.nvim',
|
||||||
|
opts = {
|
||||||
|
context = 10,
|
||||||
|
treesitter = true,
|
||||||
|
expand = {
|
||||||
|
'function',
|
||||||
|
'method',
|
||||||
|
'table',
|
||||||
|
'if_statement',
|
||||||
|
},
|
||||||
|
exclude = {}, -- filetypes to exclude
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
cmd = 'ZenMode',
|
cmd = 'ZenMode',
|
||||||
opts = {
|
opts = {
|
||||||
|
|||||||
Reference in New Issue
Block a user