diff options
| author | Xander Swan <email> | 2025-12-03 10:00:41 -0500 |
|---|---|---|
| committer | Xander Swan <email> | 2025-12-03 10:00:41 -0500 |
| commit | 7cca5541771ce99ff88279583906693007feb0e8 (patch) | |
| tree | 6c9cb0fb2f0f5fb2fe1e7faa473b4a8c6eafe1b0 /.config/nvim/lua/plugin/neogen.lua | |
| parent | 61cfbe924b31349f5958cc7faa2d6debad5759d9 (diff) | |
Pasta
Diffstat (limited to '.config/nvim/lua/plugin/neogen.lua')
| -rw-r--r-- | .config/nvim/lua/plugin/neogen.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugin/neogen.lua b/.config/nvim/lua/plugin/neogen.lua new file mode 100644 index 0000000..512af71 --- /dev/null +++ b/.config/nvim/lua/plugin/neogen.lua @@ -0,0 +1,19 @@ +local neogen = require("neogen") + +neogen.setup { + snippet_engine = "luasnip", + languages = { + cs = { + template = { + annotation_convention = "xmldoc", + }, + }, + }, +} + +local opts = { + silent = true, +} + +vim.keymap.set("n", "<leader>df", ":Neogen<CR>", opts) + |
