Closed kplattret closed 1 month ago
The requireConfig
option was added after the documentation for several editors. Personally I use Visual Studio code. The updated documentation for other editors could be slightly wrong. It uses the requireConfig
setting from the remark
section. You probably know what that means in NeoVim better than I do. :)
I’m guessing it should look something like this:
require'lspconfig'.remark_ls.setup {
settings = {
remark = {
requireConfig = true
}
}
}
Or this:
require'lspconfig'.remark_ls.setup {
settings = {
'remark.requireConfig' = true
}
}
Thanks @remcohaszing, that first suggestion did the trick! 🙇
Hi! This was closed. Team: If this was fixed, please add phase/solved
. Otherwise, please add one of the no/*
labels.
I’m glad it works! But which suggestion worked? (The first, I didn’t read properly.) We need to update our documentation.
Hi! This was marked as ready to be worked on! Note that while this is ready to be worked on, nothing is said about priority: it may take a while for this to be solved.
Is this something you can and want to work on?
Team: please use the area/*
(to describe the scope of the change), platform/*
(if this is related to a specific one), and semver/*
and type/*
labels to annotate this. If this is first-timers friendly, add good first issue
and if this could use help, add help wanted
.
Initial checklist
Affected packages and versions
remark-language-server@3.0.0
Link to runnable example
No response
Steps to reproduce
remark-language-server 3.0.0
nodejs 18.20.2
npm 10.5.0
Add
remark_ls
to NeoVim using steps from the README.md (usingnvim-lspconfig
).Expected behavior
It should work out of the box and I should be able to set
requireConfig = true
without any issue.Actual behavior
I get the following error consistently, no matter what I try:
Runtime
Other (please specify in steps to reproduce)
Package manager
Other (please specify in steps to reproduce)
OS
macOS
Build and bundle tools
Other (please specify in steps to reproduce)