Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grammarly-languageserver is deprecated #1821

Open
3 tasks done
vaavaav opened this issue Oct 28, 2024 · 1 comment
Open
3 tasks done

grammarly-languageserver is deprecated #1821

vaavaav opened this issue Oct 28, 2024 · 1 comment

Comments

@vaavaav
Copy link

vaavaav commented Oct 28, 2024

I've searched open issues for similar requests

  • Yes

I've manually reviewed logs to find potential errors

  • Yes

I've recently downloaded the latest plugin version of mason.nvim

  • Yes

Problem description

Since mid 2024, the Grammarly LSP has been archived (see here) because Grammarly discontinued their "Grammarly for Developers" and the "Text Editor SDK" (see their official notice and npm package).

As such, the grammarly-languageserver should be correctly marked as "deprecated".

Expected behavior

grammarly-languageserver should mark the text with grammar errors, potential corrections, or any other text-related suggestions.

Steps to reproduce

  1. Install grammarly-languageserver with Mason (:MasonInstall grammarly-languageserver)
  2. Open a supported file type, such as markdown.
  3. Run :LspInfo
  4. Obtained configuration for grammarly:
- Config: grammarly
  filetypes:         markdown
  cmd:               ~/.local/share/nvim/mason/bin/grammarly-languageserver --stdio
  version:           `?` (Failed to get version) Tried:
  `/home/vaavaav/.local/share/nvim/mason/bin/grammarly-languageserver --version`
  `/home/vaavaav/.local/share/nvim/mason/bin/grammarly-languageserver -version`
  `/home/vaavaav/.local/share/nvim/mason/bin/grammarly-languageserver version`
  `/home/vaavaav/.local/share/nvim/mason/bin/grammarly-languageserver --help`
  
  executable:        true
  autostart:         true
  root directory:    ~/Not found.
  custom handlers:   $/updateDocumentState

Docs for active configs: ~
- grammarly docs: >markdown
  
  https://github.com/znck/grammarly
  
  `grammarly-languageserver` can be installed via `npm`:
  
  ```sh
  npm i -g grammarly-languageserver
  ```
  
  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.

Affected packages

grammarly-languageserver

Neovim version (>= 0.7)

NVIM v0.10.2
Build type: RelWithDebInfo
LuaJIT 2.1.1727870382

Operating system/version

Linux xpto 6.11.4-arch2-1 #1 SMP PREEMPT_DYNAMIC Sun, 20 Oct 2024 18:20:12 +0000 x86_64 GNU/Linux

Healthcheck

mason: require("mason.health").check()

mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- OK Providers: 
    mason.providers.registry-api
    mason.providers.client
- OK neovim version >= 0.7.0

mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2024-10-28-plant-lock` is installed.

mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send`
- OK wget: `GNU Wget 1.24.5 built on linux-gnu.`
- OK curl: `curl 8.10.1 (x86_64-pc-linux-gnu) libcurl/8.10.1 OpenSSL/3.3.2 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.63.0 nghttp3/1.6.0`
- OK gzip: `gzip 1.13`
- OK tar: `tar (GNU tar) 1.35`
- OK bash: `GNU bash, version 5.2.37(1)-release (x86_64-pc-linux-gnu)`
- OK sh: `Ok`

mason.nvim [Languages] ~
- WARNING luarocks: not available
  - ADVICE:
    - spawn: luarocks failed with exit code - and signal -. luarocks is not executable
- WARNING Composer: not available
  - ADVICE:
    - spawn: composer failed with exit code - and signal -. composer is not executable
- WARNING PHP: not available
  - ADVICE:
    - spawn: php failed with exit code - and signal -. php is not executable
- WARNING Ruby: not available
  - ADVICE:
    - spawn: ruby failed with exit code - and signal -. ruby is not executable
- WARNING RubyGem: not available
  - ADVICE:
    - spawn: gem failed with exit code - and signal -. gem is not executable
- WARNING javac: not available
  - ADVICE:
    - spawn: javac failed with exit code - and signal -. javac is not executable
- WARNING java: not available
  - ADVICE:
    - spawn: java failed with exit code - and signal -. java is not executable
- WARNING julia: not available
  - ADVICE:
    - spawn: julia failed with exit code - and signal -. julia is not executable
- OK Go: `go version go1.23.2 linux/amd64`
- WARNING cargo: not available
  - ADVICE:
    - spawn: cargo failed with exit code 1 and signal 0. error: rustup could not choose a version of cargo to run, because one wasn't specified explicitly, and no default is configured.
      help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain.
      
- OK python: `Python 3.12.7`
- OK node: `v22.10.0`
- WARNING pip: not available
  - ADVICE:
    - spawn: python3 failed with exit code 1 and signal 0. /usr/bin/python3: No module named pip
      
- OK python venv: `Ok`
- OK npm: `10.9.0`

mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 2. Remaining: 58. Limit: 60. Reset: Mon 28 Oct 2024 02:57:47 PM WET.
  Install and authenticate via gh-cli to increase rate limit.

Screenshots or recordings

image
image
image

@mahyarmirrashed
Copy link

Emacs has their own for it, has anyone made a replacement here for Vim/Nvim?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants