Skip to content

Conversation

jgmdev
Copy link
Contributor

@jgmdev jgmdev commented Sep 29, 2019

This error prevented the omnicomplete popup to showup when hitting an out of index error while reading a class variables list. Solution was to add a default empty string '' to the get call since get returns zero (0) by default which len is 1, another option would be get(variables, var_index) != 0 but I just thought about that :)

…lasses, which prevented the completion menu from showing.
@complex857 complex857 merged commit 0dc369a into shawncplus:master Sep 29, 2019
kana added a commit to kana/vim-phpcomplete that referenced this pull request Oct 12, 2021
* 'master' of https://github.com/shawncplus/phpcomplete.vim:
  chore: fix typos with codespell (shawncplus#127)
  Apply popup-content manipulation patch from @lacygoill
  Cleanups and an another "Can't change text here" bugfix
  Fix plugin for vim 8.2.2426 and 8.2.2427
  Add shortcut mapping to work in visual mode. (shawncplus#123)
  Fix for invalid index error when reading the variables from certain classes. (shawncplus#121)
  Fixed error messages displayed when extensions are missing. (shawncplus#120)
  Add filtering against functions removed since PHP 7.0.0 (shawncplus#119)
  Fix shawncplus#116 - jump to definition by tag line is not working
  Typofixes curtesy of Christ van Willegen
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

Successfully merging this pull request may close these issues.

2 participants