Skip to content

Conversation

@0xaaadnf
Copy link
Contributor

Summary

This PR fixes issue #179 by enabling open_close in TextDocumentSyncOptions.

Without this option, the server does not receive textDocument/didOpen
and textDocument/didClose notifications from some editors (e.g. Neovim).

Fix

Set open_close: Some(true) in the server capabilities configuration.

Fixes #179

@blopker
Copy link
Owner

blopker commented Dec 23, 2025

Thank you!

@blopker blopker merged commit 54a7e3c into blopker:main Dec 23, 2025
@0xaaadnf 0xaaadnf deleted the fix-missing-open-close-lsp-capabilities branch December 24, 2025 02:00
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.

[BUG]: Codebook LSP incorrectly reports lack of textDocument/didOpen support

2 participants