fix(nvim): embed correct file icon in silicon captures
This commit is contained in:
parent
20705cfcf9
commit
ff0d829a74
@ -762,7 +762,7 @@ lazy.setup({
|
|||||||
line_number = true,
|
line_number = true,
|
||||||
window_title = function()
|
window_title = function()
|
||||||
local devicons = require("nvim-web-devicons")
|
local devicons = require("nvim-web-devicons")
|
||||||
local icon = devicons.get_icon_by_filetype('lua')
|
local icon = devicons.get_icon_by_filetype(vim.bo.filetype)
|
||||||
return icon .. ' ' .. vim.fn.fnamemodify(vim.fn.bufname(vim.fn.bufnr()), ":~:.")
|
return icon .. ' ' .. vim.fn.fnamemodify(vim.fn.bufname(vim.fn.bufnr()), ":~:.")
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user