diff --git a/lua/taken/plugins/shade.lua b/lua/taken/plugins/shade.lua deleted file mode 100644 index 90f6b5e..0000000 --- a/lua/taken/plugins/shade.lua +++ /dev/null @@ -1,12 +0,0 @@ -return { - "sunjon/shade.nvim", - event = { "WinEnter", "BufWinEnter" }, - config = function() - local shade = require("shade") - shade.setup({ - keys = { - toggle = "ts" - } - }) - end -} diff --git a/lua/taken/plugins/twilight.lua b/lua/taken/plugins/twilight.lua new file mode 100644 index 0000000..c3a1f4e --- /dev/null +++ b/lua/taken/plugins/twilight.lua @@ -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, +}