akinsho / akinsho/bufferline.nvim

[Bug]: Memory leak on v:lua.__bufferline_private.handle_click

Aperta
#632 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug upstream
Lingua principale
Lua
Stelle
4.4k
Fork
240
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Is there an existing issue for this?

- [X] I have searched the existing issues

### What happened?

Memory leak on mouse click handler

packer installer

use({ "akinsho/bufferline.nvim", tag = "v3.*", requires = "kyazdani42/nvim-web-devicons" })

### What did you expect to happen?

no memory leak :)

### Config

local status_ok, bufferline = pcall(require, "bufferline")
if not status_ok then
return
end
bufferline.setup {
options = {
modified_icon = "●",
max_name_length = 30,
max_prefix_length = 30,
tab_size = 21,
diagnostics = false,
diagnostics_update_in_insert = false,
offsets = { { filetype = "NvimTree", text = "", padding = 1 } },
show_buffer_icons = true,
show_buffer_close_icons = false,
show_close_icon = false,
show_tab_indicators = false,
persist_buffer_sort = true,
separator_style = 'slant',
enforce_regular_tabs = false,
always_show_bufferline = true,
},
highlights = require("catppuccin.groups.integrations.bufferline").get()
}

### Additional Information

![image](https://user-images.githubusercontent.com/17153168/206420307-63fbbb25-ddba-461b-8cae-259663d8bcff.png)

### commit

_No response_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.