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

Standard import paths are not working #644

Open
tastyminerals opened this issue Aug 6, 2021 · 1 comment
Open

Standard import paths are not working #644

tastyminerals opened this issue Aug 6, 2021 · 1 comment

Comments

@tastyminerals
Copy link

I followed the README and set

" Dutyl plugin for D
let g:dutyl_stdImportPaths=['/Users/pavel/.local/share/ldc2/import/std']

However, I am getting the following output when trying to trigger completions.

2021-08-06T16:53:01.517 [info] main.d:296:runServer Getting completions
2021-08-06T16:53:01.518 [warning] first.d:384:visit Could not locate object.d or object.di
2021-08-06T16:53:01.518 [warning] first.d:481:visit Could not resolve location of module 'std/stdio'
2021-08-06T16:53:01.518 [warning] first.d:481:visit Could not resolve location of module 'std/net/curl'
2021-08-06T16:53:01.518 [warning] first.d:481:visit Could not resolve location of module 'std/json'
2021-08-06T16:53:01.518 [warning] first.d:481:visit Could not resolve location of module 'std/format'
2021-08-06T16:53:01.518 [warning] first.d:560:visit Could not resolve location of module 'immutable(istring)("std/file")'
2021-08-06T16:53:01.518 [warning] first.d:560:visit Could not resolve location of module 'immutable(istring)("std/path")'
2021-08-06T16:53:01.518 [info] main.d:313:runServer Request processed in 0 milliseconds
@WebFreak001
Copy link
Member

you should set the paths to ['/Users/pavel/.local/share/ldc2/import'] because now it searches e.g. std/stdio inside /Users/pavel/.local/share/ldc2/import/std/std/stdio

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

No branches or pull requests

2 participants