mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
add: tidy up the code, more modular
This commit is contained in:
parent
1545d8335d
commit
1f424a1225
10 changed files with 583 additions and 522 deletions
|
@ -43,10 +43,10 @@ return {
|
|||
color_icons = true,
|
||||
numbers = "none", -- | "ordinal" | "buffer_id" | "both" | function({ ordinal, id, lower, raise }): string,
|
||||
close_command = function(bufnum)
|
||||
require("user.utils").bufremove(bufnum)
|
||||
require("user.utils.bufferline").bufremove(bufnum)
|
||||
end,
|
||||
right_mouse_command = function(bufnum)
|
||||
require("user.utils").bufremove(bufnum)
|
||||
require("user.utils.bufferline").bufremove(bufnum)
|
||||
end,
|
||||
-- close_command = "bdelete! %d",
|
||||
-- right_mouse_command = "bdelete! %d",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue