Skip to content

Commit ce452e5

Browse files
committed
code: give more info
1 parent c52b89d commit ce452e5

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

lsp-grammarly.el

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -363,15 +363,6 @@ fragments that may be intentional."
363363
;; (@* "Login" )
364364
;;
365365

366-
(defconst lsp-grammarly--cookie-key "vscode-grammarly-cookie"
367-
"Key to store credentials.")
368-
369-
(defconst lsp-grammarly--account "default"
370-
"Key that Grammarly LSP default to.")
371-
372-
(defvar lsp-grammarly--password-string nil
373-
"Encrypted password in string.")
374-
375366
(defvar lsp-grammarly--password nil
376367
"Encrypted password in alist.")
377368

@@ -497,17 +488,17 @@ For argument CALLBACK, see object `lsp--client' description."
497488
(defun lsp-grammarly-check-grammar ()
498489
"Start the Grammarly checker."
499490
(interactive)
500-
(user-error "[INFO] This command is currently disabled"))
491+
(user-error "[INFO] This command is currently disabled, and it will be added back in the later version"))
501492

502493
(defun lsp-grammarly-stop ()
503494
"Stop the Grammarly checker."
504495
(interactive)
505-
(user-error "[INFO] This command is currently disabled"))
496+
(user-error "[INFO] This command is currently disabled, and it will be added back in the later version"))
506497

507498
(defun lsp-grammarly-stats ()
508499
"Return document state."
509500
(interactive)
510-
(user-error "[INFO] This command is currently disabled"))
501+
(user-error "[INFO] This command is currently disabled, and it will be added back in the later version"))
511502

512503
;;
513504
;; (@* "Login" )
@@ -516,12 +507,12 @@ For argument CALLBACK, see object `lsp--client' description."
516507
(defun lsp-grammarly-login ()
517508
"Login to Grammarly.com."
518509
(interactive)
519-
(user-error "[INFO] This command is currently disabled"))
510+
(user-error "[INFO] This command is currently disabled, and it will be added back in the later version"))
520511

521512
(defun lsp-grammarly-logout ()
522513
"Logout from Grammarly.com."
523514
(interactive)
524-
(user-error "[INFO] This command is currently disabled"))
515+
(user-error "[INFO] This command is currently disabled, and it will be added back in the later version"))
525516

526517
(provide 'lsp-grammarly)
527518
;;; lsp-grammarly.el ends here

0 commit comments

Comments
 (0)