diff --git a/nvim/.config/nvim/lua/romanzy/keymaps.lua b/nvim/.config/nvim/lua/romanzy/keymaps.lua index b42cc2e..5b017bc 100644 --- a/nvim/.config/nvim/lua/romanzy/keymaps.lua +++ b/nvim/.config/nvim/lua/romanzy/keymaps.lua @@ -69,12 +69,12 @@ map("n", "gl", vim.diagnostic.setloclist, { desc = "diagnostic list" }) -- diagnostics only on error. map("n", "g]", function() - vim.diagnostic.goto_next({ + vim.lsp.diagnostic.goto_next({ severity = vim.diagnostic.severity.ERROR, }) end, { desc = "next error" }) map("n", "g[", function() - vim.diagnostic.goto_prev({ + vim.lsp.diagnostic.goto_prev({ severity = vim.diagnostic.severity.ERROR, }) end, { desc = "prev error" }) diff --git a/nvim/.config/nvim/lua/romanzy/plugins/telescope.lua b/nvim/.config/nvim/lua/romanzy/plugins/telescope.lua index 3e50ba6..6c62a0a 100644 --- a/nvim/.config/nvim/lua/romanzy/plugins/telescope.lua +++ b/nvim/.config/nvim/lua/romanzy/plugins/telescope.lua @@ -15,13 +15,10 @@ require("telescope").setup({ filesize_limit = 0.1, -- in MB }, initial_mode = "insert", - winblend = 30, + -- winblend = 30, file_ignore_patterns = { "%.git/.*", - "^%./lib/.*", - "^%./bin/.*", "%.cache/.*", - ".*%.[od]", }, layout_strategy = "flex", },