File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -581,14 +581,12 @@ for more information on the metals \"files-decode\" command."
581
581
" Generate doctor buffer name for the WORKSPACE."
582
582
(format " *Metals Doctor: %s * " (process-id (lsp--workspace-cmd-proc workspace))))
583
583
584
- (defun lsp-metals--doctor-run (workspace &optional html? )
584
+ (defun lsp-metals--doctor-run (workspace html )
585
585
" Focus on a window displaying troubleshooting help from the Metals doctor.
586
586
HTML is the help contents.
587
587
WORKSPACE is the workspace the client command was received from."
588
- (if (not html?)
589
- (lsp-send-execute-command " doctor-run" ())
590
- (pop-to-buffer (lsp-metals--generate-doctor-buffer-name workspace))
591
- (lsp-metals--render-html html?) ))
588
+ (pop-to-buffer (lsp-metals--generate-doctor-buffer-name workspace))
589
+ (lsp-metals--render-html html))
592
590
593
591
(defun lsp-metals--doctor-reload (workspace html )
594
592
" Reload the HTML contents of an open Doctor window, if any.
You can’t perform that action at this time.
0 commit comments