Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Question: should this plugin be installed with the lspconfig? #65

Open
dustinboston opened this issue Mar 17, 2023 · 1 comment
Open

Comments

@dustinboston
Copy link

I'm still early in my transition to the neovim ecosystem of plugins.
I have typescript configured with the lspconfig settings and it seems to be working.

lspconfig.tsserver.setup {
    capabilities = capabilities,
    on_attach = on_attach
}

However, most of the files I'm working with look like this:

image

I also have treesitter installed and typescript configured there as well.
So I thought it might help to install typescript.nvim to get better language support.
Is this right?

@jose-elias-alvarez
Copy link
Owner

Yes, this plugin depends on nvim-lspconfig but has a different setup method. You should follow the instructions there and make sure you are no longer calling lspconfig.tsserver.setup anywhere in your config.

As for your highlighting issues - it looks like it has something to do with your treesitter config and / or colorscheme, neither of which is LSP-related.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants