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

Improve nimdir selection fixes #1256 #1257

Merged
merged 5 commits into from
Aug 12, 2024

Conversation

jmgomez
Copy link
Collaborator

@jmgomez jmgomez commented Aug 10, 2024

returns the nim directory prioritizing the nimBin one if it satisfais the requirement of the project
otherwise it returns the major version of the nim installed packages that satisfies the requirement of the project
if no nim package satisfies the requirement of the project it returns the nimBin parent directory
only used by the nimble dump command which is used to drive the lsp

  ## returns the nim directory prioritizing the nimBin one if it satisfais the requirement of the project
  ## otherwise it returns the major version of the nim installed packages that satisfies the requirement of the project (#TODO)
  ## if no nim package satisfies the requirement of the project it returns the nimBin parent directory
  ## only used by the `nimble dump` command which is used to drive the lsp
@jmgomez jmgomez changed the title Improvenimdirselection Improve nimdir selection fixes #1256 Aug 10, 2024
src/nimblepkg/nimenv.nim Outdated Show resolved Hide resolved
@jmgomez jmgomez merged commit fa4a244 into nim-lang:master Aug 12, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants