adding in neogen doxygen comments & fixing which-key config warnings

This commit is contained in:
talksik
2025-03-19 16:00:44 -07:00
parent c12fd3cb39
commit dd53ed5338
3 changed files with 20 additions and 8 deletions
Vendored
BIN
View File
Binary file not shown.
+13 -7
View File
@@ -190,6 +190,12 @@ vim.keymap.set('x', '<leader>p', [["_dP]])
-- This is going to get me cancelled -- This is going to get me cancelled
vim.keymap.set('i', '<C-c>', '<Esc>') vim.keymap.set('i', '<C-c>', '<Esc>')
vim.api.nvim_create_user_command('StopLSP', function()
vim.lsp.stop_client(vim.lsp.get_clients(), true)
print("Stopped all LSP clients")
end, {})
-- Exit terminal mode in the builtin terminal with a shortcut that is a bit easier -- Exit terminal mode in the builtin terminal with a shortcut that is a bit easier
-- for people to discover. Otherwise, you normally need to press <C-\><C-n>, which -- for people to discover. Otherwise, you normally need to press <C-\><C-n>, which
-- is not what someone will guess without a bit more experience. -- is not what someone will guess without a bit more experience.
@@ -309,13 +315,13 @@ require('lazy').setup({
require('which-key').setup() require('which-key').setup()
-- Document existing key chains -- Document existing key chains
require('which-key').register { require('which-key').add({
['<leader>c'] = { name = '[C]ode', _ = 'which_key_ignore' }, { '<leader>c', group = '[C]ode', _ = 'which_key_ignore' },
['<leader>d'] = { name = '[D]ocument', _ = 'which_key_ignore' }, { '<leader>d', group = '[D]ocument', _ = 'which_key_ignore' },
['<leader>r'] = { name = '[R]ename', _ = 'which_key_ignore' }, { '<leader>r', group = '[R]ename', _ = 'which_key_ignore' },
['<leader>s'] = { name = '[S]earch', _ = 'which_key_ignore' }, { '<leader>s', group = '[S]earch', _ = 'which_key_ignore' },
['<leader>w'] = { name = '[W]orkspace', _ = 'which_key_ignore' }, { '<leader>w', group = '[W]orkspace', _ = 'which_key_ignore' },
} })
end, end,
}, },
+6
View File
@@ -110,5 +110,11 @@ return {
'nvim-lua/plenary.nvim', 'nvim-lua/plenary.nvim',
'stevearc/dressing.nvim', -- optional for vim.ui.select 'stevearc/dressing.nvim', -- optional for vim.ui.select
}, },
},
{
"danymat/neogen",
config = true,
-- Uncomment next line if you want to follow only stable versions
version = "*"
} }
} }