1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2026-04-26 21:31:35 +00:00

[neovim] Remove dap

This commit is contained in:
2026-04-19 18:07:21 +02:00
parent 3b2986e24c
commit 2b789b6eaa
4 changed files with 11 additions and 67 deletions
+11 -12
View File
@@ -1,16 +1,16 @@
local bufferline = require("bufferline")
local function is_buffer_loaded(name)
local bufs = vim.api.nvim_list_bufs()
for _, buffer in pairs(bufs) do
if vim.fn.getbufvar(buffer, "&filetype") == name then
return true
end
end
return false
end
-- local function is_buffer_loaded(name)
-- local bufs = vim.api.nvim_list_bufs()
--
-- for _, buffer in pairs(bufs) do
-- if vim.fn.getbufvar(buffer, "&filetype") == name then
-- return true
-- end
-- end
--
-- return false
-- end
bufferline.setup({
options = {
@@ -18,7 +18,6 @@ bufferline.setup({
right_mouse_command = "Bdelete! %d",
offsets = {
{ filetype = "snacks_picker_list", text = "", padding = 1 },
{ filetype = "dapui_scopes", text = "", padding = 1 },
},
indicator = {
style = "underline",