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

generate dictionary/omnifunc completion database on demand #3

Open
drichardson opened this issue Jun 1, 2019 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@drichardson
Copy link
Owner

Since this plugin can be used with any version of Houdini, it should be able to generate the dictionary/omnifunc completion database on demand in case new VEX functions are added.

@drichardson drichardson added the enhancement New feature or request label Jun 1, 2019
@drichardson
Copy link
Owner Author

If started as an external editor from Houdini, the HFS environment variable will be set. Could use this to select/write to a Houdini version specific completion database.

For example, suppose you're running Houdini 17.5.229 and you launch Vim as your external editor for the first time after installing vex.vim, vex.vim would:

  1. Look for a file called database-17.5.229.txt. If found, use it and stop.
  2. If not found, generate the database using vcc found at $HFS/bin/vcc, where $HFS is the Houdini install environment variable.

If not started from Houdini, need to figure out a way to select the correct context for completion. That will be addressed in another issue.

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

1 participant