mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-23 01:08:53 +02:00
update: change icon and close current buffer
This commit is contained in:
parent
744cf511b2
commit
ca42cc75a1
4 changed files with 6 additions and 6 deletions
|
@ -9,7 +9,7 @@ local use_icons = true
|
|||
-- get folder name from current directory
|
||||
local _get_folder_name = function()
|
||||
local str = vim.fn.fnamemodify(vim.fn.getcwd(), ":t")
|
||||
return " " .. str:lower():gsub("^%l", string.upper) .. " "
|
||||
return " " .. str:lower():gsub("^%l", string.upper) .. " "
|
||||
end
|
||||
|
||||
local function diagnostics_indicator(num, _, diagnostics, _)
|
||||
|
|
|
@ -96,8 +96,8 @@ return {
|
|||
FindFile = "",
|
||||
FindText = "",
|
||||
Fire = "",
|
||||
Folder = "",
|
||||
FolderOpen = "",
|
||||
Folder = "",
|
||||
FolderOpen = "",
|
||||
FolderSymlink = "",
|
||||
Forward = "",
|
||||
Gear = "",
|
||||
|
|
|
@ -280,7 +280,7 @@ local mappings = {
|
|||
"All Buffer",
|
||||
},
|
||||
-- close current active buffer
|
||||
c = { "<cmd>bd!<cr>", "Close current buffer" },
|
||||
c = { "<cmd>lua _CLOSE_BUFFER()<cr>", "Close current buffer" },
|
||||
-- bufferline close left
|
||||
d = {
|
||||
"<cmd>BufferLineCloseLeft<cr>",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue