brymer-meneses / grammar-guard.nvim

Grammar Guard is a Neovim plugin that checks your grammar as you write your LaTeX, Markdown or plain text document.
Apache License 2.0
155 stars 5 forks source link

Let the user choose how to install ltex-ls #9

Open doums opened 2 years ago

doums commented 2 years ago

Hi,

It might be better not to make nvim-lsp-installer a mandatory dependency as it is, and make it optional. I think there are a lot of people who don't use it (including me). And I just don't want to install it just to be able to use this plugin. In the other hand, you could simply check if ltex-ls binary is present in the system (eg. using fn.executable()), if not fallback to ask the user to install it, either on its own or using nvim-lsp-installer through the command :GrammarInstall.

Currently, I have ltex-ls installed on my system, but I can't use the plugin, which is a stupid situation when we think about it.

https://github.com/brymer-meneses/grammar-guard.nvim/pull/10