Compare commits

..

No commits in common. "ed72526d26512168cec114d9c265839c36b79cbf" and "3ad5eb92cec39667ad3d08e89d80e3cc4c5d73f7" have entirely different histories.

View file

@ -214,17 +214,19 @@ require('lazy').setup({
require('which-key').setup() require('which-key').setup()
-- Document existing key chains -- Document existing key chains
require('which-key').add { require('which-key').register {
{ ['<leader>c'] = { name = '[C]ode', _ = 'which_key_ignore' },
{ '<leader>c', group = '[C]ode' }, ['<leader>d'] = { name = '[D]ocument', _ = 'which_key_ignore' },
{ '<leader>d', group = '[D]ocument' }, ['<leader>r'] = { name = '[R]ename', _ = 'which_key_ignore' },
{ '<leader>r', group = '[R]ename' }, ['<leader>s'] = { name = '[S]earch', _ = 'which_key_ignore' },
{ '<leader>s', group = '[S]earch' }, ['<leader>w'] = { name = '[W]orkspace', _ = 'which_key_ignore' },
{ '<leader>w', group = '[W]orkspace' }, ['<leader>t'] = { name = '[T]oggle', _ = 'which_key_ignore' },
{ '<leader>t', group = '[T]oggle' }, ['<leader>h'] = { name = 'Git [H]unk', _ = 'which_key_ignore' },
{ '<leader>h', group = 'Git [H]unk', mode = { 'n', 'v' } },
},
} }
-- visual mode
require('which-key').register({
['<leader>h'] = { 'Git [H]unk' },
}, { mode = 'v' })
end, end,
}, },
@ -354,7 +356,7 @@ require('lazy').setup({
-- `neodev` configures Lua LSP for your Neovim config, runtime and plugins -- `neodev` configures Lua LSP for your Neovim config, runtime and plugins
-- used for completion, annotations and signatures of Neovim apis -- used for completion, annotations and signatures of Neovim apis
{ 'folke/lazydev.nvim', opts = {} }, { 'folke/neodev.nvim', opts = {} },
}, },
config = function() config = function()
-- Brief aside: **What is LSP?** -- Brief aside: **What is LSP?**
@ -501,7 +503,6 @@ require('lazy').setup({
gopls = {}, gopls = {},
pyright = {}, pyright = {},
rust_analyzer = {}, rust_analyzer = {},
zls = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
-- --
-- Some languages (like typescript) have entire language plugins that can be useful: -- Some languages (like typescript) have entire language plugins that can be useful: