diff --git a/vim/lua/lsp_config.lua b/vim/lua/lsp_config.lua index 77733da..aeccbd4 100644 --- a/vim/lua/lsp_config.lua +++ b/vim/lua/lsp_config.lua @@ -23,7 +23,7 @@ local on_attach = function(client, bufnr) vim.api.nvim_buf_set_keymap(bufnr, "n", "[e", 'lua vim.diagnostic.goto_prev({severity="Error"})', opts) vim.api.nvim_buf_set_keymap(bufnr, "n", "]d", "lua vim.diagnostic.goto_next()", opts) vim.api.nvim_buf_set_keymap(bufnr, "n", "[d", "lua vim.diagnostic.goto_prev()", opts) - vim.api.nvim_buf_set_keymap(bufnr, "n", "cd", "lua vim.diagnostic.hide(nil, 0)", opts) + vim.api.nvim_buf_set_keymap(bufnr, "n", "ch", "lua vim.diagnostic.hide(nil, 0)", opts) -- fzf triggers: vim.api.nvim_buf_set_keymap(bufnr, "n", "fr", "References", opts) diff --git a/vim/lua/spider_config.lua b/vim/lua/spider_config.lua index 842839b..29e34b6 100644 --- a/vim/lua/spider_config.lua +++ b/vim/lua/spider_config.lua @@ -1,4 +1,6 @@ -require('spider').setup({}) +require('spider').setup({ + skipInsignificantPunctuation = false, +}) vim.keymap.set( { "n", "o", "x" },