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

Update Nimble file checks to work with Atlas and Nimbus build system #154

Open
elcritch opened this issue Jan 30, 2024 · 4 comments
Open
Labels
enhancement New feature or request

Comments

@elcritch
Copy link

Some projects don't / can't use Nimble. It'd be great to have support for projects using Atlas (or the older Nimbus build system). My previous tests with nimlangserver resulted in a bunch of nimble errors occuring.

Idealling this could be done by modifying to check for a nim.cfg which specifies a --noNimblePath switch. I'm not sure if Nim's dump config will specifies that or not.

Alternatively, a nimlangserver config to manually disable using Nimble would work as well.

@elcritch
Copy link
Author

I also wonder if it's possible to replace the getProjectFileAutoGuess with running nim to dump the path configs?

Would running nim dump --verbosity:0 --dump.format:json dump.json | jq give all the path info necessary? It seems like it's just trying to find paths, but I haven't dug into getProjectFileAutoGuess to see exactly what it's getting.

@dreamflow
Copy link

dreamflow commented Jan 30, 2024

nimlangserver binaries don't need to be compiled
anymore for common platforms .
after each commit , automatically compiled
fresh new binaries are available at
https://github.com/nim-lang/langserver/releases

@nickysn nickysn added the enhancement New feature or request label Jan 30, 2024
@elcritch
Copy link
Author

nimlangserver binaries don't need to be compiled anymore for common platforms . after each commit , automatically compiled fresh new binaries are available at https://github.com/nim-lang/langserver/releases

Did you mean to post this elsewhere @dreamflow?

@dreamflow
Copy link

Did you mean to post this elsewhere @dreamflow?

no , but seems like i misunderstood your first
question( nimble , atlas , older build system , ... ) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants