Skip to content

TSServer >=4.1.0 never publishes textDocument/publishDiagnostics event (NeoVim) #816

Answered by rchl
cdimitroulas asked this question in Q&A
Discussion options

You must be logged in to vote

Your client sends very limited capabilities which don't include the textDocument.publishDiagnostics capability:

{
    id = 1, jsonrpc = "2.0", method = "initialize", params = {
        capabilities = {
            textDocument = {
                completion = {
                    completionItem = {
                        commitCharactersSupport = true,
                        deprecatedSupport = true,
                        insertReplaceSupport = true,
                        insertTextModeSupport = {
                            valueSet = {
                                1,
                                2
                            }
                        },
                    …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cdimitroulas
Comment options

Answer selected by cdimitroulas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #815 on November 16, 2023 20:01.