Commit Graph

866 Commits

Author SHA1 Message Date
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
Dave Lage
80dd7e7711 fix: Dropdown theme positioning #96
fix: Dropdown theme positioning
2020-09-18 02:26:13 -04:00
rockerBOO
b91f5e480d docs: Update readme 2020-09-18 02:20:25 -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
93369e1488 docs: Add theme image to docs 2020-09-17 21:53:06 -04:00
Dave Lage
3fbc937949 fix: Resolve many display issues with the dropdown theme (#95) 2020-09-17 21:50:25 -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
Dave Lage
e6d926e4f6 docs: Add theme documentation (#86) from rockerBOO/theme-documentation 2020-09-16 13:08:43 -04:00
rockerBOO
2766cb24ca fix: Removing old language 2020-09-16 13:07:27 -04:00
rockerBOO
e92ba423f9 docs: Add theme documentation 2020-09-16 13:03:48 -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
Brandon Conway
5b4458ebea Document the optional find_command setting (#74) 2020-09-13 22:44:16 -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
rockerBOO
a2acd607b0 docs: Upgrade Full Example 2020-09-12 19:27:39 -04:00
rockerBOO
513ac5b09a docs: Upgrade Examples 2020-09-12 19:26:36 -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
Brandon Conway
30536f753b fix: typo (#64) 2020-09-12 16:54:59 -04:00
rockerBOO
5ef7578764 fix: Error properly when using invalid layout strategy 2020-09-12 16:47:44 -04:00
rockerBOO
bf0b9ef555 docs: Add close mappings 2020-09-12 16:38:09 -04:00
rockerBOO
2429e62562 Example cleanup 2020-09-12 16:35:58 -04:00
rockerBOO
9a4a3a0c8b Add nvim config example 2020-09-12 16:33:39 -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