mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-01 16:47:40 +00:00
feat(nvim): keymaps tweaks, cleanup, docs
This commit is contained in:
@@ -1,16 +1,29 @@
|
||||
return {
|
||||
-- vscode-like pictograms for neovim lsp completion items
|
||||
-- https://github.com/onsails/lspkind-nvim
|
||||
{ 'onsails/lspkind.nvim' },
|
||||
-- A better annotation generator.
|
||||
-- Supports multiple languages and annotation conventions.
|
||||
-- https://github.com/danymat/neogen
|
||||
{
|
||||
'danymat/neogen',
|
||||
version = '*',
|
||||
keys = {
|
||||
{
|
||||
'<leader>cg',
|
||||
'<cmd>lua require("neogen").generate()<CR>',
|
||||
desc = 'Generate annotations',
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
require('neogen').setup {
|
||||
enabled = true,
|
||||
snippet_engine = 'luasnip',
|
||||
}
|
||||
end,
|
||||
},
|
||||
|
||||
-- Rethinking Vim as a tool for writing
|
||||
-- https://github.com/preservim/vim-pencil
|
||||
{ 'preservim/vim-pencil' },
|
||||
|
||||
-- obsession.vim: continuously updated session files
|
||||
-- https://github.com/tpope/vim-obsession
|
||||
{ 'tpope/vim-obsession' },
|
||||
|
||||
-- surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
|
||||
-- https://github.com/tpope/vim-surround
|
||||
{ 'tpope/vim-surround' },
|
||||
@@ -25,11 +38,6 @@ return {
|
||||
end,
|
||||
},
|
||||
|
||||
-- LSP Configuration & Plugins
|
||||
-- Meta type definitions for the Lua platform Luvit.
|
||||
-- https://github.com/Bilal2453/luvit-meta
|
||||
{ 'Bilal2453/luvit-meta', lazy = true },
|
||||
|
||||
-- Indent guides for Neovim
|
||||
-- https://github.com/lukas-reineke/indent-blankline.nvim
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user