YouCompleteMe/python/ycm
micbou 3086626448
Fix index error when applying a chunk at the end of file
When sending a request to the server, we add a newline to the buffer contents
to match what gets saved to disk. If the server generates a chunk containing
that newline, this chunk goes past the Vim buffer contents since there is
actually no new line, which raises an IndexError exception when applying the
chunk. We fix the issue by recomputing the end position of where the chunk is
applied and by removing all trailing characters in the chunk.
2018-03-19 14:28:28 +01:00
..
client Add range support to completer command 2018-02-12 01:50:08 +01:00
tests Fix index error when applying a chunk at the end of file 2018-03-19 14:28:28 +01:00
__init__.py Fixing python tests broken in rename 2013-05-19 20:06:14 -07:00
base.py Rewrite completion system 2017-06-21 02:32:57 +02:00
buffer.py Improve diagnostic matches display 2018-02-18 21:32:00 +01:00
diagnostic_filter.py Do not install aliases from future 2017-03-18 18:24:48 +01:00
diagnostic_interface.py Improve diagnostic matches display 2018-02-18 21:32:00 +01:00
omni_completer.py Add omnifunc tests 2017-07-07 22:45:05 +02:00
paths.py Drop Python 2.6 and Python 3.3 2018-01-30 18:34:50 +01:00
setup.py Add error messages when ycmd crashed 2016-05-02 23:08:32 +02:00
syntax_parse.py Add function to capture Vim command output 2018-02-18 14:06:09 +01:00
unsafe_thread_pool_executor.py Update flake8 config 2016-03-06 17:39:55 +00:00
vimsupport.py Fix index error when applying a chunk at the end of file 2018-03-19 14:28:28 +01:00
youcompleteme.py Improve diagnostic matches display 2018-02-18 21:32:00 +01:00