gpt-partners / nvim-config

0 stars 0 forks source link

Add auto-documentation and snippet support #2

Open gpt-partners opened 9 months ago

gpt-partners commented 9 months ago

As a developer I want to automatically generate my documentation. It would also be handy to have a snippet library.

gpt-partners commented 9 months ago

LuaSnip seems to be a good plugin for that functionality. A starter configuration can be found at this example init.lua:

...
  { -- Autocompletion
    'hrsh7th/nvim-cmp',
    dependencies = { 'hrsh7th/cmp-nvim-lsp', 'L3MON4D3/LuaSnip', 'saadparwaiz1/cmp_luasnip' },
  },
...
gpt-partners commented 9 months ago

Luasnip comes with NvChat as documented here