Replacing shade with twilight
This commit is contained in:
@@ -1,12 +0,0 @@
|
|||||||
return {
|
|
||||||
"sunjon/shade.nvim",
|
|
||||||
event = { "WinEnter", "BufWinEnter" },
|
|
||||||
config = function()
|
|
||||||
local shade = require("shade")
|
|
||||||
shade.setup({
|
|
||||||
keys = {
|
|
||||||
toggle = "<leader>ts"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
end
|
|
||||||
}
|
|
||||||
24
lua/taken/plugins/twilight.lua
Normal file
24
lua/taken/plugins/twilight.lua
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
return {
|
||||||
|
"folke/twilight.nvim",
|
||||||
|
config = function()
|
||||||
|
local twilight = require("twilight")
|
||||||
|
|
||||||
|
twilight.setup({
|
||||||
|
dimming = {
|
||||||
|
alpha = 0.25,
|
||||||
|
color = { "Normal", "#ffffff" },
|
||||||
|
term_bg = "#000000",
|
||||||
|
inactive = true,
|
||||||
|
},
|
||||||
|
context = 100000,
|
||||||
|
treesitter = false,
|
||||||
|
expand = {
|
||||||
|
"function",
|
||||||
|
"method",
|
||||||
|
"table",
|
||||||
|
"if_statement",
|
||||||
|
},
|
||||||
|
exclude = {},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user