Jesse Leite
d4bf1181ea
Improve oldfiles Picker ( #657 )
2021-03-18 10:21:25 +03:00
TJ DeVries
c50eaf5c9a
fix: Do not error with clearing namespace on clearing display
2021-03-17 20:04:39 -04:00
Christopher Laidler
812fae1d71
fix: related to #13 telescope-project, enter insert mode on prompt close ( #637 )
...
* fix: related to #13 telescope-project, enter insert mode on prompt close
* fix: related to #13 telescope-project, enter insert mode on prompt close
* revert changes made in error
* fix PR issue
* fix: undefined variable do_close
* use action_state as actions is deprecated
* [docgen] Update doc/telescope.txt
skip-checks: true
Co-authored-by: Github Actions <actions@github>
2021-03-17 04:50:06 +07:00
tami5
284f38c575
feat & fix: Command History Picker ( #656 )
2021-03-14 20:05:56 +03:00
Volodymyr Kot
5333ab0b19
Prefer vim.api over vim.fn ( #650 )
...
See https://github.com/neovim/neovim/pull/13875 for details.
2021-03-14 17:11:45 +03:00
elianiva
c8cc024ebf
feat: add add_to_qflist, add_selected, and smart_add ( #636 )
...
* feat: add `add_to_qflist`, `add_selected`, and `smart_add`
* refactor: use local function
2021-03-12 11:00:15 +07:00
TJ DeVries
add7ee3943
nit: Don't reset highlights on detach
2021-03-09 22:44:45 -05:00
Khue Nguyen
a7d359948b
docs: correct link to CONTRIBUTING.md ( #632 )
2021-03-10 05:39:50 +03:00
fdschmidt93
559bf36e73
feat: add completion to pre-filtering ( #626 )
...
Works by pressing `<C-l>` in insert mode. Supported are all builtins that have prefiltering. Means:
- lsp_workspace_symbols
- lsp_workspace_diagnostics
- lsp_document_symbols
- lsp_document_diagnostics
2021-03-09 21:04:21 +01:00
oberblastmeister
ff428c9187
feat: lsp definitions ( #631 )
...
* added lsp definitoins
* don't call locations_to_items when there is one
Co-authored-by: Jae-Won Chung <jaywonchung@snu.ac.kr >
* added missing end
* added description
* added to feature map
* Update lua/telescope/builtin/lsp.lua
Co-authored-by: fdschmidt93 <39233597+fdschmidt93@users.noreply.github.com >
* Update lua/telescope/builtin/lsp.lua
Co-authored-by: Jae-Won Chung <jaywonchung@snu.ac.kr >
Co-authored-by: Jae-Won Chung <jaywonchung@snu.ac.kr >
Co-authored-by: fdschmidt93 <39233597+fdschmidt93@users.noreply.github.com >
2021-03-09 14:17:56 -05:00
oberblastmeister
1c80a92d40
fix: error using dictionary as a string when running send_to_qflist ( #622 )
2021-03-07 08:50:57 +01:00
Simon Hauser
68c30dd560
fix: only expand if we are not in_fast_event()
2021-03-07 08:41:45 +01:00
elianiva
6e941e0ece
feat: define scroll speed + smart_send to qflist ( #610 )
...
* smart send to qflist
* Previewer scrolling for half window height
* Start doing cleanup in readme
* feat: add ability to define the scrolling speed
* move scrolling action to action.set
* docs: added more docs for actions
* [docgen] Update doc/telescope.txt
skip-checks: true
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
Co-authored-by: Github Actions <actions@github>
2021-03-05 20:13:48 +07:00
fdschmidt93
8369acea3e
fix: error from unset LspDiagnosticSign & introduce opts.no_sign to lsp_*_diagnostics ( #607 )
2021-03-04 21:53:41 +01:00
Tom
e7f724b437
feat: add hidden opt to file_browser ( #608 )
...
:Telescope file_browser hidden=true
2021-03-04 20:40:35 +01:00
fdschmidt93
908752fc67
feat: workspace diagnostics, jump to and improved styling ( #599 )
...
Changes: `Telescope lsp_diagnostics` is now `Telescope lsp_document_diagnostics`
New: `Telescope lsp_workspace_diagnostics`
Co-authored-by: Fabian David Schmidt <fabian.david.schmidt@hotmail.com >
Co-authored-by: elianiva <dicha.arkana03@gmail.com >
2021-03-04 15:01:17 +01:00
Dmitry
8dc00b08aa
fix: add loading guard ( #602 )
2021-03-04 14:41:50 +01:00
fdschmidt93
db7615578b
feat: lsp diagnostics and prefiltering by entry attribute ( #543 )
...
prefiltering for lsp_document_symbols and lsp_workspace_symbols.
example: type `:var:` to show all vars
2021-03-03 22:33:03 +01:00
TJ DeVries
390e5fa9f5
fix: Keep remaps safe between reloads
2021-03-03 13:26:57 -05:00
Simon Hauser
3faca0802f
docs: start documenting previewers ( #574 )
...
Co-authored-by: Muhammed Zakir <MuhammedZakir@users.noreply.github.com >
2021-03-03 18:14:46 +01:00
Github Actions
3ee53c892d
[docgen] Update doc/telescope.txt
...
skip-checks: true
2021-03-03 16:52:10 +00:00
TJ DeVries
0fef4c3e17
fix: remove gotos because this breaks lua 5.1 ( #583 )
2021-03-03 17:51:44 +01:00
tamago324
20984fc5cd
fix: subcommand completion for each extension ( #597 )
2021-03-03 21:16:15 +08:00
elianiva
b67c6fdfee
docs: show a short way to list all builtin pickers
...
ref: #588
2021-03-03 13:52:41 +07:00
elianiva
569ebd43e7
feat: add expand_dir opts for git_status ( #591 )
...
* feat: add expand_dir opts for git_status
* make -u as the default
2021-03-02 19:41:01 +07:00
Simon Hauser
763f63eb14
fix: make sure devicons are loaded ( #590 )
2021-03-02 09:51:21 +01:00
Raphael
677b44d3a0
Enhance Telescope command ( #588 )
...
* Enhance Telescope command close #581
* bug fix
2021-03-02 16:34:29 +08:00
ndavid
678494e503
refactor: move transform_devicons and get_devicons to utils ( #580 )
...
So extension developers can access them
2021-03-01 23:59:17 +01:00
Simon Hauser
b08f65c5fd
feat: better display for git_branches ( #586 )
2021-03-01 22:36:37 +01:00
ThePrimeagen
50ae42b158
feat: delete mappings for git_branches ( #578 )
2021-03-01 22:18:36 +01:00
Thorsten Ball
a14b95962f
Fix formatting in README to show keybinding ( #577 )
2021-03-01 17:38:18 +07:00
elianiva
b1711389b6
docs: add space before + and }
...
I am sorry, my OCD can't stand this :DDD
2021-02-28 22:27:41 +07:00
Ben Smith
ed2764a1bd
feat: layout horizontal and vertical can now be mirrored ( #548 )
...
See documentation for more info
2021-02-28 11:16:47 +01:00
Simon Hauser
e1c8ad5d78
fix: entry_prefix if selection_caret > entry_prefix ( #572 )
2021-02-28 10:54:44 +01:00
Volodymyr Kot
ee341b02ea
feat: add ability to multiselect in reverse direction ( #573 )
...
Use Shift+Tab
2021-02-28 10:18:11 +01:00
TJ DeVries
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
Simon Hauser
ca92ec1a83
fix: a lot of small things and adds more customization for caret ( #554 )
...
Attention:
prompt_prefix will no longer add a space at the end. So if you still want a space at the end make sure your configuration has one.
The default should not be changed. So if you haven't copied prompt_prefix in your config this doesn't affect you.
Feat:
- prompt prefix does no longer always end with space
- selection_caret configurable. Default: `> `
- result_prefix configurable. Default: ` `
- more actions for git_branches
- <c-t> does track the branch
- <c-r> does rebase branch
- also added delete branch action but not configured. See readme on how to do that
Fixes:
- fix docgen ci
- Better error for lsp_workspace_symbols
- better formatting for CONTRIBUTING.md
- move from systemlist to plenary.job
- git branch now supports checkout on remote branches
2021-02-27 16:26:25 +01:00
oberblastmeister
84732d1d78
fix: goto_file_selection performance issues, do not reload buffer if it is already loaded ( #541 )
2021-02-27 16:01:02 +01:00
Tom
49650f5d74
feat: allow git_* to use vim pwd over git root ( #563 )
...
with opt use_git_root = false
Examples:
- Telescope git_files use_git_root=false
- Telescope git_commits use_git_root=false
- Telescope git_status use_git_root=false
2021-02-27 12:04:30 +01:00
elianiva
d37dc88eab
fix: proper multibytes chars alignment ( #560 )
...
I am 100% did not spoil anything, I swear
2021-02-26 20:17:47 +07:00
Jae-Won Chung
e2696d694a
fix: change git previewers from using -P to --no-pager for better compatibility ( #558 )
2021-02-26 11:54:33 +01:00
elianiva
d3a9c786ba
docs: update outdated gif + more demo ( #546 )
...
* docs: update outdated gif
* add link that points to telescope wiki
2021-02-25 00:23:41 -05:00
TJ DeVries
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
elianiva
8b3d08d7a6
fix: scroll misbehaving + fixed jump to middle ( #547 )
...
* fix: scroll misbehaving + fixed jump to middle
* add test
* fixx
* fix nil
2021-02-24 21:40:11 +07:00
Simon Hauser
b5051eeb01
feat: make buffer previewer default and deprecate bat previewer ( #420 )
...
To revert back to bat previewers put this into your config:
file_previewer = require'telescope.previewers'.cat.new,
grep_previewer = require'telescope.previewers'.vimgrep.new,
qflist_previewer = require'telescope.previewers'.qflist.new,
2021-02-24 03:47:22 +01:00
Hubert Pelczarski
67b0661537
feat: adds M mapping in normal mode ( #544 )
2021-02-24 03:35:52 +01:00
Simon Hauser
10627e889e
feat: advanced normal mode ( #463 )
...
Add <count>j and k to normal mode and H and L to jump at top and bottom of displayed results
2021-02-24 02:41:00 +01:00
Simon Hauser
4dd35ef0e1
feat: file browser & refresh interface ( #290 )
...
and more picker api stuff for sunjon. refresh is implemented for file_browser and git_status
2021-02-23 22:10:19 +01:00
bi0ha2ard
0a32b47f20
fix: typo from last commit ( #542 )
...
Please blame conni for that one
2021-02-23 21:01:08 +01:00
bi0ha2ard
da7bdd9ee7
readme: update extensions section. Link to wiki for community extensions ( #539 )
2021-02-23 20:48:42 +01:00