Skip to content

Commit

Permalink
Print to the output tab instead of showing a dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrocha committed Sep 30, 2024
1 parent c4f78a7 commit b702bec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ruby_lsp/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ def text_document_did_open(message)
if document.past_expensive_limit?
send_message(
Notification.new(
method: "window/showMessage",
params: Interface::ShowMessageParams.new(
method: "window/logMessage",
params: Interface::LogMessageParams.new(
type: Constant::MessageType::WARNING,
message: "This file is too long. For performance reasons, semantic highlighting and " \
"diagnostics will be disabled",
Expand Down

0 comments on commit b702bec

Please sign in to comment.