Skip to content

Commit

Permalink
Disable (r)number and foldcolumn for repl by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mfussenegger committed Dec 6, 2024
1 parent cf1efd4 commit 9712adf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/dap/repl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ local function new_win(buf, winopts, wincmd)
local win = api.nvim_get_current_win()
api.nvim_win_set_buf(win, buf)
if vim.fn.has("nvim-0.11") == 1 then
vim.wo[win][0].relativenumber = false
vim.wo[win][0].number = false
vim.wo[win][0].foldcolumn = "0"
vim.wo[win][0].signcolumn = "auto"
vim.wo[win][0].wrap = false
else
vim.wo[win].wrap = false
Expand Down

0 comments on commit 9712adf

Please sign in to comment.