Commit graph

53 commits

Author SHA1 Message Date
hrsh7th
3022dbc916
Update README.md 2022-08-10 12:18:08 +09:00
Dmytro Meleshko
62fc67a2b0
Merge pull request #52 from tomtomjhj/reserve
Reserve slots with `false`
2022-06-15 21:51:29 +03:00
Jaehwang Jung
c46b6688f0 Reserve slots with false 2022-06-16 03:27:11 +09:00
hrsh7th
12463cfcd9 Improve keyword_pattern 2022-05-09 14:31:41 +09:00
hrsh7th
d66c4c2d37
Merge pull request #35 from smjonas/update_readme
Improve wording on keyword_length documentation
2022-02-21 12:13:19 +09:00
smjonas
5a8909d822 Improve wording on keyword_length documentation 2022-01-15 23:17:16 +01:00
Dmytro Meleshko
f83773e2f4 Add an option for dealing with files with very long lines, fixes #13 2022-01-04 02:02:30 +02:00
hrsh7th
a01cfeca70
Merge pull request #23 from dmitmel/synchronous-indexing
Improve reliability of async indexing while the user is editing the file, implement the memory usage optimization for the indexer, make its speed configurable
2021-12-24 23:30:44 +09:00
Dmytro Meleshko
eba65f6fda place index_range calls as the last statement where it is called 2021-12-24 14:53:02 +02:00
Dmytro Meleshko
077d7de49a use clear_table for clearing lines list in on_reload 2021-12-24 14:49:15 +02:00
Dmytro Meleshko
70713e1ca4 add comments to the new Timer class 2021-12-20 13:52:53 +02:00
Dmytro Meleshko
0226d443a5 completely rewrite the documentation for the new options 2021-12-20 12:37:41 +02:00
Dmytro Meleshko
c8daddb987 rename indexing_chunk_size to indexing_batch_size 2021-12-20 12:37:28 +02:00
Dmytro Meleshko
a3ab9bec60 improve reliability of indexing while editing, make on_reload async 2021-12-20 01:34:49 +02:00
Dmytro Meleshko
6c7b786cb4 Make the async indexer resistant to user editing the buffer 2021-12-20 01:33:58 +02:00
Dmytro Meleshko
3143b0fb9f Add options for tweaking indexing speed and enabling synchronous mode 2021-12-20 01:33:55 +02:00
Dmytro Meleshko
e26cdfb26f Add a workaround for a weird nvim_buf_call bug, fix #34 2021-12-20 01:27:20 +02:00
Dmytro Meleshko
a0fe52489f clarify usage of configuration in general 2021-12-08 01:36:47 +02:00
Dmytro Meleshko
bc87de0ff6 clarify usage of the keyword_pattern option 2021-12-08 01:33:09 +02:00
Dmytro Meleshko
a706dc69c4 Fix #28 by avoiding on_lines events that report no changed lines 2021-11-22 22:54:42 +02:00
Dmytro Meleshko
e315969dc6 Add protections against nil values in lines_words, fixes #29 and #27
The underlying issue is that the code isn't (yet) suited to handle cases
when the async indexing is not finished, but the user is already editing
the file.
2021-11-22 22:42:14 +02:00
hrsh7th
bfbc32a8aa
Merge pull request #26 from dmitmel/distance-comparator
Add locality bonus (a distance-based comparator)
2021-11-16 04:34:07 +09:00
Dmytro Meleshko
8bc0b55bf7 Apply changes based on comments from the review 2021-11-15 21:24:03 +02:00
Dmytro Meleshko
c6a71a9237 Rename to "locality bonus" 2021-11-15 21:24:03 +02:00
Dmytro Meleshko
4ab258c3cc Make the distance comparator simpler to configure 2021-11-15 21:24:02 +02:00
Dmytro Meleshko
45adb7b7b3 Make the comparator work with entries coming from other sources 2021-11-15 21:22:48 +02:00
Dmytro Meleshko
10be0baf3c Add a distance-based comparator 2021-11-15 21:22:48 +02:00
hrsh7th
03a1072b62
Merge pull request #22 from dmitmel/pass-options-in-table
Use a table for passing options around
2021-11-16 03:53:42 +09:00
Dmytro Meleshko
ee8e9af753 Use a table for passing options around 2021-11-15 20:45:29 +02:00
hrsh7th
01c570786a
Merge pull request #21 from dmitmel/rebuild-unique-words
Cache tables of unique words in every buffer
2021-11-16 03:44:08 +09:00
Dmytro Meleshko
2137cd03a8 Rebuild word tables incrementally when editing happens on a single line 2021-11-15 19:59:59 +02:00
Dmytro Meleshko
f1b5dc0ad0 Cache tables of unique words in every buffer 2021-11-15 09:30:03 +02:00
hrsh7th
274ba7baa2
Merge pull request #20 from dmitmel/on-reload-on-detach
Correctly handle on_reload, on_detach, refactor indexing functions
2021-11-15 11:45:40 +09:00
Dmytro Meleshko
e2c3b009b6 Correctly handle on_reload, on_detach, refactor indexing functions 2021-11-13 14:11:54 +02:00
hrsh7th
2d85e76c72
Create LICENSE 2021-11-10 20:30:31 +09:00
hrsh7th
a46e1ce308
Merge pull request #18 from dmitmel/optimize-hidden-nested-loops
Fix O(n^2) complexity in the watcher hidden within nested loops created by table.{insert,remove}
2021-11-08 19:55:26 +09:00
Dmytro Meleshko
2d79337053 Fix O(n^2) complexity in watcher hidden within table.{insert,remove} 2021-11-08 09:43:46 +02:00
hrsh7th
5264d8a4e5
Merge pull request #17 from dmitmel/optimize-index-line
Optimize buffer:index_line
2021-11-08 13:53:29 +09:00
Dmytro Meleshko
d39fc20ac9 Optimize buffer:index_line 2021-11-03 00:03:34 +02:00
hrsh7th
d1ca295ce5 Add keyword_length option 2021-11-02 12:19:39 +09:00
hrsh7th
5dde543075
Merge pull request #8 from dmitmel/main
Improve handling of \k and similar by running keyword pattern regexes inside their respective buffers
2021-09-02 15:26:30 +09:00
Dmytro Meleshko
e185d0f2eb add a tip to README for getting the iskeyword behavior 2021-08-31 19:05:02 +03:00
Dmytro Meleshko
c11425c2d2 run keyword pattern regexes inside their respective buffers 2021-08-31 18:56:40 +03:00
hrsh7th
a5774490b5 Add source name 2021-08-25 15:33:47 +09:00
hrsh7th
4d32d54027 Fix keyword pattern 2021-08-25 13:10:56 +09:00
hrsh7th
e92ff22768 Add get_keyword_pattern API 2021-08-25 11:37:11 +09:00
hrsh7th
3f2041782f Request -> Params 2021-08-25 11:37:11 +09:00
hrsh7th
4596feb448
Merge pull request #6 from uga-rosa/main
Update README.md
2021-08-25 10:09:24 +09:00
uga-rosa
37559c4051
Update README.md 2021-08-25 10:00:47 +09:00
hrsh7th
5742a1b18e
Update README.md 2021-08-11 19:27:17 +09:00