YouCompleteMe/python/completers
Johann Klähn e9cce29761 Ask before loading .ycm_extra_conf.py files
To prevent the execution of malicious code the new default is
to ask the user before a `.ycm_extra_conf.py` file is loaded.
This can be disabled using the option `g:ycm_confirm_extra_conf`.

This commit introduces a helper class `FlagsModules` that keeps track of
and caches the currently loaded modules. To introduce further criteria
for a module look at `FlagsModules.ShouldLoad`.

Also `:YcmDebugInfo` now lists the file that was used to determine
the current set of flags.

`Flags.ModuleForFile` could be used in a user-facing command that
opens the `.ycm_extra_conf.py` corresponding to the current file.
A second command could then force a reloding of this module via
`Flags.ReloadModule`.
2013-02-26 11:16:26 +01:00
..
all Add GetBoolValue helper in vimsupport 2013-02-25 10:50:39 +01:00
c No error when no clang support and cpp file opened 2013-01-13 20:56:10 -08:00
cpp Ask before loading .ycm_extra_conf.py files 2013-02-26 11:16:26 +01:00
objc No error when no clang support and cpp file opened 2013-01-13 20:56:10 -08:00
objcpp No error when no clang support and cpp file opened 2013-01-13 20:56:10 -08:00
__init__.py Initial, rough version of completer separation 2012-08-04 17:46:54 -07:00
completer.py More doc updates for Completer API 2013-02-16 13:33:19 -08:00