Skip to content

Commit 995f5c6

Browse files
committed
fix: do not set foldmethod for views window
It also has undesirable side effects, see #72 I'm not marking as a breaking change, but if anyone was using this feature, an alternative solution would be to set `foldlevelstart` to really high value.
1 parent e63ceab commit 995f5c6

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

lua/dap-view/actions.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
local dap = require("dap")
2-
31
local winbar = require("dap-view.options.winbar")
42
local setup = require("dap-view.setup")
53
local autocmd = require("dap-view.options.autocmd")

lua/dap-view/views/options.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ M.set_options = function()
1313
win.cursorline = true
1414
win.statuscolumn = ""
1515
win.foldcolumn = "0"
16-
win.foldmethod = "indent"
1716

1817
local buf = vim.bo[state.bufnr]
1918
buf.buftype = "nofile"

0 commit comments

Comments
 (0)