SmiteshP / nvim-navbuddy

A simple popup display that provides breadcrumbs feature using LSP server
Apache License 2.0
770 stars 30 forks source link

Choice LSP client #48

Closed tendertree closed 1 year ago

tendertree commented 1 year ago

when I run navbuddy on typescript file. I seen this error.

when I check my lsp info I found three lsp server running on the typescript file 'tailwindcss','emmet_ls','tsserver'

however, I doesn't help my problem. the error message is below

E5108: Error executing lua: ....local/share/nvim/lazy/nvim-navic/lua/nvim-navic/lib.lua:257: attempt to call field 'request' (a nil value) stack traceback: ....local/share/nvim/lazy/nvim-navic/lua/nvim-navic/lib.lua:257: in function 'request _symbol' ...share/nvim/lazy/nvim-navbuddy/lua/nvim-navbuddy/init.lua:164: in function 'make_re quest' ...share/nvim/lazy/nvim-navbuddy/lua/nvim-navbuddy/init.lua:155: in function 'on_subm it' ...ee/.local/share/nvim/lazy/nui.nvim/lua/nui/menu/init.lua:281: in function <...ee/. local/share/nvim/lazy/nui.nvim/lua/nui/menu/init.lua:275>

SmiteshP commented 1 year ago

Are you using auto_attach? If so, can you set it to false and try attaching it manually and see. Also make sure that nvim-navic is also up to date.

tendertree commented 1 year ago

It was solved after I reinstalled my Vim configuration :) I can't be sure, but my LSP configuration might have had a conflict