Commit Graph

189 Commits

Author SHA1 Message Date
ii41
db26d431a8 Clear matches (#227)
* Remove "skip popup" related logic
* Fix matches not getting cleared

Before this commit we don't clear the matches when the text
under the cursor is no longer suitable for completion. This
causes e.g. removing everything using <BS> does not close
the completion menu.
2020-10-11 17:59:53 -07:00
mattn
b65efdced5 Support custom filter (#185) 2020-10-09 18:14:07 +09:00
Tomek Wałkuski
430ea6ddfd Fix typo: s/Closure/Clojure/ (#226) 2020-10-05 13:00:42 -07:00
Prabir Shrestha
8392aa9fab add ai powered tabnine source (#224) 2020-10-04 12:53:16 -07:00
Prabir Shrestha
3f9d907f21 add asyncomplete-gitcommit source (#223) 2020-10-04 12:12:15 -07:00
Prabir Shrestha
189fd9e474 add ale source (#222) 2020-10-04 12:08:58 -07:00
Prabir Shrestha
47d125049a add asyncomplete-look source for dictionary (#221) 2020-10-04 12:04:40 -07:00
Prabir Shrestha
123bec2a9a add asyncomplete-clang source (#220) 2020-10-04 12:02:09 -07:00
Prabir Shrestha
dbe098fc48 add nextword for English autocomplete (#219) 2020-10-04 11:56:43 -07:00
Prabir Shrestha
76e28e2d71 add async-clj-omni (#218) 2020-10-04 11:49:56 -07:00
mattn
20a279b079 Set <nomodeline> for doautocmd (#217) 2020-09-17 22:35:43 +09:00
Jay Sitter
0d4ec1805d Add asyncomplete-user to README (#207) 2020-08-08 18:30:12 -07:00
ForTheReallys
359abf8ebe Added documentation for asyncomplete_enable* variables (#208) 2020-08-08 18:28:54 -07:00
Prabir Shrestha
bb8a9924b7 use allowlist and blocklist and deprecate the old keys (#204) v2.1.0 2020-06-25 23:46:12 -07:00
Prabir Shrestha
b618d5753e remove async.vim reference 2020-06-20 23:24:13 +00:00
Prabir Shrestha
3f823a47a9 add asyncomplete-emmet.vim (#203) 2020-06-13 12:36:34 -07:00
mattn
75f25b059f Fix errors while editing with non-named buffer. (#201) 2020-05-18 15:15:30 +09:00
Matthieu Rakotojaona
fc5c227e2b Add instructions for displaying the preview window (#198) 2020-05-17 11:05:49 -07:00
Jay Sitter
91ac1f6e6f Add setting for minimum string length to trigger auto popup (#135)
* Add setting for minimum string length to trigger auto popup

* Use ternary

* Use simplified function

* Fix bug in new return function

* Add documentation for min_chars

* Add buffer override for min_chars
2020-05-10 09:15:27 -07:00
mattn
5713fa6a1e Trigger completion when the last commit character is trigger character (#186) 2020-02-26 14:38:53 +09:00
David Briscoe
1f8d8ed26a Only warn about missing timers functionality once (#181)
plugin/asyncomplete.vim sets up an autocmd to invoke
asyncomplete#enable_for_buffer() for every BufEnter. If we don't clear
this autocmd, then it will try to call that function, which will try to
source the autoload file, which outputs the error again.

Clearing that autocmd group stops the cycle and limits the number of
warnings to one.
2020-02-24 19:58:56 -08:00
mattn
312861e9f9 Remove paired suffixes (#183)
* Remove paired suffixes

* Fix indentations

* This hack should work for double-quote or single-quote.
2020-02-19 15:18:01 +09:00
mattn
c3b7078fd4 Fix vint error (#182) 2020-02-15 12:23:01 -08:00
mattn
52f857a4c4 Add b:asyncomplete_refresh_pattern (#179) 2020-02-04 19:49:05 -08:00
jess
db3ab51ef6 Added financial contributors to the README (#159) 2019-10-02 10:37:57 -07:00
Mitchell Henke
28e4ad69b9 fix small README typo (#160) 2019-10-02 10:37:16 -07:00
a5ob7r
3bb7f42890 Fix functions section title typo in help (#158) 2019-09-16 07:51:09 -07:00
ishitaku5522
797394b1c1 Adding get_source_info() and get_source_names() (#154)
* add get_source_info() and get_source_names()

* update document

* remove unnecessary example draft
2019-09-08 09:58:17 -07:00
Donnie West
d5b5492961 Filter based on each source's startcol (#152) 2019-07-21 09:29:53 -07:00
Prabir Shrestha
1c3543a67b Create FUNDING.yml 2019-07-13 13:33:11 -07:00
ishitaku5522
bffa8b62dd Fix mismatch between b:asyncomplete_active_sources/triggers and s:servers (#147) 2019-06-10 14:56:23 -07:00
Prabir Shrestha
9b02b42d22 fixed spacing 2019-06-10 14:53:46 -07:00
simeir
3a5b338585 Solve pum flickering and closing when completion triggered by trigger character (#145)
* Solve Inconsistentcy in usage of startcol

the word startcol sometimes refers to the column where the completion starts,
sometimes the first index of completion base. I made all "startcol"
refer to column where completion starts, and renamed all cases where
this word used to refer to index "xxxidx"

* changed refresh pattern

* Fix wrong startcol when force refresh

* force refresh takes care of the scenario where no word presents
2019-06-10 14:51:26 -07:00
itchyny
0f9f3271a5 fix sample code for document of g:asyncomplete_preprocessor (#146) 2019-06-10 14:47:14 -07:00
Prabir Shrestha
b65b77bd75 remove priority from README.md 2019-05-15 05:38:38 -07:00
ishitaku5522
db0cd8a0c2 Add "asyncomplete#close_popup()" function (New PR for #126) (#134)
* add close_popup function for v2

* update document for asyncomplete#close_popup/cancel_popup

* update _foce_refresh to reset skip completion flag

* disable popup until next word after close popup
2019-04-13 10:44:07 -07:00
Jagua
f4a5b881c8 Fix "Undefined variable..." error in |command-line-window| (#132) 2019-04-02 10:02:09 -07:00
Prabir Shrestha
4566706d6f add LICENSE (#130) 2019-03-30 15:04:56 -07:00
Prabir Shrestha
27c245f8b4 Merge pull request #124 from prabirshrestha/v2
v2
v2.0.0
2019-03-30 14:41:17 -07:00
prabirshrestha
c64848b11e remove old docs from README.md 2019-03-30 00:12:01 -07:00
Prabir Shrestha
9d75c6872e added known issues 2019-03-29 13:53:36 -07:00
Prabir Shrestha
75279f35ab update doc to use stridx 2019-03-27 11:30:00 -07:00
Prabir Shrestha
9abca3ec67 use stridx for default_preprocessor 2019-03-27 10:56:49 -07:00
Prabir
623c744c13 add support for complete_info to ignore built-in completions 2019-03-17 12:04:18 -07:00
Prabir
cad49e5ef1 move augroup silent messages up 2019-03-17 11:32:41 -07:00
Prabir Shrestha
f1cc9e3c9e Merge branch 'master' into v2 2019-03-09 10:48:15 -08:00
Prabir Shrestha
1af7798742 add asyncomplete_silence_messages 2019-03-09 10:45:33 -08:00
Prabir Shrestha
47a1914244 fix unregister_source 2019-03-06 15:51:14 -08:00
Prabir Shrestha
416723c535 fix l:visited in doc 2019-03-04 13:56:55 -08:00
Prabir Shrestha
3455b935b6 stop timer on insert_leave 2019-03-03 22:29:47 -08:00