3 ms·
My plugin is here: https://github.com/gsuuon/llm.nvim https://github.com/gsuuon/llm.nvim -- one of the "starter prompts" is commit message, so with vim-fugitive
by gsuuon 3y ago
My plugin is here: https://github.com/gsuuon/llm.nvim https://github.com/gsuuon/llm.nvim -- one of the "starter prompts" is commit message, so with vim-fugitive I open up the git status window, stage my changes, press 'cc', then ':Llm commit\ message' (or just ':Llm mess' tab complete). Then I make changes as needed. I notice that normally it fails to capture my intent for larger changes (things that should be refactor for example get labeled as feat), and readme only changes are sometimes not labeled as 'docs' correctly.
Here's where the commit message prompt is: https://github.com/gsuuon/llm.nvim/blob/2d771cc882ad9edd80114e5c2dd30e195cde31c8/lua/llm/starter_prompts.lua#L461 https://github.com/gsuuon/llm.nvim/blob/2d771cc882ad9edd8011...