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

Passing variables from .ycm_extra_conf.py to vim #4297

Open
ZaharChernenko opened this issue Mar 25, 2025 · 0 comments
Open

Passing variables from .ycm_extra_conf.py to vim #4297

ZaharChernenko opened this issue Mar 25, 2025 · 0 comments

Comments

@ZaharChernenko
Copy link

I know i can pass variables from vim to python code like this:

def Settings( **kwargs ):
  client_data = kwargs[ 'client_data' ]
  return {
    'interpreter_path': client_data[ 'g:ycm_python_interpreter_path' ],
    'sys_path': client_data[ 'g:ycm_python_sys_path' ]
  }

but is it possible to do it the other way around?
Or it is possible to get the path to variables from another way, especially completer python interpreter path like on the screen from YcmDebugInfo
Image

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

1 participant