simrat39 / symbols-outline.nvim

A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
MIT License
1.85k stars 97 forks source link

[Question] Does it work for Typescript files? #237

Open lcfd opened 8 months ago

lcfd commented 8 months ago

The symbols don't appear in the window when I'm in a Typescript file.

mattcoleanderson commented 8 months ago

Can confirm that it works in typescript. Just used it today. If the symbols aren't showing for you, it may be because you aren't using a NerdFont for your terminals font style. You can download one from: https://www.nerdfonts.com/#home and manually install. Otherwise I believe HomeBrew has a tool to do it for you. I use FiraCode

adamency commented 8 months ago

@manderson21 No one is talking about macos, stop recommending macos tools if no clear mention of this OS is made.

mattcoleanderson commented 8 months ago

@adamency Wow. Why the hostility? No comment was made about Windows or Linux either. My response was only to give an accounting of my experience with my OS.

And if it pleases you, I can also confirm that the symbols work for me on windows as well. Now we're just missing Linux.

If my mentioning of a macOS package manager didn't help OP, then at very least it may help someone else with a similar problem in the future.

This is GitHub, not Stack Overflow.

lcfd commented 8 months ago

Hi @manderson21 thank you for your suggestion! I'm using JetBrainsMono Nerd Font, and the plugin is working great with other languages, like Python.

It's only with Typescript 🤔 I'm having some problems also with TypescriptReact LSP (it's not showing me props suggestions), maybe it's a correlated problem.