Closed astyagun closed 6 years ago
After reading #2 and #3 I'll add, that I'm running MacVim:
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Dec 22 2017 03:30:17)
macOS version
Included patches: 1-1420
My guess is that 'omnifunc'
in issue #2 returned incorrect start position when called with first argument equal 0
. Assuming that my current 'omnifunc'
returns correct start position.
I confirmed your PR works correctly. Thanks !
Not sure how this syntax works or if this is even a good idea to make this change, but it fixed completion for me. Omni function I'm using is here: https://github.com/astyagun/dotvim/blob/e0442d56873312b53d9914776d028f82d97d2fe8/my_plugin/global_complete.vim