Add typescriptreact to ts lsp config
All checks were successful
Run nix flake check / flake-check (push) Successful in 1m47s
Periodic flake update / flake-update (push) Successful in 1m21s

This commit is contained in:
Torjus Håkestad 2025-03-06 03:46:41 +01:00
parent b930385873
commit e59421d2a0
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4

View File

@ -17,7 +17,7 @@ lsp_zero.format_on_save({
['gopls'] = { 'go' },
['nil_ls'] = { 'nix' },
['lua_ls'] = { 'lua' },
['ts_ls'] = { 'typescript', 'javascript' },
['ts_ls'] = { 'typescript', 'javascript', 'typescriptreact' },
},
})
-- LSP: go
@ -120,6 +120,7 @@ lspconfig.ts_ls.setup({
filetypes = {
"typescript",
"javascript",
"typescriptreact",
},
})