All Projects → emacs-grammarly → lsp-grammarly

emacs-grammarly / lsp-grammarly

Licence: GPL-3.0 License
lsp-mode ❤️ grammarly

Programming Languages

emacs lisp
2029 projects
Makefile
30231 projects

Projects that are alternatives of or similar to lsp-grammarly

lsp-ltex
lsp-mode ❤️ LTEX
Stars: ✭ 30 (-62.96%)
Mutual labels:  lsp, emacs-lsp
lsp-metals
lsp-mode ❤️ metals
Stars: ✭ 49 (-39.51%)
Mutual labels:  lsp, emacs-lsp
easy-hls-nix
Easy Haskell Language Server tooling with Nix!
Stars: ✭ 56 (-30.86%)
Mutual labels:  lsp
aurora
24-bit dark theme for (Neo)vim. Optimized for treesitter, LSP.
Stars: ✭ 141 (+74.07%)
Mutual labels:  lsp
lsp signature.nvim
LSP signature hint as you type
Stars: ✭ 915 (+1029.63%)
Mutual labels:  lsp
vscode-tenkawa-php
Visual Studio Code extension integrating Tenkawa PHP language server.
Stars: ✭ 28 (-65.43%)
Mutual labels:  lsp
ide-go
Go language support for Atom-IDE, powered by Sourcegraph's Go Language Server
Stars: ✭ 39 (-51.85%)
Mutual labels:  lsp
aerial.nvim
Neovim plugin for a code outline window
Stars: ✭ 485 (+498.77%)
Mutual labels:  lsp
CorrectLy
CorrectLy - Open Source Spelling & Grammar correction
Stars: ✭ 23 (-71.6%)
Mutual labels:  grammarly
sqls.nvim
Neovim plugin for sqls that leverages the built-in LSP client
Stars: ✭ 77 (-4.94%)
Mutual labels:  lsp
ltex-ls
LTeX Language Server: LSP language server for LanguageTool 🔍✔️ with support for LaTeX 🎓, Markdown 📝, and others
Stars: ✭ 182 (+124.69%)
Mutual labels:  lsp
coc-ccls
CCLS (C/C++) extension for coc.nvim
Stars: ✭ 20 (-75.31%)
Mutual labels:  lsp
LIPs
LUKSO Improvement Proposals. Repository for the LUKSO Blockchain Improvement Proposals (LIPs) and LUKSO Standards Process (LSP).
Stars: ✭ 39 (-51.85%)
Mutual labels:  lsp
lsp-origami
lsp-mode ❤️ origami.el
Stars: ✭ 33 (-59.26%)
Mutual labels:  lsp
lua-analyzer
A language server for lua written in rust
Stars: ✭ 56 (-30.86%)
Mutual labels:  lsp
lsp-wl
A Wolfram Language Server
Stars: ✭ 157 (+93.83%)
Mutual labels:  lsp
fzf-lsp.nvim
Enable the power of fzf fuzzy search for the neovim built in lsp
Stars: ✭ 143 (+76.54%)
Mutual labels:  lsp
lspactions
handlers for required lsp actions
Stars: ✭ 44 (-45.68%)
Mutual labels:  lsp
LuaHelper
LuaHelper is a High-performance lua VSCode plugin, Language Server Protocol for lua.
Stars: ✭ 170 (+109.88%)
Mutual labels:  lsp
lsp-fastaction.nvim
lsp codeaction UI for neovim
Stars: ✭ 39 (-51.85%)
Mutual labels:  lsp

License: GPL v3 MELPA MELPA Stable

lsp-grammarly

CI

lsp-mode client leveraging unofficial-grammarly-language-server.

Table of Contents

💾 Quickstart

(use-package lsp-grammarly
  :ensure t
  :hook (text-mode . (lambda ()
                       (require 'lsp-grammarly)
                       (lsp))))  ; or lsp-deferred

📇 Commands

List of commands interact with language server and Grammarly.com.

Commands Description
lsp-grammarly-login Login to Grammarly.com
lsp-grammarly-logout Logout from Grammarly.com
lsp-grammarly-check-grammar Start grammarly check for currnet document (buffer)
lsp-grammarly-stop Stop grammarly checker from current document (buffer)
lsp-grammarly-stats Log out current document status, score, readability, words count, etc.

🔧 Configuration

lsp-grammarly supports following configuration. Each configuration is described in detail in Grammarly Settings.

  • grammarly.autoActivate via lsp-grammarly-auto-activate
  • grammarly.audience via lsp-grammarly-audience
  • grammarly.dialect via lsp-grammarly-dialect
  • grammarly.domain via lsp-grammarly-domain
  • grammarly.emotions via lsp-grammarly-emotions
  • grammarly.goals via lsp-grammarly-goals
  • grammarly.userWords via lsp-grammarly-user-words
  • grammarly.overrides via lsp-grammarly-override

📝 Roadmap

List of todos, but I have not got time to implement these features.

  • Create another package that displays information from Grammarly.com (To display useful information, score, readability, word counts, etc).
  • Implement command Ignore Grammarly Issue.
  • Implement diagnostics and severity for configuration.

💸 Using a Paid Grammarly Account

NOTE: To login, make sure you have package keytar set up properly. See keytar#installation for setup instruction.

You can either login with vscode-grammarly using VSCode or hit M-x lsp-grammarly-login. They both share the same credentials so you can login with either side.

🔍 Method 1: Login with VSCode (easier)

Install VSCode and install extension vscode-grammarly from the extension panel.

Then call command palette (default to Ctrl+Shift+p) and type to search grammarly login command.

You should see Grammarly Website and login with your Grammarly account.

🎉 Make sure you click on the button Open Visual Studio Code. Done! You can now close VSCode and go back to Emacs!

🔍 Method 2: Login with Emacs (a bit complicated)

Hit M-x lsp-grammarly-login and you should see the Grammarly's website pop out from your favorite browser. See below screenshot,

After login, click the button Open URL:vscode, If you have VSCode installed, then this button would be Open Visual Studio Code instead yet it doesn't matter.

Then click F12 to open the DevTool window. You should able to see an URI like the following

Copy and paste the URI back to Emacs and hit return.

🎉 Done! Now you should be loggin!

Authentication from Grammarly website

Login with your Grammarly account (This step does not require VSCode to be installed)!

Contribute

PRs Welcome Elisp styleguide

If you would like to contribute to this project, you may either clone and make pull requests to this repository. Or you can clone the project and establish your own branch of this tool. Any methods are welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].