Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support lsp >= 1.19 #970

Merged
merged 7 commits into from
Jan 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
debug for nix
gares committed Jan 13, 2025
commit 15485556ece4be464a2e65142d0fe9aef41ecf28
2 changes: 1 addition & 1 deletion language-server/dm/documentManager.ml
Original file line number Diff line number Diff line change
@@ -134,7 +134,7 @@ let observe_id_range st =

let is_parsing st = st.document_state = Parsing

[%%if lsp = "1.5" || lsp = "1.6" || lsp = "1.7" || lsp = "1.8" || lsp = "1.9" || lsp = "1.10" || lsp = "1.11" || lsp = "1.12" || lsp = "1.13" || lsp = "1.14" || lsp = "1.15" || lsp = "1.16" || lsp = "1.17" || lsp = "1.18" ]
[%%if (show lsp) = "1.5" || lsp = "1.6" || lsp = "1.7" || lsp = "1.8" || lsp = "1.9" || lsp = "1.10" || lsp = "1.11" || lsp = "1.12" || lsp = "1.13" || lsp = "1.14" || lsp = "1.15" || lsp = "1.16" || lsp = "1.17" || lsp = "1.18" ]
let message_of_string x = x
[%%else]
let message_of_string x = `String x