diff --git a/modules/programs/nvim/plugins/default.nix b/modules/programs/nvim/plugins/default.nix index f4a6780..76aebc8 100644 --- a/modules/programs/nvim/plugins/default.nix +++ b/modules/programs/nvim/plugins/default.nix @@ -316,8 +316,32 @@ with builtins; keys = [ { key = "tz"; cmd = "ZenMode"; desc = "Zen mode"; } ]; + conf = /* lua */ '' + require("zen-mode").setup({ + plugins = { + tmux = { + enabled = true, + }, + }, + }) + ''; dependencies = [ - { plugin = twilight-nvim; } + { + plugin = twilight-nvim; + conf = /* lua */ '' + require("twilight").setup({ + context = 20, + expand = { -- for treesitter, we we always try to expand to the top-most ancestor with these types + "function", + "function_definition", + "if_statement", + "method", + "method_definition", + "table", + }, + }) + ''; + } ]; } ];