Skip to content

Commit

Permalink
fix(view): correctly set folding options to wo. See #477
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 3, 2024
1 parent b5181b6 commit 9151797
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lua/trouble/view/window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,12 @@ local defaults = {
}

M.FOLDS = {
foldcolumn = "0",
foldenable = false,
foldlevel = 99,
foldmethod = "manual",
wo = {
foldcolumn = "0",
foldenable = false,
foldlevel = 99,
foldmethod = "manual",
},
}

---@type trouble.Window.opts
Expand Down

0 comments on commit 9151797

Please sign in to comment.