Files
nvim-hardline/lua/hardline/parts/filename.lua
2020-12-25 15:15:39 +01:00

11 lines
164 B
Lua

local fn = vim.fn
local function get_item()
local name = fn.expand('%:~:.')
return table.concat({' ', '%<', name, ' '})
end
return {
get_item = get_item,
}