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

Make it possible to extend code path with configurable wildcard #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kjellwinblad
Copy link

This PR adds a configuration variable that makes it possible to extend the code path that is used to search for modules. All the directories that matches the wildcard in the variable will be added to the code path. This option is useful when vim-erlang-omnicomplete cannot figure out where modules are based on the project structure. For example, the EMQX project (https://github.com/emqx/emqx) uses a fork of rebar3 for building which vim-erlang-omnicomplete cannot handle.

This commit adds a configuration variable that makes it possible to
extend the code path that is used to search for modules. All the
directories that matches the wildcard in the variable will be added to
the code path. This option is useful when vim-erlang-omnicomplete cannot
figure out where modules are based on the project structure. For
example, the EMQX project (https://github.com/emqx/emqx) uses a fork of
rebar3 for building which vim-erlang-omnicomplete cannot handle.
@hcs42 hcs42 self-assigned this Nov 21, 2023
@hcs42
Copy link
Member

hcs42 commented Nov 21, 2023

Thank you!

(1) Would you add a type spec and a docstring to the newly introduced function?

(2) Would you be up for extending https://github.com/vim-erlang/vim-erlang to test the Erlang side of the new functionality?

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

Successfully merging this pull request may close these issues.

None yet

2 participants