mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
update
This commit is contained in:
parent
00381b1a78
commit
36d88f69fb
2 changed files with 11 additions and 11 deletions
|
@ -31,11 +31,11 @@ bufferline.setup({
|
|||
numbers = "none", -- | "ordinal" | "buffer_id" | "both" | function({ ordinal, id, lower, raise }): string,
|
||||
--close_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions"
|
||||
close_command = function(bufnum)
|
||||
require('bufdelete').bufdelete(bufnum, true)
|
||||
require("bufdelete").bufdelete(bufnum, true)
|
||||
end,
|
||||
--right_mouse_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions"
|
||||
right_mouse_command = function(bufnum)
|
||||
require('bufdelete').bufdelete(bufnum, true)
|
||||
require("bufdelete").bufdelete(bufnum, true)
|
||||
end,
|
||||
left_mouse_command = "buffer %d", -- can be a string | function, see "Mouse actions"
|
||||
middle_mouse_command = nil, -- can be a string | function, see "Mouse actions"
|
||||
|
@ -91,14 +91,14 @@ bufferline.setup({
|
|||
-- return true
|
||||
-- end
|
||||
-- end,
|
||||
offsets = { {
|
||||
filetype = "NvimTree",
|
||||
text = function()
|
||||
return vim.fn.getcwd()
|
||||
end,
|
||||
highlight = "Directory",
|
||||
text_align = "left",
|
||||
padding = 1 }
|
||||
offsets = {
|
||||
{
|
||||
filetype = "NvimTree",
|
||||
text = "Explorer",
|
||||
highlight = "Directory",
|
||||
text_align = "left",
|
||||
padding = 1,
|
||||
},
|
||||
},
|
||||
show_buffer_icons = true,
|
||||
show_buffer_close_icons = true,
|
||||
|
|
|
@ -74,7 +74,7 @@ nvim_tree.setup({
|
|||
},
|
||||
view = {
|
||||
width = 30,
|
||||
hide_root_folder = true,
|
||||
hide_root_folder = false,
|
||||
side = "left",
|
||||
mappings = {
|
||||
list = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue