SmiteshP / nvim-navic

Simple winbar/statusline plugin that shows your current code context
Apache License 2.0
1.35k stars 49 forks source link

doesn't work in typescript #118

Closed whxcode closed 1 year ago

whxcode commented 1 year ago

I have installed lsp-tsserver; and used it in lualine.nvim according to the configuration; but it has no effect on ts files; it is effective in c and c++ files. I don't know how to solve it.

I execute :LspInfo

image
SmiteshP commented 1 year ago

Are you attaching the lsp servers manually? if so make sure you are attaching to typescript server as well

whxcode commented 1 year ago

Are you attaching the lsp servers manually? if so make sure you are attaching to typescript server as well

Thanks for the answer; but I can be sure that the tsserver is linked

whxcode commented 1 year ago

Are you attaching the lsp servers manually? if so make sure you are attaching to typescript server as well

Sorry; sure enough I didn't configure it correctly. Thanks for your help.