Skip to content

Commit

Permalink
Run initialized directly without pushing to queue (#1927)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistock authored Apr 15, 2024
1 parent 2f20971 commit 164e017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby_lsp/base_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def start
# The following requests need to be executed in the main thread directly to avoid concurrency issues. Everything
# else is pushed into the incoming queue
case method
when "initialize", "textDocument/didOpen", "textDocument/didClose", "textDocument/didChange"
when "initialize", "initialized", "textDocument/didOpen", "textDocument/didClose", "textDocument/didChange"
process_message(message)
when "shutdown"
$stderr.puts("Shutting down Ruby LSP...")
Expand Down

0 comments on commit 164e017

Please sign in to comment.