Replies: 2 comments
-
Didn't understand what you meant there at all. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You could probably write a function to get it from git disclaimer: not tested but could be a start local gittag = function()
return vim.api.nvim_exec("git describe --tags --abbrev=0", true)
end and then add it to lualine: sections = {
lualine_a = {},
lualine_b = {
{ "branch", icons_enabled = false }, -- not required, just for context
{ gittag },
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
if I want to show the latest tag in statusline, what should i do?
Beta Was this translation helpful? Give feedback.
All reactions