Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Shougo
Copy link
Contributor

@Shougo Shougo commented Apr 10, 2016

complete() + "noinsert" completeopt option set 'modified' without inserting a candidate.
It fixes the behavior.

And I removed pumvisible() check in ins_compl_key2dir().
I don't know why the check is needed.
Because, ins_complete(key, FALSE) does not generate popup menu.

@brammool brammool closed this in 8e42ae5 Apr 20, 2016
@Shougo Shougo deleted the complete branch April 20, 2016 19:59
micbou added a commit to micbou/vim that referenced this pull request Apr 20, 2016
- 7.4.1753: "noinsert" in 'completeopt' is sometimes ignored. Set the
  variables when the 'completeopt' was set. (Ozaki Kiichi)
- 7.4.1754: When 'filetype' was set and reloading a buffer which does
  not cause it to be set, the syntax isn't loaded. (KillTheMule)
  Remember whether the FileType event was fired and fire it if not.
  (Anton Lindqvist, closes vim#747)
- 7.4.1755: When using getreg() on a non-existing register a NULL list
  is returned. (Bjorn Linse) Allocate an empty list. Add a test.
- 7.4.1756: "dll" options are not expanded. Expand environment
  variables. (Ozaki Kiichi)
- 7.4.1757: When using complete() it may set 'modified' even though
  nothing was inserted. Use Down/Up instead of Next/Previous match.
  (Shougo, closes vim#745)
- 7.4.1758: Triggering CursorHoldI when in CTRL-X mode causes problems.
  Do not trigger CursorHoldI in CTRL-X mode. Add "!" flag to feedkeys()
  (test with that didn't work though).
- 7.4.1759: When using feedkeys() in a timer the inserted characters are
  not used right away. Break the wait loop when characters have been
  added to typebuf. use this for testing CursorHoldI.
- 7.4.1760: Compiler warning for unused variable. Add #ifdef. (John
  Marriott)
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.

1 participant