Skip to content

Commit

Permalink
fix: disable winbar in scratch windows (pocco81#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Apr 30, 2024
1 parent 2b9e210 commit 3bc2eb0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lua/true-zen/ataraxis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ local opts = {
relativenumber = false,
foldenable = false,
list = false,
winbar = "",
},
}

Expand Down Expand Up @@ -248,9 +249,9 @@ function M.off()
if fn.filereadable(fn.expand("%:p")) == 1 then
pcall(function () pcall(cmd("q")) end)
end

require("true-zen.minimalist").off()

for k, v in pairs(original_opts) do
if k ~= "highlights" then
o[k] = v
Expand Down

0 comments on commit 3bc2eb0

Please sign in to comment.