Commit Graph

121 Commits

Author SHA1 Message Date
Simon Hauser
3a7fa41857 fix: all git builtin respect cwd now (#517) 2021-02-09 18:25:57 +01:00
TJ DeVries
5f1d16acf6 nit: Abstract some functions (#498) 2021-02-04 20:56:05 -05:00
Raphael
779704bf26 Add user autocmd TelescopeFindPre (#491)
* Add user autocmd Telescope

* change name to TelescopeFindPre

* update Readme for Telescope user autocmds
2021-02-02 23:23:28 -05:00
Senghan Bright
9d4670c748 feat: allow a callback to be called on on_lines update (for filtering tags from query text) (#455)
* allow a callback to be called on on_lines update

* .

* remove unused _filter_marker var

* nit: Move to table and implement 'close'

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2021-01-28 16:39:05 -05:00
Alvaro Muñoz
951ede2a70 fix: allow previewer win customization (#460) 2021-01-24 23:53:58 +01:00
wordhou
7e241aa0a4 feat: Add option to set initial_mode (#442) 2021-01-17 23:09:23 -05:00
TJ DeVries
8783bea06e feat: quickfix (#293)
* 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
2021-01-11 13:29:37 -05:00
oberblastmeister
f750159203 feat: add actions.get_current_line (#391) 2021-01-05 08:50:44 +01:00
TJ DeVries
2aa8bcb878 feat: Add better highlighting and new CI abilities (#355)
* Revert "Revert "fix: Better highlights (#344)" (#350)"

This reverts commit 7950fc8ba0.

* better highlights take 2

* fixup

* install fd find for sameness

* add some debug output

* more deterministic

* better ci
2020-12-21 16:03:48 -05:00
Senghan Bright
7950fc8ba0 Revert "fix: Better highlights (#344)" (#350)
This reverts commit eca83f214a.
2020-12-18 23:44:58 +01:00
TJ DeVries
eca83f214a fix: Better highlights (#344)
* scratch: easy reproduce for buffers

* fix: Many highlight fixes
2020-12-18 23:42:51 +01:00
Senghan Bright
28abd7fb53 fix results count padding (#348) 2020-12-18 20:43:59 +01:00
Simon Hauser
6e6fbbc49e Fix: scroller for descending (#327) 2020-12-11 16:48:14 +01:00
TJ DeVries
f3609abd7f refactor: Move scroller into own testable module 2020-12-10 23:31:28 -05:00
TJ DeVries
b74c4b3efd Revert "fix: cycle scroll when num_results is small (#316)"
I didn't test this cause I'm noob. It's my fault not tami's

This reverts commit d9bf9181bc.
2020-12-10 23:01:41 -05:00
aca
d9bf9181bc fix: cycle scroll when num_results is small (#316) 2020-12-10 22:52:30 -05:00
Simon Hauser
141dc6d55e ci: Add luacheck ci job (#317)
* Add luacheck ci job

* Fix most of the linting issues

* fixup: lint

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-12-09 15:46:41 -05:00
Simon Hauser
2e5ee9d43e Fix file_ingore_patterns for tags and lsp (#309)
closes #299 

authored by: @Conni2461
2020-12-03 15:50:27 +03:00
Simon Hauser
863328a96d feat: Buffers rework (indicators and sorting) (#208) 2020-11-23 10:11:46 -05:00
TJ DeVries
2ac0582c06 feat: v0.1 of extensions (#278) 2020-11-23 09:29:10 -05:00
TJ DeVries
985856946e feat: Allow overriding actions from mappings (#248) 2020-11-16 10:58:30 -05:00
TJ DeVries
9fad317d05 fix: #236 2020-11-13 14:56:57 -05:00
Simon Hauser
ba52c70a60 fix: selection_strategies row and follow (#218) 2020-11-13 10:20:09 -05:00
Senghan Bright
051aefdb8c feat: v1 options menu (#133)
Still has a bunch of improvements that can be done, but wanted to merge in some of the related changes.

* options parser

* wip: vimoptions finder

* feat: pre-populate ex-command line with `:set foo=`

* use options current value when populating command line

* fix: use result.raw_value to store original option value

* .

* options: Continue work on option finder

* [WIP]: Tue 27 Oct 2020 10:34:09 PM EDT

* [WIP]: Mon 02 Nov 2020 08:20:13 PM EST

* [WIP]: Mon 02 Nov 2020 09:04:23 PM EST

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-11-02 21:05:10 -05:00
TJ DeVries
a37e4699c4 feat: Closes #205 2020-10-30 18:31:06 -04:00
TJ DeVries
b76babb225 fix: attempt to fix problem for tami, hopefully no more error 2020-10-27 22:35:55 -04:00
TJ DeVries
113a516c63 feat: Add ability to turn off devicon colors 2020-10-25 08:19:09 -04:00
TJ DeVries
477261e5c0 feat: Improve filtering ideas for sorters. 2020-10-25 08:09:07 -04:00
TJ DeVries
a8e7807086 feat: Use colors from nvim-devicons 2020-10-24 22:55:45 -04:00
TJ DeVries
14f834b754 fix: trim spaces from prompt string 2020-10-20 19:57:59 -04:00
Bastien Rivière
b98509b4ad fix: use results_height and results_width from config (#171) 2020-10-19 22:54:35 -04:00
Alvaro Muñoz
d493a76058 refactor: prompt->prompt_title (#169)
* refactor: prompt->prompt_title ; prompt_prefix->prompt_text

* undo prompt_prefix rename

* undo prompt_prefix rename
2020-10-17 17:26:14 -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
c2c4626c3d feat: Add more easily customizable mappings.
Closes: #131
2020-10-08 21:39:43 -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
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
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
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
rockerBOO
1821eb11f1 fix: Results height configurable. Properly collapse on border = false 2020-10-04 16:19:56 -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
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