Skip to content
Merged
Changes from all commits
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
10 changes: 6 additions & 4 deletions lsp-dart-flutter-daemon.el
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,12 @@ Optionally use TEST to compare the hash keys."
("daemon.connected" (lsp-dart-flutter-daemon--send "device.enable"))
("daemon.logMessage" (lsp-dart-flutter-daemon--log (lsp-get (lsp-get json :params) :level)
(lsp-get (lsp-get json :params) :message))))
(with-temp-buffer
(jsonrpc-connection-receive conn (if lsp-use-plists
json
(lsp-dart-flutter-daemon--hash-table->plist json))))))))
(condition-case nil
(with-temp-buffer
(jsonrpc-connection-receive conn (if lsp-use-plists
json
(lsp-dart-flutter-daemon--hash-table->plist json))))
(quit nil))))))
(split-string response "\n")))))))

(defun lsp-dart-flutter-daemon--log (level msg &rest args)
Expand Down