Skip to content

feat: typescript-tools.vim integration#78

Open
davidmh wants to merge 1 commit intodmmulroy:mainfrom
davidmh:feat/typescript-tools-integration
Open

feat: typescript-tools.vim integration#78
davidmh wants to merge 1 commit intodmmulroy:mainfrom
davidmh:feat/typescript-tools-integration

Conversation

@davidmh
Copy link
Copy Markdown
Contributor

@davidmh davidmh commented Jan 15, 2026

We can reuse the translations displayed in the quickfix window in the actual diagnostics sent by the LSP server.

typescript-tools.nvim provides a way to override the textDocument/publishDiagnostics handler. We can intercept the diagnostics and with a small reformat, we can feed it into the translate helper.

Note that we're not including the TS<code>: prefix to let each user format the diagnostics however they want.

Screenshot 2026-01-15 at 10 05 02

We can reuse the translations displayed in the quickfix window in the
actual diagnostics sent by the LSP server.

typescript-tools.nvim provides a way to override the
`textDocument/publishDiagnostics` handler. We can intercept the
diagnostics and with a small reformat, we can feed it into the `translate` helper.

Note that we're not including the `TS<code>:` prefix to let each user
format the diagnostics however they want.
@davidmh davidmh force-pushed the feat/typescript-tools-integration branch from dc7a856 to 3e42223 Compare January 15, 2026 18:15
@davidmh davidmh marked this pull request as ready for review January 15, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant