Files
nvim-hardline/lua/hardline/parts/filename.lua
Olivier Roques f2f9dc4f69 Refactor
2020-12-24 17:56:12 +01:00

9 lines
151 B
Lua

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