ray-x / lsp_signature.nvim

LSP signature hint as you type
Apache License 2.0
2.02k stars 57 forks source link

Shows in Telescope #199

Open ChristianChiarulli opened 2 years ago

ChristianChiarulli commented 2 years ago

After starting nvim and immediately starting telescope the virtual text is present in telescope.

It is not present after closing and reopening.

image

ray-x commented 2 years ago

Where does modname: string come from?

ChristianChiarulli commented 2 years ago

image

I think one of these require statements in this case

ray-x commented 2 years ago

strange. not reproduce. Could you record a short clip? also, the way you trigger telescope if you using customised keymap in insert mode.

ChristianChiarulli commented 2 years ago

I can't seem to reproduce, maybe it was the recent telescope update? I have an older version on my other computer I'll give it a shot on there. If I can't reproduce it I'll close the issue until I can find a way to do it.

ChristianChiarulli commented 2 years ago

I think it's due to the syntax being used here:

require "user.keymaps"
require "user.plugins"
require "user.autocommands"
require "user.colorscheme"
require "user.cmp"
require "user.navic"
require "user.lsp-inlayhints"
require "user.lsp"

If I include the parens the issue doesn't occur:

require("user.keymaps")
require("user.plugins")
require("user.autocommands")
require("user.colorscheme")
require("user.cmp")
require("user.navic")
require("user.lsp-inlayhints")
require("user.lsp")
ray-x commented 2 years ago

well, this is really strange. Both should work fine.

ray-x commented 1 year ago

@ChristianChiarulli I disable the signature for Telescope file type. Could you check if it works for you? Thanks.