Commit Graph
100 Commits
Author SHA1 Message Date
5a53ec5c2f feat: Consistent and sensible layout_config (#922)
* feat: Consistent and sensible layout_config

* [docgen] Update doc/telescope.txt
skip-checks: true

* [WIP]: Thu 17 Jun 2021 03:36:44 PM EDT

* [WIP]: Thu 17 Jun 2021 03:38:11 PM EDT

* layout_default -> layout_defaults

* remove options from bug repot

* Conni2461 suggestions: part 1

* [docgen] Update doc/telescope.txt
skip-checks: true

* Conni2461 suggestions: part 2

* [docgen] Update doc/telescope.txt
skip-checks: true

* Linting

* Improve deprecation checks

- Move `layout_defaults` handling to `deprecated.lua`
- Check for "layout keys" outside of `layout_config` on `setup`

* fixup: Just add a few more words

Co-authored-by: Luke Kershaw <35707277+l-kershaw@users.noreply.github.com>
Co-authored-by: Github Actions <actions@github>
2021-07-01 05:41:58 -04:00
4da66dab44 feat: add ivy-style layout strategy (#771)
* feat: add new layout strategy

* [docgen] Update doc/telescope.txt
skip-checks: true

Co-authored-by: Github Actions <actions@github>
2021-05-15 15:02:14 -04:00
TJ DeVries d466135418 doc: Add related projects 2021-05-15 08:33:39 -04:00
TJ DeVries 38765f68db fix: Fix things for conni 2021-04-28 10:38:24 -04:00
TJ DeVries 1675d370bf feat: Just straight up error right away for nvim 0.4.4 2021-04-27 17:30:45 -04:00
TJ DeVries a28999574e feat: allow reset prompt to set text as well 2021-04-22 17:55:06 -04:00
c6980a9acf docs: add other actions modules (#792)
* docs: add other actions modules

* [docgen] Update doc/telescope.txt
skip-checks: true

* fixup

* [docgen] Update doc/telescope.txt
skip-checks: true

Co-authored-by: Github Actions <actions@github>
2021-04-22 17:08:22 -04:00
TJ DeVries d27907b0da fix: Default to an empty sorter, so we always have one 2021-04-16 11:11:40 -04:00
TJ DeVriesandGitHub 2e7ee55aa4 feat: Add more sorter hooks (#752)
* feat: Add more sorter hooks

* fix breaking conni brain
2021-04-15 09:24:10 -04:00
TJ DeVriesandGitHub ba1e674e68 fix: update to newer code (#744) 2021-04-09 13:04:01 -04:00
TJ DeVriesandGitHub 64e59060b1 feat: asyncify pickers - except for live_grep (#709)
* something kind of works already

* yayayayayayayayayayayayayayayayayayayayayayayayayayayayayayayayaya

* use async for everything besides live jobs

* fix: fixup autocmds previewer

* fix: lints for prime

* temp: Add example of how we can think about async sorters

* feat: Allow picker to decide when to cancel

* fix: simplify scoring logic and tests

* fixup: name

* fix: Move back towards more backwards compat methods

* fixup: Remove results from opts

* fixup: remove trailing quote

* fixup: Attempt to clean up some more async items. Next is status

* wip: Add todo for when bfredl implements extmarks over the EOL

* wip

* fixup: got em

* fixup: cleaning

* fixup: docs
2021-04-08 10:35:44 -04:00
TJ DeVriesandGitHub e5fbe6fe60 fix: Use standardized names for current buffer fuzzy find (#737) 2021-04-07 17:12:47 -04:00
TJ DeVriesandGitHub 0b2c801978 feat: buf highlights for current buffer fuzzy find (#732)
* feat: Add buffer highlights from treesitter

* fix: Handle not having tree sitter in some buffers

* fixup

* fixup

* fixup: move back to old node
2021-04-06 19:59:42 -04:00
TJ DeVries c50eaf5c9a fix: Do not error with clearing namespace on clearing display 2021-03-17 20:04:39 -04:00
TJ DeVries add7ee3943 nit: Don't reset highlights on detach 2021-03-09 22:44:45 -05:00
TJ DeVries 390e5fa9f5 fix: Keep remaps safe between reloads 2021-03-03 13:26:57 -05:00
TJ DeVriesandGitHub 0fef4c3e17 fix: remove gotos because this breaks lua 5.1 (#583) 2021-03-03 17:51:44 +01:00
11674ac021 feat: multi selection. Only integrates with send_selected_to_qflist (#551)
This will not yet work with select actions. More work is needed in that case.

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-02-27 21:06:04 +01:00
55ab5c77a5 feat: Add vim docs & generators (#370)
* feat: Add vim docs & generators

* example of what we could start to do

* Docgen CI job

* wip

* incremental updates. soon good validation

* [Actions] Generate Documentation
skip-checks: true

* pretty cool now

* [Actions] Generate Documentation
skip-checks: true

* make sure telescope is loaded first

* Add updates. Maybe this will not delete now?

* Add defaults tags as well

* 😄

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
Co-authored-by: Github Actions <actions@github>
2021-02-24 21:44:51 -05:00
d7c02e3b52 feat: Action improvements (#472)
* feat: replace_map

* feat: Add action_set and action_state

* fix: Move all actions.get_ to action_state.get_

* fix: replace all internal references of _goto_file_selection_edit

* feat: add some docs

* fix: lint

* feat: actions.select

* remove mentions and usage of goto_file_selection APIs

* feat: special case attach_mappings to be overridable and defaultable

* Having goto_file_selection mappings will cause a error

as well as replacing deprecated goto_file_selection methodes

For config and replacing use this instead:
- actions.select_default
- actions.select_horizonal
- actions.select_vertical
- actions.select_tab

Only replacing:
- actions.set.edit -- for replacing all select functions

* adds actions.state.select_key_to_edit_key

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-02-22 11:30:57 -05:00
TJ DeVriesandGitHub 5f1d16acf6 nit: Abstract some functions (#498) 2021-02-04 20:56:05 -05:00
TJ DeVries 4e0dfa2e70 fix: dont error if the previewer is not able to set at the current time 2021-01-30 22:57:36 -05:00
TJ DeVriesandGitHub 4ca523232e feat: only_search_text (#419) 2021-01-11 16:32:53 -05:00
TJ DeVriesandGitHub 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
TJ DeVriesandGitHub 049602a2c5 ci: more tests (#359)
* more tests

* lint
2020-12-23 13:31:05 -05:00
TJ DeVriesandGitHub 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
TJ DeVriesandGitHub eca83f214a fix: Better highlights (#344)
* scratch: easy reproduce for buffers

* fix: Many highlight fixes
2020-12-18 23:42:51 +01:00
TJ DeVries dfeebffd93 fix: Checks for next server on buffer 2020-12-14 11:41:16 -05: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
TJ DeVries 2dd02f74b3 fix: Don't require ts at mod level 2020-12-09 23:14:21 -05:00
TJ DeVries 8ae1f7f94b feat: make ci green 2020-12-09 15:56:27 -05:00
TJ DeVries d1c15dc265 feat: Force delete buffers 2020-12-07 14:24:21 -05:00
TJ DeVriesandGitHub 655295ef64 feat: Create LICENSE (#312) 2020-12-03 14:29:04 -05:00
TJ DeVries be8f5ec8dc scratch: show conni 2020-12-03 12:39:59 -05:00
TJ DeVries 8d97b2dbdd fix: abstract and remove param 2020-12-01 12:47:43 -05:00
TJ DeVries 75311f2c04 feat: highlighter only 2020-11-23 12:30:09 -05:00
TJ DeVriesandGitHub 2ac0582c06 feat: v0.1 of extensions (#278) 2020-11-23 09:29:10 -05:00
TJ DeVriesandGitHub aff22f5bf1 Update issue templates 2020-11-18 09:44:53 -05:00
TJ DeVriesandGitHub 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
TJ DeVries 3e58e1ab7d fix: Update for org 2020-11-13 10:31:34 -05:00
TJ DeVries 855d818a5d fix: #211 2020-11-02 17:07:32 -05:00
TJ DeVries 37c4f1b355 fix: Update documentation about setting custom maps for a picker 2020-10-30 18:36:34 -04:00
TJ DeVries a37e4699c4 feat: Closes #205 2020-10-30 18:31:06 -04:00
TJ DeVries 656f316aee nit: this is a temporary change 2020-10-30 18:01:27 -04:00
TJ DeVries a3afb35614 feat: Added some docs & validation 2020-10-27 23:33:49 -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 5aa20f1f54 feat: turn on matching colors by default, since people do not know about it 2020-10-24 22:59:01 -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
TJ DeVries f95fe484f7 feat: Add ability to configure default sorters 2020-10-19 22:46:36 -04:00
TJ DeVries 5a7a3147a4 fix: Use entry maker for marks 2020-10-15 22:30:08 -04:00
TJ DeVries 6267ead134 fix: Use R for less so it's not bad 2020-10-09 17:34:26 -04:00
TJ DeVries fe63e4f1de fix: Add 'use_less' config value 2020-10-09 00:00:57 -04:00
TJ DeVries ad12bf03d1 feat: Add a test file 2020-10-08 23:48:29 -04:00
TJ DeVries 8c0f2630a0 feat: Add makefile for testing purposes 2020-10-08 23:11:01 -04:00
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 7938ace0f6 fix: README update 2020-10-08 21:44:53 -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
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
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
TJ DeVriesandGitHub 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 DeVriesandGitHub 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
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 DeVriesandGitHub ccb079e08e Update README.md 2020-09-30 00:09:52 -04:00
TJ DeVriesandGitHub 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
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 487ed97acb data: add options.lua 2020-09-26 10:42:57 -04:00
TJ DeVries 059ccd33af fix: use os sep 2020-09-26 10:42:19 -04:00
TJ DeVries 541c4c33e6 fix: Rockerboo document lies 2020-09-25 16:07:03 -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
TJ DeVries a38bb06e7d wip: Add some stuff for nvim_file 2020-09-24 23:23:03 -04:00
TJ DeVries 145777396b scratch: add completion init for testing 2020-09-24 22:30:20 -04:00
TJ DeVries 46f1b47c0b fix: more silenter 2020-09-24 21:04:21 -04:00
TJ DeVries 7871d392ad wip: Add some WIP ideas for reloader 2020-09-23 12:12:37 -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 fa16efaeb6 scratch: minimal init vim 2020-09-22 09:58:20 -04:00
TJ DeVries 025485fa1f wip: Add ability to search for word match w/ rg 2020-09-22 09:58:08 -04:00