-
Notifications
You must be signed in to change notification settings - Fork 25
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
HdevtoolsType generates errors as if not configured using hdevtools_options #32
Comments
It looks like the problem might be that Note that it is important that you run vim from your project root directory, so that the relative paths will work |
I normally do run vim from root... this said, not always. Thank you for reminding me. I'll try it out again and report back accordingly. This all said, my vim configuration enables the working directory to change based on the current buffer ( Update: I tried it out making sure I started from root... it works. I opened vim from somewhere else, it fails. Thank you for figuring this out. Key question: Does the plugin record the root directory once when first opened? In other words, can the plugin operate with the vim register |
It is likely that During a single session, all invocations of the The plugin uses
It may be possible to modify this plugin to work well with |
When starting vim from the root project directly, to open a file elsewhere in the project, I'll report back on what the output is when the plugin fails while using |
Hello, working with vim (nvim) with the integration of
hdevtools
improves my workflow a great deal. Thank you for this contribution.Issue
When I call
HdevtoolsType
from vim's command line I get errors that say the binary can't find the modules in the project. I suspect this is an issue because of the following:hdevtools check -g -isrc -g -Wall -g -hide-package -g transformers src/Render/Pre.hs
works as expectedecho hdevtools_options
I get what is expect:-g -isrc -g -Wall -g -hide-package -g transformers
... so why might I be getting the following when I call
HdevtoolsType
from vim's command line?Finally, when I look at the list of files searched, it seems to find them!
Thank you in advance for any pointers to resolving this issue.
- E
The text was updated successfully, but these errors were encountered: