Skip to content

Commit

Permalink
code: give more info
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed May 9, 2022
1 parent c52b89d commit ce452e5
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions lsp-grammarly.el
Original file line number Diff line number Diff line change
Expand Up @@ -363,15 +363,6 @@ fragments that may be intentional."
;; (@* "Login" )
;;

(defconst lsp-grammarly--cookie-key "vscode-grammarly-cookie"
"Key to store credentials.")

(defconst lsp-grammarly--account "default"
"Key that Grammarly LSP default to.")

(defvar lsp-grammarly--password-string nil
"Encrypted password in string.")

(defvar lsp-grammarly--password nil
"Encrypted password in alist.")

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

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

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

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

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

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

0 comments on commit ce452e5

Please sign in to comment.