b923431d7d
On Python 3, evaluating a Vim expression will raise a unicode exception if it contains an invalid sequence of bytes for the current encoding. We can't really do anything about it because this is the way Vim and Python 3 interact. However, we can prevent this situation to occur by not evaluating Vim data that we have no control over: in particular, the Vim globals. This is done by: - adding one by one the YCM default options instead of extending the Vim globals with them; - only evaluating the Vim global variable names (and not their values) when building the YCM options for the ycmd server. |
||
---|---|---|
.. | ||
client | ||
tests | ||
__init__.py | ||
base.py | ||
diagnostic_interface.py | ||
omni_completer.py | ||
paths.py | ||
setup.py | ||
syntax_parse.py | ||
test_utils.py | ||
unsafe_thread_pool_executor.py | ||
vimsupport.py | ||
youcompleteme.py |