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,
|
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 = "Bdelete! %d", -- can be a string | function, see "Mouse actions"
|
||||||
close_command = function(bufnum)
|
close_command = function(bufnum)
|
||||||
require('bufdelete').bufdelete(bufnum, true)
|
require("bufdelete").bufdelete(bufnum, true)
|
||||||
end,
|
end,
|
||||||
--right_mouse_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions"
|
--right_mouse_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions"
|
||||||
right_mouse_command = function(bufnum)
|
right_mouse_command = function(bufnum)
|
||||||
require('bufdelete').bufdelete(bufnum, true)
|
require("bufdelete").bufdelete(bufnum, true)
|
||||||
end,
|
end,
|
||||||
left_mouse_command = "buffer %d", -- can be a string | function, see "Mouse actions"
|
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"
|
middle_mouse_command = nil, -- can be a string | function, see "Mouse actions"
|
||||||
|
@ -91,14 +91,14 @@ bufferline.setup({
|
||||||
-- return true
|
-- return true
|
||||||
-- end
|
-- end
|
||||||
-- end,
|
-- end,
|
||||||
offsets = { {
|
offsets = {
|
||||||
filetype = "NvimTree",
|
{
|
||||||
text = function()
|
filetype = "NvimTree",
|
||||||
return vim.fn.getcwd()
|
text = "Explorer",
|
||||||
end,
|
highlight = "Directory",
|
||||||
highlight = "Directory",
|
text_align = "left",
|
||||||
text_align = "left",
|
padding = 1,
|
||||||
padding = 1 }
|
},
|
||||||
},
|
},
|
||||||
show_buffer_icons = true,
|
show_buffer_icons = true,
|
||||||
show_buffer_close_icons = true,
|
show_buffer_close_icons = true,
|
||||||
|
|
|
@ -74,7 +74,7 @@ nvim_tree.setup({
|
||||||
},
|
},
|
||||||
view = {
|
view = {
|
||||||
width = 30,
|
width = 30,
|
||||||
hide_root_folder = true,
|
hide_root_folder = false,
|
||||||
side = "left",
|
side = "left",
|
||||||
mappings = {
|
mappings = {
|
||||||
list = {
|
list = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue