-
-
Notifications
You must be signed in to change notification settings - Fork 174
Open
Description
i dont need it since i have shortcut to kill buffer and its annoying and it take space
im not very good in lua but i think this lines need to change
ui/lua/nvchad/tabufline/utils.lua
Lines 73 to 85 in eae9664
| local close_btn = btn(" ", nil, "KillBuf", nr) | |
| name = btn(name, nil, "GoToBuf", nr) | |
| -- modified bufs icon or close icon | |
| local mod = get_opt("mod", { buf = nr }) | |
| local cur_mod = get_opt("mod", { buf = 0 }) | |
| -- color close btn for focused / hidden buffers | |
| if is_curbuf then | |
| close_btn = cur_mod and txt(" ", "BufOnModified") or txt(close_btn, "BufOnClose") | |
| else | |
| close_btn = mod and txt(" ", "BufOffModified") or txt(close_btn, "BufOffClose") | |
| end |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels