akinsho / akinsho/bufferline.nvim

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

Đang mở
#632 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug upstream
Ngôn ngữ chính
Lua
Star
4.4k
Fork
240
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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_

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.