summaryrefslogtreecommitdiff
path: root/lua/tests
AgeCommit message (Collapse)Author
2021-07-02fix: table number option extend (#947)Luke Kershaw
* fix: prevent error when overriding tables with numbers Fixes #944 - refactor `config.smarter_depth_2_extend` - use `config.smarter_depth_2_extend` for setting `layout_config` in `Picker:new` * test: check that can override a table with a number for layout configuration
2021-07-01feat: Consistent and sensible layout_config (#922)TJ DeVries
* feat: Consistent and sensible layout_config * [docgen] Update doc/telescope.txt skip-checks: true * [WIP]: Thu 17 Jun 2021 03:36:44 PM EDT * [WIP]: Thu 17 Jun 2021 03:38:11 PM EDT * layout_default -> layout_defaults * remove options from bug repot * Conni2461 suggestions: part 1 * [docgen] Update doc/telescope.txt skip-checks: true * Conni2461 suggestions: part 2 * [docgen] Update doc/telescope.txt skip-checks: true * Linting * Improve deprecation checks - Move `layout_defaults` handling to `deprecated.lua` - Check for "layout keys" outside of `layout_config` on `setup` * fixup: Just add a few more words Co-authored-by: Luke Kershaw <35707277+l-kershaw@users.noreply.github.com> Co-authored-by: Github Actions <actions@github>
2021-04-23feat: add search history picker (#769)Volodymyr Kot
Co-authored-by: Volodymyr Kot <vkot@palantir.com>
2021-04-08feat: asyncify pickers - except for live_grep (#709)TJ DeVries
* 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-02-27feat: multi selection. Only integrates with send_selected_to_qflist (#551)TJ DeVries
This will not yet work with select actions. More work is needed in that case. Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-02-24fix: scroll misbehaving + fixed jump to middle (#547)elianiva
* fix: scroll misbehaving + fixed jump to middle * add test * fixx * fix nil
2021-02-24feat: adds M mapping in normal mode (#544)Hubert Pelczarski
2021-02-24feat: advanced normal mode (#463)Simon Hauser
Add <count>j and k to normal mode and H and L to jump at top and bottom of displayed results
2021-02-22feat: Action improvements (#472)TJ DeVries
* feat: replace_map * feat: Add action_set and action_state * fix: Move all actions.get_ to action_state.get_ * fix: replace all internal references of _goto_file_selection_edit * feat: add some docs * fix: lint * feat: actions.select * remove mentions and usage of goto_file_selection APIs * feat: special case attach_mappings to be overridable and defaultable * Having goto_file_selection mappings will cause a error as well as replacing deprecated goto_file_selection methodes For config and replacing use this instead: - actions.select_default - actions.select_horizonal - actions.select_vertical - actions.select_tab Only replacing: - actions.set.edit -- for replacing all select functions * adds actions.state.select_key_to_edit_key Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-01-31fix: Multi byte truncate for displayer (#464)JINNOUCHI Yasushi
This is needed for calling strdisplaywidth() from Lua loop. See https://github.com/nvim-telescope/telescope.nvim/issues/414 See https://github.com/neovim/neovim/blob/a1ed941a7881122fda2fd48e71e890ed55e4d08e/src/nvim/eval/funcs.c#L9845-L9858 Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-01-11feat: quickfix (#293)TJ DeVries
* feat: quickfix (not implemented) * [WIP]: Wed 09 Dec 2020 11:11:30 PM EST * somewhat working linked list impl * getting closer * might be working * might be working for real * works and implemented basic example * dont forget to close prompt * fix descending and add more tests * test fixes * fix test * more logging * Fix some more tests * Fix logging messing up tests * fix: lint * fix: multi select stuffs
2020-12-23ci: more tests (#359)TJ DeVries
* more tests * lint
2020-12-21feat: Add better highlighting and new CI abilities (#355)TJ DeVries
* Revert "Revert "fix: Better highlights (#344)" (#350)" This reverts commit 7950fc8ba0accfcf6c540c7810feee646281fd8a. * better highlights take 2 * fixup * install fd find for sameness * add some debug output * more deterministic * better ci
2020-12-11Fix: scroller for descending (#327)Simon Hauser
2020-12-10refactor: Move scroller into own testable moduleTJ DeVries
2020-12-09ci: Pipeline Tests (#315)Simon Hauser
2020-12-09ci: Add luacheck ci job (#317)Simon Hauser
* Add luacheck ci job * Fix most of the linting issues * fixup: lint Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-11-16feat: Allow overriding actions from mappings (#248)TJ DeVries
2020-10-20feat: Add a sorter using the fzy algorithm (#184)swarn
* 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-08feat: Add a test fileTJ DeVries
2020-10-07feat: Use metatables to use less memory (#152)TJ DeVries
Instead of storing everything in key / value pair hashes, we store as much as possible in an array and then reference the items in the array using metatables. This provides us with a much lower memory footprint and just one level of table lookup indirection (so I think the speed will not be noticeably different)
2020-10-06fix: Reduce memory leaks (#148)TJ DeVries
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-09-29feat: Add status, better debug, and some associated refactorsTJ DeVries
* [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-22test: Working on more memory leak trackingTJ DeVries
2020-09-18feat: add some tests and improve perfTJ DeVries
2020-09-18fix: Make tests pass againTJ DeVries
2020-09-15feat: improve (?) performance of default sorterTJ DeVries
2020-09-12wip: some more musings on resolving height and widthTJ DeVries
2020-09-12feat: Better border configuration.TJ DeVries
Started adding `resolve` which will allow you to do some really nice stuff easily with options to get the window options from a variety of inputs. You can see how we do it in pickers.lua for borders & borderchars currently.
2020-09-11feat: add a bit better writer supportTJ DeVries
2020-09-11feat: Add some more layout optionsTJ DeVries
2020-09-04fix: Don't push past midnight. You'll make clason's stuff break :/TJ DeVries
2020-09-03feat: Major improvements in API. Particularly relating to entries.TJ DeVries
2020-09-03fix: Prevent people from erroring from having new lines in displayTJ DeVries
2020-09-01feat: new fuzzy sorterTJ DeVries
2020-09-01wip: new sortersTJ DeVries
2020-08-29fix: Think I fixed the weird movementsTJ DeVries
2020-08-27feat: Add livegrep and lsp referecnesTJ DeVries
2020-08-24Add fuzzy git file finderZTJ DeVries
2020-08-20WIP: Actually get the UI to work and add some testsTJ DeVries
2020-08-03Work on ngram sorterTJ DeVries
2020-07-31Streamed some refactoring. More work to doTJ DeVries