Commit Graph

33 Commits

Author SHA1 Message Date
Simon Hauser
e46ef8ffec fix: for default sorters so we dont sort data after ordinal len if #prompt == 0 (#1146) 2021-08-21 20:53:09 +02:00
TJ DeVries
bc470fe59f fix(sorters): fix sorters running after destroy, which can segfault (#1137)
* fix(sorters): fix sorters running after destroy, which can segfault

* fixup: Only check when we've set a status
2021-08-20 13:12:29 -04:00
TJ DeVries
a97af306c4 feat(performance): Major performance improvements using async v2 from @oberblastmeister (#987)
* start: Working w/ async jobs

* short circuit to using bad finder if you pass writer.
2021-08-20 11:11:24 -04:00
Simon Hauser
79644ab677 chore: use stylua for formatting (#1040)
* chore: stylua job and config

* reformat with stylua
2021-07-23 11:42:37 -04:00
TJ DeVries
d27907b0da fix: Default to an empty sorter, so we always have one 2021-04-16 11:11:40 -04:00
TJ DeVries
2e7ee55aa4 feat: Add more sorter hooks (#752)
* feat: Add more sorter hooks

* fix breaking conni brain
2021-04-15 09:24:10 -04:00
TJ DeVries
64e59060b1 feat: asyncify pickers - except for live_grep (#709)
* something kind of works already

* yayayayayayayayayayayayayayayayayayayayayayayayayayayayayayayayaya

* use async for everything besides live jobs

* fix: fixup autocmds previewer

* fix: lints for prime

* temp: Add example of how we can think about async sorters

* feat: Allow picker to decide when to cancel

* fix: simplify scoring logic and tests

* fixup: name

* fix: Move back towards more backwards compat methods

* fixup: Remove results from opts

* fixup: remove trailing quote

* fixup: Attempt to clean up some more async items. Next is status

* wip: Add todo for when bfredl implements extmarks over the EOL

* wip

* fixup: got em

* fixup: cleaning

* fixup: docs
2021-04-08 10:35:44 -04:00
fdschmidt93
559bf36e73 feat: add completion to pre-filtering (#626)
Works by pressing `<C-l>` in insert mode. Supported are all builtins that have prefiltering. Means:
- lsp_workspace_symbols
- lsp_workspace_diagnostics
- lsp_document_symbols
- lsp_document_diagnostics
2021-03-09 21:04:21 +01:00
fdschmidt93
db7615578b feat: lsp diagnostics and prefiltering by entry attribute (#543)
prefiltering for lsp_document_symbols and lsp_workspace_symbols.
example: type `:var:` to show all vars
2021-03-03 22:33:03 +01:00
Senghan Bright
7d4d3462e9 Substring matcher (#443)
* add substr_matcher

* correct function name

* use util.split function and remove unused opts
2021-01-18 17:53:52 +01:00
TJ DeVries
75311f2c04 feat: highlighter only 2020-11-23 12:30:09 -05:00
TJ DeVries
2ac0582c06 feat: v0.1 of extensions (#278) 2020-11-23 09:29:10 -05:00
TJ DeVries
477261e5c0 feat: Improve filtering ideas for sorters. 2020-10-25 08:09:07 -04:00
swarn
7eda4e80f9 feat: Add a sorter using the fzy algorithm (#184)
* Add a sorter using the fzy algorithm

* Reformat fzy.lua

Also, update author attribution.

* Remove constansts from fzy module

Replace a few of the useful ones with getter functions that make it
clear they're not modifiable.

* Change names of fzy constant getters

* fixup: some small nit picks

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-10-20 20:14:07 -04:00
TJ DeVries
59497d6640 feat: Do a bit better sorting for command history
To be honest, I'm not 100% sure this is fantastic, but it's definitely a
step in the right direction for command history.

Closes: #150
2020-10-08 22:31:44 -04:00
TJ DeVries
25ed3de0ff fix: Shortcircuit on nil entries and do not allow string entries 2020-10-08 13:23:12 -04:00
TJ DeVries
d32d4a6e0f fix: Reduce memory leaks (#148)
It is not 100% clear that we've gotten ALL the memory leaks, but it
seems much much much better and doesn't look like it's going to die
immediately or as often anymore :)
2020-10-06 21:57:49 -04:00
TJ DeVries
ae7fd0d27a feat: Add status, better debug, and some associated refactors
* [WIP]: Mon 28 Sep 2020 01:08:24 PM EDT

* add much much better tracking. so much less hax

* status updates, oneshot job updates, etc.

* remove temp function

* add status function

* asdfasdfasdf
2020-09-29 22:52:38 -04:00
TJ DeVries
64207a21c2 feat: Add TelescopeMatching a new highlight for matches from sorters 2020-09-26 12:05:32 -04:00
TJ DeVries
f3fc1ca8c1 fix: Make tests pass again 2020-09-18 00:11:22 -04:00
TJ DeVries
7d3e93e7b4 fix: Don't pass nil to scoring func 2020-09-17 08:18:28 -04:00
TJ DeVries
6ffa3c24b3 feat: improve (?) performance of default sorter 2020-09-15 14:15:55 -04:00
TJ DeVries
769f5934f0 feat: add current file fuzzy finder 2020-09-11 00:14:40 -04:00
TJ DeVries
14310ee6b1 fix: Don't push past midnight. You'll make clason's stuff break :/ 2020-09-04 09:49:10 -04:00
TJ DeVries
39096492ab feat/hack: Add builtin.builtin 2020-09-01 22:27:50 -04:00
TJ DeVries
c11a661362 feat: new fuzzy sorter 2020-09-01 22:00:55 -04:00
TJ DeVries
4ac50c68ca wip: new sorters 2020-09-01 20:51:41 -04:00
TJ DeVries
7e9f38a87e feat: Add livegrep and lsp referecnes 2020-08-27 22:12:47 -04:00
TJ DeVries
1995ca53f3 Add fuzzy git file finderZ 2020-08-24 12:31:57 -04:00
TJ DeVries
cfddae42f5 WIP: Actually get the UI to work and add some tests 2020-08-20 23:41:53 -04:00
TJ DeVries
96cac0a8c8 Work on ngram sorter 2020-08-03 20:40:04 -04:00
TJ DeVries
fa0382d93e Streamed some refactoring. More work to do 2020-07-31 00:05:22 -04:00
TJ DeVries
ababfbfd88 Another stream 2020-07-17 00:03:20 -04:00