aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/server_configurations.md35
-rw-r--r--doc/server_configurations.txt35
2 files changed, 70 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index fb934374..2e9624a7 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -45,6 +45,7 @@ that config. This file is accessible in neovim via `:help lspconfig-server-confi
- [ghcide](#ghcide)
- [golangci_lint_ls](#golangci_lint_ls)
- [gopls](#gopls)
+- [grammarly](#grammarly)
- [graphql](#graphql)
- [groovyls](#groovyls)
- [haxe_language_server](#haxe_language_server)
@@ -1886,6 +1887,40 @@ require'lspconfig'.gopls.setup{}
```
+## grammarly
+
+https://github.com/emacs-grammarly/unofficial-grammarly-language-server
+
+`unofficial-grammarly-language-server` can be installed via `npm`:
+
+```sh
+npm i -g @emacs-grammarly/unofficial-grammarly-language-server
+```
+
+WARNING: Since this language server uses Grammarly's API, any document you open with it running is shared with them. Please evaluate their [privacy policy](https://www.grammarly.com/privacy-policy) before using this.
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.grammarly.setup{}
+```
+
+**Commands and default values:**
+```lua
+ Commands:
+
+ Default Values:
+ cmd = { "unofficial-grammarly-language-server", "--stdio" }
+ filetypes = { "markdown" }
+ handlers = {
+ ["$/updateDocumentState"] = <function 1>
+ }
+ root_dir = util.find_git_ancestor
+ single_file_support = true
+```
+
+
## graphql
https://github.com/graphql/graphiql/tree/main/packages/graphql-language-service-cli
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index fb934374..2e9624a7 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -45,6 +45,7 @@ that config. This file is accessible in neovim via `:help lspconfig-server-confi
- [ghcide](#ghcide)
- [golangci_lint_ls](#golangci_lint_ls)
- [gopls](#gopls)
+- [grammarly](#grammarly)
- [graphql](#graphql)
- [groovyls](#groovyls)
- [haxe_language_server](#haxe_language_server)
@@ -1886,6 +1887,40 @@ require'lspconfig'.gopls.setup{}
```
+## grammarly
+
+https://github.com/emacs-grammarly/unofficial-grammarly-language-server
+
+`unofficial-grammarly-language-server` can be installed via `npm`:
+
+```sh
+npm i -g @emacs-grammarly/unofficial-grammarly-language-server
+```
+
+WARNING: Since this language server uses Grammarly's API, any document you open with it running is shared with them. Please evaluate their [privacy policy](https://www.grammarly.com/privacy-policy) before using this.
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.grammarly.setup{}
+```
+
+**Commands and default values:**
+```lua
+ Commands:
+
+ Default Values:
+ cmd = { "unofficial-grammarly-language-server", "--stdio" }
+ filetypes = { "markdown" }
+ handlers = {
+ ["$/updateDocumentState"] = <function 1>
+ }
+ root_dir = util.find_git_ancestor
+ single_file_support = true
+```
+
+
## graphql
https://github.com/graphql/graphiql/tree/main/packages/graphql-language-service-cli