Commit Graph

332 Commits

Author SHA1 Message Date
rockerBOO
e4a5bd5824 feat: Add TelescopeBorder Highlight 2020-09-22 23:29:48 -04:00
TJ DeVries
e43efc389e fix: Don't pass anything if word match is empty 2020-09-22 12:50:03 -04:00
TJ DeVries
941fb160c5 fix: Don't log so much for users. Fix #91 2020-09-22 10:04:02 -04:00
TJ DeVries
be9a0e5236 fix: Close existing pickers when starting new one. Fix #102 2020-09-22 09:59:06 -04:00
TJ DeVries
025485fa1f wip: Add ability to search for word match w/ rg 2020-09-22 09:58:08 -04:00
TJ DeVries
5c7b12cc01 fix: Perhaps fix #105 2020-09-22 09:44:34 -04:00
TJ DeVries
25b7895097 feat: Disable job recording from plenary.
This should reduce memory usage at least for large jobs. We won't save
all the results into the job. I _think_ this will be half memory usage
for many situations.
2020-09-21 15:41:38 -04:00
Rui Marques
2ca006fc97 feat: Trim cwd from bufname if possible (#104) 2020-09-21 15:31:28 -04:00
TJ DeVries
9f863d40bd fix: Add timeout param to all buf_requests and move to 10 seconds 2020-09-18 10:02:15 -04:00
TJ DeVries
492b4f1e95 fix: add timeout param 2020-09-18 09:59:46 -04:00
Simon Hauser
7b1ebe7fce Respect sp, vsp, tabe mappings for buffers builtin (#99)
Closes: #98
2020-09-18 09:18:27 -04:00
rockerBOO
e4f1a748aa fix: Fixing positioning of dropdown 2020-09-18 02:10:03 -04:00
TJ DeVries
d891ba4f2e feat: add some tests and improve perf 2020-09-18 00:11:22 -04:00
TJ DeVries
f3fc1ca8c1 fix: Make tests pass again 2020-09-18 00:11:22 -04:00
rockerBOO
8cc6e67851 fix: Resolve many display issues with the dropdown theme 2020-09-17 21:42:50 -04:00
TJ DeVries
c043f90de0 wip: more work on config resolution 2020-09-17 21:16:30 -04:00
TJ DeVries
8622d1c32d wip: Add for rocker 2020-09-17 21:03:26 -04:00
TJ DeVries
cab5fc75c7 fix: Don't error if we can't set cursor. Just try our best 2020-09-17 12:45:09 -04:00
TJ DeVries
a9d9b3d8bf feat: Improved previewers and cleanup 2020-09-17 12:34:42 -04:00
TJ DeVries
7bdb39b138 fix: Don't fail if we can't save undo info 2020-09-17 08:28:50 -04:00
TJ DeVries
d170d60116 fix: Don't assume newlines are the reason the set broke 2020-09-17 08:23:19 -04:00
TJ DeVries
1dc29ed14b fix: Don't write to invalid buffers 2020-09-17 08:20:39 -04:00
TJ DeVries
7d3e93e7b4 fix: Don't pass nil to scoring func 2020-09-17 08:18:28 -04:00
Corentin Brunel
17ee4a96ff fix: Add nil checks for state when preview hasn't been initialized yet (#92) 2020-09-17 08:15:48 -04:00
TJ DeVries
1865815687 feat: Easy Termopen for Previewer (#88)
First pass, but seems to work. Fixed a few other related items, so pushing it to master now.

* [WIP]: Wed 16 Sep 2020 05:17:10 PM EDT

* [WIP]: Wed 16 Sep 2020 06:10:33 PM EDT

* [WIP]: Wed 16 Sep 2020 06:19:43 PM EDT
2020-09-16 18:20:14 -04:00
Christian Clason
1ef43e001b Add sorter to live_grep (#61) 2020-09-16 18:10:20 -04:00
Oleg Matrokhin
9766a5bec8 fix: use double dash to fix special filenames (#87)
Co-authored-by: Oleg Matrokhin <o.matrohin@softpro.com>
2020-09-16 17:09:12 -04:00
TimUntersberger
93e683f0e7 feat: add builtin.lsp_code_actions (#77)
* fix: use correct path separator on windows

* fix: add utils.get_separator

* asdf

* feat: add builtin.commands

* change commands sorter

* change sorter

* change sorter

* feat: make it possible to specify the find_command for find_files

* temp

* feat: add find_command option for find_files

* wip

* fix: execute code action
2020-09-16 12:31:16 -04:00
haorenW1025
7d1a8292b6 feat: add scrolling in preview window (#47)
* feat: add scrolling in preview window

refactor into two layers

* remove redundant code

* add error message for scroll_fn and send_input

* consider count for preview scrolling
2020-09-16 12:20:45 -04:00
TJ DeVries
9bdf5b3d4a fix: Attempt more window closing updates 2020-09-16 12:19:30 -04:00
TJ DeVries
54f768fd7f fix: At least close pum when open and closing 2020-09-16 10:53:53 -04:00
TJ DeVries
b8f17075d4 fix: always have a dictionary for opts 2020-09-15 15:30:01 -04:00
Dave Lage
15d3cac7b1 feat: Themes (#79)
Big shoutout to @rockerBOO  for the idea and basically all the impl!

* feat: Add dropdown layout strategy

* Adding more docs. Working better with options

* Refactor borders

* Fix for spaces

* Add preview to layout. Add Themes.

* feat: themes

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-09-15 14:54:29 -04:00
TJ DeVries
6ffa3c24b3 feat: improve (?) performance of default sorter 2020-09-15 14:15:55 -04:00
TJ DeVries
0ab858d9fe feat: (wip) current_buffer strategy 2020-09-15 13:10:34 -04:00
TimUntersberger
0a734ae49d feat: add find_command option for find_files (#73) 2020-09-13 18:13:46 -04:00
Corentin Brunel
3d423a3b59 feat: Add support for ripgrep in "find_files" builtin (#70)
* feat: Add support for ripgrep in "find_files" builtin

* docs: Add mention about "ripgrep" for find_files builtin
2020-09-12 23:52:24 -04:00
TJ DeVries
ebd090c0fe wip: some more musings on resolving height and width 2020-09-12 23:15:10 -04:00
Simon Hauser
4852d027d0 feat: Adds shorten_path, show_all_buffers opts and fixes alignment (buffers builtin) (#32) 2020-09-12 17:07:37 -04:00
TimUntersberger
3a9b25e6bf feat: builtin.commands (#54)
* fix: use correct path separator on windows

* fix: add utils.get_separator

* asdf

* feat: add builtin.commands

* change commands sorter

* change sorter

* change sorter
2020-09-12 17:02:10 -04:00
rockerBOO
5ef7578764 fix: Error properly when using invalid layout strategy 2020-09-12 16:47:44 -04:00
TJ DeVries
f449c0499c feat: Better border configuration.
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-12 14:56:58 -04:00
TJ DeVries
58ab225dca fix: Pass cwd down correctly for find files 2020-09-12 13:47:15 -04:00
TJ DeVries
f2d757bad3 feat: make prime happy part 1 2020-09-12 09:18:28 -04:00
TJ DeVries
c73eb1c0d8 nit: Always set a state 2020-09-11 23:57:55 -04:00
Dave Lage
8beb8c876b Merge pull request #59 from clason/patch-1
Restrict builtin find_files to files
2020-09-11 18:13:41 -04:00
TJ DeVries
f47f1dc037 feat: make buffer work much better 2020-09-11 15:28:32 -04:00
TJ DeVries
a9404201a9 scratch: add thoughts 2020-09-11 14:39:56 -04:00
TJ DeVries
d96d89711c feat: add a bit better writer support 2020-09-11 14:36:57 -04:00
Christian Clason
cc635a161e Add smart case to vimgrep arguments (#60) 2020-09-11 11:29:17 -04:00