How can we get the requirement for local installation of remark
removed?
#960
-
I have a lot of Markdown files where I don’t use Node. The requirement of having to have I have seen some issues and PRs for
I’m using (Frankly, I consider this a bug, but the “bug report” and "feature request" forms on |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 18 replies
-
We use forms because people don’t provide needed info. And this is an example: we can help you much better if you provide more info. I personally agree with you that some folks want to use |
Beta Was this translation helpful? Give feedback.
-
I think the definition and workings of a language server can be more generic than batteries-included majority of language servers. This is because most of them, which we have grown accustomed to, take the (opinionated) convention over configuration route. And that makes sense, because LSPs like gopls, tsserver, rust-analyser, etc tell you what's right or wrong, like an unused import. You can take that route because you can assume no one will object to getting an warning about that unused import. Markdown, however, doesn't really have errors or warnings that everyone agrees on for that matter. So when it comes to having remark-language-server work out-of-the-box, you have to ask yourself what would it lint? or format? There are hundreds of plugins doing all kinds of highly opinionated things. Secondly, most language servers are used standalone. Meaning its config is only used for that. But with remark it's likely the project at hand already has a config file and is being used by remark node or remark CLI, but you just want to have additional editor hints. It's good to share those settings. I'm not completely against making remark-language-server work out-of-the-box but I'm afraid it wouldn't do much by default. |
Beta Was this translation helpful? Give feedback.
-
This question is fundamentally unanswerable given the discussion above. |
Beta Was this translation helpful? Give feedback.
-
I am also currently running into this issue over here: williamboman/nvim-lsp-installer#519 I generally just want to install |
Beta Was this translation helpful? Give feedback.
-
my workaround - ugly but works: remark will search upwards your path to find its "local installation", ignoring all cd
npm install remark Also, same style: ~ ❯ cat .remarkrc.yml # my example conf, also global:
settings:
bullet: "-"
rule: "-" yeah, you end up with a funny |
Beta Was this translation helpful? Give feedback.
I think the definition and workings of a language server can be more generic than batteries-included majority of language servers. This is because most of them, which we have grown accustomed to, take the (opinionated) convention over configuration route. And that makes sense, because LSPs like gopls, tsserver, rust-analyser, etc tell you what's right or wrong, like an unused import. You can take that route because you can assume no one will object to getting an warning about that unused import.
Markdown, however, doesn't really have errors or warnings that everyone agrees on for that matter. So when it comes to having remark-language-server work out-of-the-box, you have to ask yourself w…