adding in neogen doxygen comments & fixing which-key config warnings
This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -108,7 +108,13 @@ return {
|
|||||||
'akinsho/flutter-tools.nvim',
|
'akinsho/flutter-tools.nvim',
|
||||||
requires = {
|
requires = {
|
||||||
'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 = "*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user