Keep an eye on those revision descriptions.
1# `jj-log.nvim` 2 3*Watch your revision messages.* 4 5This plugin retrieves the latest revision description (commit message) from `jj` and lets you use it through a global variable. It's nice to see the description of what you are working on at the moment. 6 7## Example with NvChad 8 9```lua 10-- NvChad statusbar configuration 11 12-- ...things... 13M.ui = { 14 statusline = { 15 enabled = true, 16 theme = "default", 17 separator_style = "block", 18 order = { ..., "jj_msg", ... }, 19 20 modules = { 21 jj_msg = function() 22 local result = vim.b.jj_desc -- The variable you need 23 24 if not result then 25 return "" 26 end 27 28 return "%#St_JJ_Text# 󰜘 " .. result .. " " 29 end, 30 } 31 } 32} 33-- ...things continue... 34 35``` 36 37## Setup 38 39**Lazy** 40```lua 41{ 42 'https://tangled.org/bpavuk.neocities.org/jj-log.nvim', 43 opts = {}, 44} 45``` 46 47I'll be happy to add other package manager instructions! Hit me up, open an issue, or send a PR