Update some neovim files

This commit is contained in:
t0xa 2026-02-22 15:07:35 +03:00
parent 3839bb8582
commit 202bb2ba6f
2 changed files with 11 additions and 11 deletions

View file

@ -39,5 +39,3 @@ require("lazy").setup({
-- automatically check for plugin updates
checker = { enabled = false },
})

View file

@ -15,14 +15,16 @@ vim.keymap.set("n", "<leader>xQ", "<cmd>Trouble qflist toggle<cr>", { desc = "Qu
-- Telescope integration
-- local actions = require("telescope.actions")
local open_with_trouble = require("trouble.sources.telescope").open
-- local add_to_trouble = require("trouble.sources.telescope").add
require("telescope").setup({
defaults = {
mappings = {
i = { ["<c-t>"] = open_with_trouble },
n = { ["<c-t>"] = open_with_trouble },
local ok, telescope = pcall(require, "telescope")
if ok then
local open_with_trouble = require("trouble.sources.telescope").open
telescope.setup({
defaults = {
mappings = {
i = { ["<c-t>"] = open_with_trouble },
n = { ["<c-t>"] = open_with_trouble },
},
},
},
})
})
end