Closed harshv5094 closed 1 year ago
I've figured it out, just needed to do some changes in .config/nvim/plugin/lspconfig.lua
nvim_lsp.tsserver.setup {
on_attach = on_attach,
filetypes = { "typescript", "typescriptreact", "typescript.tsx", "javascript", "javascriptreact" },
cmd = { "typescript-language-server", "--stdio" },
capabilities = capabilities
}
Hi! I Want to know whether Takuya's LSP Config works on JSX files for auto-completion and suggestions. Because I've been using the setup for the past few days but the setup doesn't show me any suggestions in '.jsx' files.
Could anyone help me with this issue?