Skip to content

Commit

Permalink
chore: styling
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarriga committed Jan 15, 2024
1 parent 7c0c9cf commit a6beb3a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lua/dapui/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,13 @@ end
function M.apply_mapping(mappings, func, buffer)
for _, key in pairs(mappings) do
if type(func) ~= "string" then
vim.api.nvim_buf_set_keymap(buffer, "n", key, "", { noremap = true, callback = func, nowait = true })
vim.api.nvim_buf_set_keymap(
buffer,
"n",
key,
"",
{ noremap = true, callback = func, nowait = true }
)
else
vim.api.nvim_buf_set_keymap(buffer, "n", key, func, { noremap = true, nowait = true })
end
Expand Down

0 comments on commit a6beb3a

Please sign in to comment.