From 0e8efd123dace81f620a16f044a66459dcbfc260 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Wed, 1 Oct 2025 12:56:49 +0545 Subject: [PATCH] feat: add keybinding to generate docstrings with Neogen --- lua/plugins/whichkey.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/plugins/whichkey.lua b/lua/plugins/whichkey.lua index ef452d5..6ed5d04 100644 --- a/lua/plugins/whichkey.lua +++ b/lua/plugins/whichkey.lua @@ -49,6 +49,7 @@ return { { 'cF', ':retab', desc = 'Fix Tabs' }, { 'cd', ':RootDir', desc = 'Root Directory' }, { 'cf', ':lua vim.lsp.buf.format({async = true})', desc = 'Format File' }, + { 'cg', ':Neogen', desc = 'Generate Docstring' }, { 'cl', '::g/^\\s*$/d', desc = 'Clean Empty Lines' }, { 'cm', ':MarkdownPreviewToggle', desc = 'Markdown Preview' }, { 'cq', ':lua Snacks.picker.qflist()', desc = 'Quickfix List' },