You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem appear when you try to use lsp reference search feature with angular 17-18 language server and tsserver installed with mason.
With angularls 16 it works fine.
==============================================================================
telescope: health#telescope#check
Checking for required plugins ~
- OK plenary installed.
- OK nvim-treesitter installed.
Checking external dependencies ~
- OK rg: found ripgrep 14.1.0 (rev e50df40a19)
- OK fd: found fd 10.1.0
Steps to reproduce
install Mason
Install mason lsp config
Install angularls
Install tsserver
Open any angular project ts file
Attach angularls to buffer
Try to search references
First attemp work fine, but second and other will show "A" simbol in input field right after open.
Expected behavior
Opened telescope lsp references window with empty search field
Actual behavior
First atemp will be fine, on second attempt telescoped lsp references window opened with symbol "A" inserted in search field
Minimal config
localroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs { "config", "data", "state", "cache" } dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameend-- bootstrap lazylocallazypath=root.."/plugins/lazy.nvim"ifnotvim.uv.fs_stat(lazypath) thenvim.fn.system {
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
lazypath,
}
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
{
"nvim-telescope/telescope.nvim",
dependencies= {
"nvim-lua/plenary.nvim",
},
config=function()
-- ADD INIT.LUA SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUErequire("telescope").setup {}
end,
},
{"williamboman/mason-lspconfig.nvim"},
{
"williamboman/mason.nvim",
cmd= {
"Mason",
"MasonInstall",
"MasonUninstall",
"MasonUninstallAll",
"MasonLog",
"MasonUpdate", -- AstroNvim extension here as well"MasonUpdateAll", -- AstroNvim specific
},
opts= {
ui= {
icons= {
package_installed="✓",
package_uninstalled="✗",
package_pending="⟳",
},
},
},
build=":MasonUpdate",
},
}
require("lazy").setup(plugins, {
root=root.."/plugins",
})
The text was updated successfully, but these errors were encountered:
michaelcarno
changed the title
[lsp-references] Input field contain symbol right after open
[lsp-references] Search field contain symbol right after open
Jun 20, 2024
Description
Problem appear when you try to use lsp reference search feature with angular 17-18 language server and tsserver installed with mason.
With angularls 16 it works fine.
Neovim version
Operating system and version
Windows 10
Telescope version / branch / rev
telescope 0.1.8 / c392f1b
checkhealth telescope
Steps to reproduce
Expected behavior
Opened telescope lsp references window with empty search field
Actual behavior
First atemp will be fine, on second attempt telescoped lsp references window opened with symbol "A" inserted in search field
Minimal config
The text was updated successfully, but these errors were encountered: