|
|
|
@ -226,6 +226,7 @@ vim.api.nvim_create_autocmd("TextYankPost", {
|
|
|
|
|
pattern = "*",
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
local lga_actions = require("telescope-live-grep-args.actions")
|
|
|
|
|
-- [[ Configure Telescope ]]
|
|
|
|
|
-- See `:help telescope` and `:help telescope.setup()`
|
|
|
|
|
require("telescope").setup({
|
|
|
|
@ -237,6 +238,22 @@ require("telescope").setup({
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
extensions = {
|
|
|
|
|
live_grep_args = {
|
|
|
|
|
auto_quoting = true, -- enable/disable auto-quoting
|
|
|
|
|
-- define mappings, e.g.
|
|
|
|
|
mappings = { -- extend mappings
|
|
|
|
|
i = {
|
|
|
|
|
["<C-k>"] = lga_actions.quote_prompt(),
|
|
|
|
|
["<C-i>"] = lga_actions.quote_prompt({ postfix = " --iglob " }),
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
-- ... also accepts theme settings, for example:
|
|
|
|
|
-- theme = "dropdown", -- use dropdown theme
|
|
|
|
|
-- theme = { }, -- use own theme spec
|
|
|
|
|
-- layout_config = { mirror=true }, -- mirror preview pane
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
-- Enable telescope fzf native, if installed
|
|
|
|
|