Skip to content

Commit 7275207

Browse files
committed
Switch to lsp-send-execute-command.
1 parent 567089f commit 7275207

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lsp-metals.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,12 +463,12 @@ Will invoke CALLBACK on success, ERROR-CALLBACK on error."
463463
(defun lsp-metals-new-scala-file ()
464464
"Create a new file either a class, object, trait, package object or worksheet."
465465
(interactive)
466-
(lsp--send-execute-command "new-scala-file" (concat "file://" default-directory)))
466+
(lsp-send-execute-command "new-scala-file" (concat "file://" default-directory)))
467467

468468
(defun lsp-metals-new-scala-project ()
469469
"Create a new Scala project using one of the available g8 templates."
470470
(interactive)
471-
(lsp--send-execute-command "new-scala-project"))
471+
(lsp-send-execute-command "new-scala-project"))
472472

473473
(defun lsp-metals-doctor-run ()
474474
"Open the Metals doctor to troubleshoot potential build problems."

0 commit comments

Comments
 (0)