Skip to content

Commit

Permalink
fix(editing-support): Wrap true-zen opts in function
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzaaft authored and mehalter committed May 25, 2023
1 parent 5356792 commit 4c84f08
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
local utils = require "astronvim.utils"
return {
"Pocco81/true-zen.nvim",
opts = {
integrations = {
tmux = os.getenv "TMUX" ~= nil, -- hide tmux status bar in (minimalist, ataraxis)
twilight = utils.is_available "twilight.nvim", -- enable twilight (ataraxis)
},
},
opts = function(_, opts)
return utils.extend_tbl(opts, {
integrations = {
tmux = os.getenv "TMUX" ~= nil, -- hide tmux status bar in (minimalist, ataraxis)
twilight = utils.is_available "twilight.nvim", -- enable twilight (ataraxis)
},
})
end,
keys = {
{ "<leader>zf", require("true-zen").focus },
{ "<leader>zm", require("true-zen").minimalist },
Expand Down

0 comments on commit 4c84f08

Please sign in to comment.