Fixed documentation to reflect more robust code#392
Fixed documentation to reflect more robust code#392eastwood wants to merge 1 commit intoervandew:masterfrom eastwood:patch-1
Conversation
As describes here: https://bitbucket.org/ns9tks/vim-autocomplpop/issue/51/a-z-a-z-auto-completes-to-acp-onpopuppost It's common for problems to occur, one of the main causes was that java files outside of eclim projects were throwing exceptions and causing the issue. I added a check to ensure this doesn't happen. =acp#onPopupPost()
|
From your comment on the autocomplpop issue:
Checking If you want to check if the file is in an eclim project, then you should use: If you are sharing this config amongst machines were eclim may or may not be installed, then I think the best way to handle that would be to catch the error thrown when the function doesn't exist: |
|
Oh great suggestion, I'm really new to vimscript world. One thing I have been playing around with, is getting the autocomplete to trigger when after 3 letters have been types (i.e like IntelliJ). So I've tried to use: But when I type: I get the error: Unfortunately, it looks like my fix, doesn't solve this problem :( Have you got any suggestions on how to achieve this? This error is occurring when eclim can't find something to complete on. So in your function that you provided on the website if you typed: You'll also get the error: |
As describes here:
https://bitbucket.org/ns9tks/vim-autocomplpop/issue/51/a-z-a-z-auto-completes-to-acp-onpopuppost
It's common for problems to occur, one of the main causes was that java files outside of eclim projects were throwing exceptions and causing the issue. I added a check to ensure this doesn't happen.
=acp#onPopupPost()