I’ve been having issues making kak-lsp work with tsx files… by default .ts
files work perfectly… but once you add JSX
, all hell breaks loose.
After digging around, finally found this github issue
adding
[language.tsx]
filetypes = ["typescript"]
roots = ["package.json", "tsconfig.json"]
command = "typescript-language-server"
args = ["--stdio"]
to your kak-lsp.toml
makes it work with .tsx
files!