Commit Graph

943 Commits

Author SHA1 Message Date
TJ DeVries
8c0f2630a0 feat: Add makefile for testing purposes 2020-10-08 23:11:01 -04:00
TJ DeVries
376959e7df fix: #125 2020-10-08 22:56:51 -04:00
TJ DeVries
2ce3ad61aa fix: #140 2020-10-08 22:53:44 -04:00
TJ DeVries
3cf3acc4d5 feat: Add scroll_strategy = 'cycle' 2020-10-08 22:47:22 -04:00
TJ DeVries
1222cc5b42 nit: Log when we fail with a busted bufnr 2020-10-08 22:35:17 -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
7938ace0f6 fix: README update 2020-10-08 21:44:53 -04:00
TJ DeVries
282e328d46 fix: Allow people to still override ALL the mappings 2020-10-08 21:42:50 -04:00
TJ DeVries
c2c4626c3d feat: Add more easily customizable mappings.
Closes: #131
2020-10-08 21:39:43 -04:00
TJ DeVries
fa17b37dad fix: Do not wrap lines and allow scrolling in ranged options 2020-10-08 21:07:25 -04:00
TJ DeVries
0b35057a0c fix: Select only the desired value in resolvers 2020-10-08 20:40:28 -04:00
Dave Lage
27baff48d5 Revert "fix picking height as width (#157)" (#158)
This reverts commit c6716a5f6a.
2020-10-08 17:59:46 -04:00
rockerBOO
a2ef5298ab docs: Disallude setup terminology 2020-10-08 17:47:31 -04:00
Alvaro Muñoz
c6716a5f6a fix picking height as width (#157) 2020-10-08 17:45:11 -04:00
Dave Lage
04fe97d40d fix: preview_cutoff to always show on dropdown theme (#156) 2020-10-08 14:24:39 -04:00
TJ DeVries
c0f99aa09d temp: Removing redraw for now to see if it feels slower or faster for people 2020-10-08 14:22:10 -04:00
TJ DeVries
9e470537c8 fix: Remove space that I did not mean to add 2020-10-08 13:40:06 -04:00
Alvaro Muñoz
6af6b4e5fd feat: prompt_prefix option (#154)
* enable prompt_prefix option

* add hl and default value

* default hl and prefix

* fixup: move the redraw til after prompt create

* fixup: nits

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-10-08 13:34:59 -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
9d894f8229 fix: Respect cmdheight and laststatus 2020-10-08 12:53:42 -04:00
TJ DeVries
8736ea5f6a feat: ALPHA Add layout_defaults and layout_config options 2020-10-08 12:15:29 -04:00
TJ DeVries
2f03dbf265 fix: Remove useless prompt_title 2020-10-08 10:40:22 -04:00
TJ DeVries
50afbb706d fix: Scrolls past bottom line 2020-10-08 10:32:25 -04:00
TJ DeVries
01fa923f15 fix: Don't consider 1 as a percentage for resolve
Fixes: #155
2020-10-08 10:12:08 -04:00
Norlock
919b8f2a9d fix: Changed git command to show all files inside project (#129) 2020-10-07 17:03:30 -04:00
Senghan Bright
c337911b79 Fix help preview and add highlighting to search result (#124)
* fix: make sure that `$VIMRUNTIME/doc/tags` is in `tags` path

* feat: highlight matched topic in helptags preview

* fixup: Use previewer setup and teardown

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-10-07 17:00:59 -04:00
Senghan Bright
a7957b2bdc feat: Manpages finder (output of apropos) (#134)
First edition. Sometimes weird things can happen with the previewer, but I think I got it 99% working.

* feat: Manpages finder (output of apropos)

* fixup: Add previewer and fix comments

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-10-07 16:01:47 -04:00
TJ DeVries
2053a2621a feat: Use metatables to use less memory (#152)
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-07 11:35:38 -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
Nolan Prochnau
caf370cc37 feat: Add find command support (#145) 2020-10-05 21:57:48 -04:00
Dave Lage
b4a6355f50 fix: Use width not results_width (#144) 2020-10-04 19:27:15 -04:00
Dave Lage
90f6fee17d Merge pull request #143 from nvim-lua/dropdown-fixes
fix: Results height configurable. Properly collapse on border = false
2020-10-04 16:22:45 -04:00
rockerBOO
1821eb11f1 fix: Results height configurable. Properly collapse on border = false 2020-10-04 16:19:56 -04:00
rockerBOO
a1cab377db docs: Themes should work with every builtin 2020-10-04 12:37:33 -04:00
rockerBOO
634703c297 Update Dropdown Theme Screenshot 2020-10-04 12:34:19 -04:00
Senghan Bright
054bd34498 feat: builtin - lua package reloader (#132) 2020-10-04 09:08:05 -04:00
Kamal Marhubi
ce66c1f78c fix: Pass --paging=always to bat (#142)
This gets rid of a slightly annoying difference between files that fit
in the preview pane and ones that don't: hitting the scroll-preview
mappings would complain about a closed stream. Always using the pager
ensures there's always a process at the other end, even if asking it
to scroll doesn't actually do anything.
2020-10-04 09:04:50 -04:00
Alvaro Muñoz
c414e5f869 feat: Add highlight for selection caret (#135)
* Add highlight for selection caret

* add default hl

* remove highlight overlap
2020-10-02 11:26:11 -04:00
Alvaro Muñoz
efffe0b533 fix: set winhl as soon as possible to avoid color glitches (#136) 2020-10-01 21:01:23 -04:00
TJ DeVries
3d0a485727 hotfix: Should stop referencing nil values
Don't know why we were getting there, but maybe this will fix the
problem?
2020-09-30 09:43:11 -04:00
TJ DeVries
ccb079e08e Update README.md 2020-09-30 00:09:52 -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
Simon Hauser
2ce23696de Fix if-clause after latest changes 2020-09-29 22:41:11 -04:00
TJ DeVries
3592b1f8b0 fix: 126 2020-09-28 17:03:59 -04:00
TJ DeVries
079773ebee fix: No longer lose highlights when moving through results 2020-09-26 12:36:58 -04:00
TJ DeVries
33b6db19ab fix: Fixed some off by one errors for ascending strategy 2020-09-26 12:21:10 -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
487ed97acb data: add options.lua 2020-09-26 10:42:57 -04:00
TJ DeVries
059ccd33af fix: use os sep 2020-09-26 10:42:19 -04:00
Rui Marques
6b23ef988b Fix issue with trimming path separator '/' 2020-09-26 10:42:19 -04:00