mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-24 01:38:54 +02:00
fix(telescope): flash integration
This commit is contained in:
parent
ff223e7347
commit
db8e0f7d35
1 changed files with 4 additions and 1 deletions
|
@ -195,9 +195,12 @@ return {
|
||||||
|
|
||||||
-- Flash Telescope config
|
-- Flash Telescope config
|
||||||
{
|
{
|
||||||
"folke/flash.nvim",
|
"nvim-telescope/telescope.nvim",
|
||||||
optional = true,
|
optional = true,
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
|
if not LazyVim.has("flash.nvim") then
|
||||||
|
return
|
||||||
|
end
|
||||||
local function flash(prompt_bufnr)
|
local function flash(prompt_bufnr)
|
||||||
require("flash").jump({
|
require("flash").jump({
|
||||||
pattern = "^",
|
pattern = "^",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue