-
Notifications
You must be signed in to change notification settings - Fork 34
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
How to start ? #30
Comments
@yyoncho sorry for the ping, ^. |
@zah ^. |
same error. latest nim devel. nimlsp at least works (without async on windows) |
I've got the same error. Does anyone know which version of Nim this works with? I'm on neovim as well, and have tried using Nim version 1.6, 2.0, and devel. I had the following config working in neovim at some point but I can't remember which versions of langserver and nim I was using: config.nim_langserver.setup {
on_new_config = function(new_config, new_root_dir)
new_config.rootUri = ([[file://%s]]):format(new_root_dir)
end,
root_dir = function(filename)
return config.util.root_pattern[[*.nimble]](filename) or
config.util.root_pattern[[config.nims]](filename) or
config.util.root_pattern[[*.cfg]](filename) or
config.util.root_pattern[[*.nimcfg]](filename) or
config.util.root_pattern[[*.nims]](filename) or
config.util.root_pattern[[.nvim]](filename) or
config.util.root_pattern[[.git]](filename) or
config.util.root_pattern[[main.nim]](filename) or
config.util.root_pattern[[*.nim]](filename)
end,
settings = {
-- We are using null-ls for checking.
checkOnSave = false,
autoCheckFile = false,
autoCheckProject = false,
},
} |
Should be fixed in 6f25160 |
still same error for me
|
|
i clone repo and do ...
Info: Dependency on https://github.com/nickysn/asynctools@#fixes_for_nimlangserver already satisfied
...
Info: Dependency on unittest2@any version already satisfied
Verifying dependencies for unittest2@0.0.6
Installing https://github.com/yyoncho/asynctools@#non-blocking
Downloading https://github.com/yyoncho/asynctools using git
Verifying dependencies for asynctools@#non-blocking
Installing asynctools@#non-blocking
Success: asynctools installed successfully.
... maybe it's installing both versions and using the last one?
|
i think i swapped lines in requires "nim >= 1.0.0",
"https://github.com/yyoncho/nim-json-rpc#notif-changes",
"https://github.com/nickysn/asynctools#fixes_for_nimlangserver",
"with",
"chronicles" package order matters. |
now it starts but it doesn't respond to any requests. |
@AmjadHD any logs? |
nvm, it was fixed by #79 |
same error
|
error when using mingw:
msvc
|
@lost22git @sixwaaaay i was having "Shutting down due to an error: The system cannot find the path specified" because nimble was old and it was using old and broken asynctools branch when building nimlangserver. |
it still error
|
This has been fixed in the latest release. We also provide binaries, in case you have trouble building from source. |
After building with Nim 81b7f9108f139bbf237f3e121fdbe9ff32a7193f, I ran the generated exe and got this:
Note: I'm on Windows.
The text was updated successfully, but these errors were encountered: