Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

telescope-symbols: insertion of symbols doesn't work anymore #2534

Closed
gorillamoe opened this issue May 24, 2023 · 4 comments · Fixed by #2538
Closed

telescope-symbols: insertion of symbols doesn't work anymore #2534

gorillamoe opened this issue May 24, 2023 · 4 comments · Fixed by #2538
Labels
bug Something isn't working

Comments

@gorillamoe
Copy link

gorillamoe commented May 24, 2023

Description

Insertion of symbols doesn't work anymore in telescope-symbols.
I don't know if it's an issue with Lazy, the symbols plugin, telescope or nvim.

Neovim version

NVIM v0.9.0
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

Operating system and version

ArchLinux

Telescope version / branch / rev

master

checkhealth telescope

telescope: require("telescope.health").check()

Checking for required plugins ~
- OK plenary installed.
- OK nvim-treesitter installed.

Checking external dependencies ~
- OK rg: found ripgrep 13.0.0
- OK fd: found fd 8.7.0

===== Installed extensions ===== ~

Steps to reproduce

  1. nvim -nu minimal.lua test.md
  2. :Telescope symbols
  3. Pick a symbol and press enter

Expected behavior

The pickes symbol/emoji has been inserted into the document and we are in insert mode.

Actual behavior

Telescope picker is closed and we are back in normal mode.

Minimal config

local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    "--branch=stable",
    lazypath,
  })
end
vim.opt.rtp:prepend(lazypath)

-- Install Plugins
require('lazy').setup({
  { 'nvim-telescope/telescope.nvim', dependencies = { 'nvim-lua/plenary.nvim' } },
  { 'nvim-telescope/telescope-symbols.nvim', dependencies = { 'nvim-telescope/telescope.nvim' } },
})
@gorillamoe gorillamoe added the bug Something isn't working label May 24, 2023
@Conni2461
Copy link
Member

pretty sure caused by 3f1b579, i am looking into it

@gorillamoe
Copy link
Author

gorillamoe commented May 24, 2023

@Conni2461, yes, you're right, I checked out the previous commit and it's working. So this is somehow breaking the symbols plugin 😢

@Conni2461
Copy link
Member

yeah was sure that this PR introduces problems see (me 3 months ago #2336 (comment))

but #2535 should fix the issue

@gorillamoe
Copy link
Author

gorillamoe commented May 24, 2023

@Conni2461, I checked out your branch and it is working again, thanks so much <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants