improvements

This commit is contained in:
2026-06-28 00:39:10 +02:00
parent ba80d54a52
commit cfe6ea12f7
2 changed files with 3 additions and 6 deletions

View File

@@ -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" })

View File

@@ -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",
},