Commit Graph

339 Commits

Author SHA1 Message Date
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
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
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
rockerBOO
1821eb11f1 fix: Results height configurable. Properly collapse on border = false 2020-10-04 16:19:56 -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
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
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
TJ DeVries
c58779144f fix: #105
Warn users if they have `report` set to a bad value

In the future, we could try and change it and put it back, but that
feels a bit bad. If anyone can tell me WHY you would want this, then we
can do it.
2020-09-25 10:29:17 -04:00
Senghan Bright
c3f9b25606 feature: Vim help-tags picker (#117)
* feature: Vim help-tags picker

* fix: filtered results were wrong because of missing `entry.value`

* fix: filtered (Vim only help) items are listed in results as empty
entries.

* fix: avoid search history pollution by replacing / in cmd returned by taglist() with search()

* fix: improve search() formatting

* fix: escape tilde in search() command

* fix: improve help-preview

* fix: improve search()

* fix: search() string fixes.

* fix: use no magic to do magic

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-09-25 00:16:48 -04:00
TJ DeVries
a38bb06e7d wip: Add some stuff for nvim_file 2020-09-24 23:23:03 -04:00
TJ DeVries
46f1b47c0b fix: more silenter 2020-09-24 21:04:21 -04:00
Mike Hartington
b0f6895c31 fix: run filetypedetect on edit (#116) 2020-09-23 16:35:57 -04:00
Senghan Bright
6e59074a50 fix: refresh bufnr after executing edit command (#119) 2020-09-23 16:31:50 -04:00
TJ DeVries
7871d392ad wip: Add some WIP ideas for reloader 2020-09-23 12:12:37 -04:00
Senghan Bright
203c696230 fix: small fixes from sunjon (#107)
* Don't execute `command` if target buffer is already loaded in window.

* Print node_text before entry.kind in ordinal string.

* Add new builtin for listing and reloading Lua modules.

* Revert "Add new builtin for listing and reloading Lua modules."

This reverts commit 65d9d0294eae92b347b38b8dcf807fbcdd5783fe.
2020-09-23 00:20:38 -04:00