Files
nvim-hardline/lua/hardline/filetype.lua
2020-12-22 23:53:44 +01:00

16 lines
232 B
Lua

local vim = vim
local bo = vim.bo
local M = {}
function M.get_filetype()
return bo.filetype
end
function M.get_item()
return table.concat({
[[%{luaeval('require("hardline.filetype").get_filetype()')}]],
})
end
return M