Commit Graph

998 Commits

Author SHA1 Message Date
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
Fahad RIaz
7015596711 fix: adding a nil check to self.state when the window is too narrow for a preview (#110) 2020-09-23 00:19:14 -04:00
Dave Lage
8f8d6563c0 fix: Tighten up prompt on dropdown theme (#113) 2020-09-23 00:13:58 -04:00
rockerBOO
acd79d3d4c fix: Tighten up prompt on dropdown theme 2020-09-23 00:13:07 -04:00
Dave Lage
b31bc361d5 fix: Use specific highlight types (#112) 2020-09-22 23:37:38 -04:00
rockerBOO
d68108e098 fix: Use specific highlight types 2020-09-22 23:36:40 -04:00
Dave Lage
84cfdd1bd8 feat: Add TelescopeBorder Highlight (#111) 2020-09-22 23:31:40 -04:00
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
d7ee7266ab test: Working on more memory leak tracking 2020-09-22 09:58:49 -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