98 Commits

Author SHA1 Message Date
Prabir Shrestha f4e70a9753 added support for fuzzy search via let g:asyncomplete_smart_completion=1 (#66)
* added support for fuzzy search via  let g:asyncomplete_smart_completion=1

* partial fix for neovim

* added smart completion (fuzzy completion) for both vim8 and neovim

* updated README.md and docs for smart completion

* use vim.api.nvim_call_function to dump in neovim for tables
v1.5
2018-08-18 10:34:50 -07:00
Yuki Ito 7e28834010 Add description for asyncomplete_log_file option (#71) 2018-07-11 17:20:09 -07:00
Prabir Shrestha 79b060e2e9 cleanup s:python_complete() v1.1 2018-05-26 12:43:30 -07:00
Prabir Shrestha 72811f7d68 cache active_sources_for_buffer for performance (#65)
create s:next_tick_single_exec util function for performance
2018-05-26 00:39:04 -07:00
Pavel Davydov 6e9720e959 Add notes about shortmess options to doc and readme files. (#59) (#61)
* Add notes about shortmess options to doc and readme files. (#59)

* Remove note about shortmess from README. (#59)
2018-04-05 20:37:19 -07:00
Prabir Shrestha 8a2c04c0c1 refactored to s:should_skip() 2018-04-01 19:27:39 -07:00
Prabir Shrestha f565e94a93 move code 2018-04-01 19:23:14 -07:00
prabirshrestha 73fd6ad6cd add support > a refresh pattern for c and cpp 2018-03-17 12:00:51 -07:00
Prabir Shrestha 720be509c8 avoid duplicate remote_refresh by ignoring first TextChangedP 2018-03-15 22:12:55 -07:00
Prabir Shrestha aa3ad0d69a add g:asyncomplete_default_refresh_pattern - '\(\k\+$\|\.$\|:$\)' (#57) 2018-03-15 21:52:01 -07:00
Prabir Shrestha 5c1b6dc5d7 rename s:python_cm_refresh to s:remote_refresh 2018-03-15 21:26:57 -07:00
Prabir Shrestha 4ec446ed6d rename to remote_insert_enter and added remote_insert_leave 2018-03-15 21:17:50 -07:00
Prabir Shrestha 6a9a0e64c4 use TextChangedP if available instead of polling via timers 2018-03-15 20:59:26 -07:00
Prabir Shrestha 6124f48d26 Merge pull request #54 from prabirshrestha/revert-49-TextChangedP
Revert "[v2] add support for fuzzy search using lua and use TextChangedP"
2018-03-10 02:34:54 -08:00
Prabir Shrestha ea6f7fb955 Revert "[v2] add support for fuzzy search using lua and use TextChangedP" 2018-03-10 02:34:42 -08:00
Prabir Shrestha c033d287ff Merge pull request #49 from prabirshrestha/TextChangedP
[v2] add support for fuzzy search using lua and use TextChangedP
2018-03-08 08:12:16 -08:00
Prabir Shrestha c9b2715725 disable asyncomplete_smart_completion by default 2018-03-08 08:11:08 -08:00
Prabir Shrestha 545d07bcf6 Revert "Add base and startcol to ctx (#50)"
This reverts commit 6a1a8285a0.
2018-03-07 20:12:54 -08:00
Prabir Shrestha b5bf763eb3 Revert "fix spelling exists"
This reverts commit 5952002d75.
2018-03-07 20:12:15 -08:00
Kerem Goksel 35b5e575f2 Fixes typo in the initialization of force refresh variable (#51) 2018-03-06 18:33:05 -08:00
Kerem Goksel 41b286db9e Fixes typo in the initialization of force refresh variable (#51) 2018-03-06 18:09:11 -08:00
prabirshrestha 1c87495549 detect neovim lua 2018-03-03 19:04:59 -08:00
Prabir Shrestha 8074979532 handle partial context changed scenarios 2018-03-03 13:31:21 -08:00
Prabir Shrestha 0488c141cf update README.md to use au User asyncomplete_setup to regsiter sources fixes #7 2018-03-03 10:43:53 -08:00
Prabir Shrestha cbe7fcc6fa update README.md to use au User asyncomplete_setup to regsiter sources fixes #7 2018-03-03 10:42:13 -08:00
Prabir Shrestha 5952002d75 fix spelling exists 2018-03-03 10:39:03 -08:00
Donnie West 6a1a8285a0 Add base and startcol to ctx (#50)
* Add base and startcol to ctx

* Copy context, check if matchpos exists before setting
2018-03-03 10:13:55 -08:00
Prabir Shrestha 9a1137ba8d fix fuzzy 2018-02-25 09:41:12 -08:00
Prabir Shrestha c8d2f7a3fc fixed normalize_candidates when string 2018-02-24 20:32:25 -08:00
Prabir Shrestha 3ee5f249ea optimize completion items normalizations
* enabled by default
* let g:asyncomplete_normalize_completion_items = 0 " to disable
* also support per source normalization using normalize_completion_items
2018-02-22 23:19:20 -08:00
Prabir Shrestha 17f9337736 add missing s:change_tick_stop 2018-02-16 07:48:56 -08:00
Prabir Shrestha 1e1a56a03c add support for g:asyncomplete_auto_popup 2018-02-11 23:23:47 -08:00
Prabir Shrestha 2b21494987 add support for older vim and neovim when TextChangedP is not supported 2018-02-11 23:16:23 -08:00
Prabir Shrestha 258ef8972c add support for fuzzy search using lua and use TextChangedP 2018-02-11 22:53:36 -08:00
Prabir Shrestha b4813341eb Revert "Cache active sources per buffer (#42)" (#45)
This reverts commit 11f2d46f14.
v1.0
2018-01-04 18:58:13 -08:00
ilex 11f2d46f14 Cache active sources per buffer (#42) 2018-01-02 19:48:50 -08:00
BatmanAoD a5c057aa4e Note minimum NeoVim version (#41) 2017-12-30 21:35:02 -08:00
cvlmtg 26094fda59 add asyncomplete-file.vim to the list of sources (#44) 2017-12-27 13:46:08 -08:00
Christian Wellenbrock a9766afff5 Align table of available sources
Extract links from first column to make it less wide.
2017-11-28 15:22:38 -08:00
Christian Wellenbrock 7e40d9ca34 Add tmux-complete to list of available sources 2017-11-28 15:22:38 -08:00
Prabir Shrestha 49c7ad3d2c mention https://github.com/topics/asyncomplete 2017-11-23 13:20:27 -08:00
Łukasz Jan Niemier 9459acd060 Add PivotalTracker to list of supported completions (#37)
Also:

- sort supported engines alphabetically
2017-11-23 13:11:16 -08:00
Łukasz Jan Niemier 448086ce10 Fix vint warnings and overall code style (#35) 2017-11-23 12:54:36 -08:00
Prabir Shrestha acce717f78 Using existing vim plugin sources 2017-11-20 23:07:41 -08:00
Prabir Shrestha e0f7d5e3de flag to disable force refresh on context changed (#31) 2017-10-15 11:11:02 -07:00
Prabir Shrestha c833280238 warn if vim/neovim doesn't have timers (#30) 2017-10-15 10:14:43 -07:00
Prabir Shrestha 07bb220c3b gitignore tags' 2017-10-15 09:59:46 -07:00
Peter Renström 222b9323f1 Add basic plugin documentation 2017-10-04 07:49:05 -07:00
Peter Renström e24a2f7a30 Add option to remove duplicates 2017-10-04 07:49:05 -07:00
Prabir Shrestha e8ceb01487 Update README.md 2017-08-28 20:02:38 -07:00