From 772c55afb0081030a72bb8e066e7c6aad6cdda36 Mon Sep 17 00:00:00 2001 From: Squibid Date: Wed, 2 Aug 2023 02:16:29 -0400 Subject: add annotation generator: neogen --- lua/core/binds.lua | 3 +++ lua/core/plugins.lua | 2 ++ 2 files changed, 5 insertions(+) (limited to 'lua/core') diff --git a/lua/core/binds.lua b/lua/core/binds.lua index 638539f..e495bff 100644 --- a/lua/core/binds.lua +++ b/lua/core/binds.lua @@ -97,3 +97,6 @@ map({'n', 't'}, '', 'lua _glow()') map('n', 'zf', 'lua require("true-zen.focus").toggle()') map('n', 'zm', 'lua require("true-zen.minimalist").toggle()') map('n', 'za', 'lua require("true-zen.ataraxis").toggle()') + +-- neogen +map('n', 'df', 'lua require("neogen").generate()') diff --git a/lua/core/plugins.lua b/lua/core/plugins.lua index ffe2941..ac4a109 100644 --- a/lua/core/plugins.lua +++ b/lua/core/plugins.lua @@ -103,6 +103,8 @@ require 'dep' { { 'folke/trouble.nvim' }, { 'folke/todo-comments.nvim' }, + { 'danymat/neogen' }, -- generate lsp annotations + -- dap ---------------------------------------------------------------------- { 'mfussenegger/nvim-dap', deps = { -- cgit v1.2.1