From ce452e55774b6de02194783624332938400f731c Mon Sep 17 00:00:00 2001 From: Jen-Chieh Date: Mon, 9 May 2022 16:20:17 +0800 Subject: [PATCH] code: give more info --- lsp-grammarly.el | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/lsp-grammarly.el b/lsp-grammarly.el index 476a1fe..ab5ab17 100644 --- a/lsp-grammarly.el +++ b/lsp-grammarly.el @@ -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.") @@ -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" ) @@ -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