improvements
This commit is contained in:
@@ -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" })
|
||||
|
||||
@@ -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",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user