Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lua/dapui/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ local dapui = {}
---@toc_entry Configuration Options

---@class dapui.Config
---@field wrap boolean Whether or not to wrap UI text
---@field icons dapui.Config.icons
---@field mappings table<dapui.Action, string|string[]> Keys to trigger actions in elements
---@field element_mappings table<string, table<dapui.Action, string|string[]>> Per-element overrides of global mappings
Expand Down Expand Up @@ -77,6 +78,7 @@ local dapui = {}
---@type dapui.Config
---@nodoc
local default_config = {
wrap = false,
icons = { expanded = "", collapsed = "", current_frame = "" },
mappings = {
-- Use a table to apply multiple mappings
Expand Down
3 changes: 2 additions & 1 deletion lua/dapui/windows/layout.lua
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,14 @@ function WindowLayout:toggle()
end

function WindowLayout:_init_win_settings(win)
local config = require("dapui.config")
local win_settings = {
list = false,
relativenumber = false,
number = false,
winfixwidth = true,
winfixheight = true,
wrap = false,
wrap = config.wrap,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert this

signcolumn = "auto",
spell = false,
}
Expand Down