Commit Graph

51 Commits

Author SHA1 Message Date
Simon Hauser
587a10d149 chore: remove a lot of deprecated stuff (#1399) 2021-11-01 20:30:10 +01:00
tami5
60660334c7 feat(defaults): enable customization of path_display.truncate (#1264)
followup to https://github.com/nvim-telescope/telescope.nvim/pull/1254
and implementation of
https://github.com/nvim-telescope/telescope.nvim/pull/1254#issuecomment-922527270
2021-09-20 12:52:59 +03:00
Luke Kershaw
f0db7d3a59 feat: truncate option for path_display (#1254) 2021-09-19 20:38:00 +02:00
qualious
1d17cc4abc feat: smart path (#914)
path_display = { "smart" }

Co-authored-by: Deniz <deniz@admentum.se>
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-09-12 21:14:00 +02:00
fdschmidt93
fbe004142f feat: show keymaps for builtin actions (#1084)
* Add default mappings `<C-/>`and `?` for insert and normal mode, respectively, to show registered keymappings (`actions.which_key`) attached to prompt buffer
2021-09-01 20:11:53 +02:00
Simon Hauser
baf39e5339 doc: generate docgen
i forgot it. My bad
2021-09-01 16:53:56 +02:00
Logan Connolly
b0c04c62b5 feat: add utility for fetching buffer directory (#902) 2021-09-01 16:52:45 +02:00
TJ DeVries
260f4617b6 startup: load once and only when called for devicons (#1139) 2021-08-20 13:47:30 -04:00
TJ DeVries
273942cc47 fixup: stylua 2021-08-06 13:14:13 -04:00
TJ DeVries
ae897cec08 fix: Do not transform URIs 2021-08-06 13:12:13 -04:00
Simon Hauser
79644ab677 chore: use stylua for formatting (#1040)
* chore: stylua job and config

* reformat with stylua
2021-07-23 11:42:37 -04:00
Luke Kershaw
8c3f2b630b feat: check type of path_display and warn user if wrong (#1023) 2021-07-18 12:19:27 +01:00
Luke Kershaw
1866265fea feat: Add length option for shorten_path (#886)
* feat: add `shorten_len` option for path shortening

- adds option to configure the length of shortened parts of filenames
- only affects paths when "shorten" is in `path_display`

* chore: revert rebase for `path.lua` to 876bed9

* refactor: replace `shorten_len` with the `shorten` key in `path_display`

- also deprecates `utils.path_shorten` and passes straight to `plenary`s `Path:shorten`

* feat: allow `path_display` to handle table keys, as well as strings
2021-07-16 17:41:39 +01:00
Nazeeh ElDirghami
138697980b feat: Add ability to have a user defined function to format the path display (#1000) 2021-07-16 17:20:25 +02:00
Simon Hauser
876bed9632 chore: changelog for 473 (#992) 2021-07-14 19:54:06 +02:00
anott03
df579bac42 refactor: move from telescope.path to plenary.path (#473)
This will deprecate telescope.path, we will remove it soon. Please move over to plenary.path

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-07-14 19:25:00 +02:00
caojoshua
d5a8e48aa6 Consistent filepath display and code cleanup. (#839)
BREAKING CHANGE: see :help telescope.changelog-839 for more information

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-07-08 10:30:44 +02:00
JINNOUCHI Yasushi
0c1bc129da chore: use plenary.strings and remove strings functions from utils (#690)
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-06-14 20:47:33 +02:00
fdschmidt93
e27c87f88a feat: add filtering by symbol(s) to lsp_{document,workspace}_symbols (#903) 2021-06-10 23:10:18 +02:00
fdschmidt93
1407ac3400 feat: improved configuration and sorting of lsp_{document,workspace}_diagnostics (#867) 2021-06-10 17:13:34 +02:00
William Boman
3adeab2bed fix: support multiple clients in lsp code actions (#722)
* fix: support multiple clients in lsp code actions

* no goto

* reduce diff a bit

* use displayer, also include lsp client name for each entry

* review comments
2021-04-20 17:48:29 -07: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
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
Simon Hauser
763f63eb14 fix: make sure devicons are loaded (#590) 2021-03-02 09:51:21 +01: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
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
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
Simon Hauser
3a7fa41857 fix: all git builtin respect cwd now (#517) 2021-02-09 18:25:57 +01:00
JINNOUCHI Yasushi
993e383dd5 hotfix: displayer showing now items on windows (#515)
No longer use ffi for strdisplaywidth and utf_ptr2len on windows.
That might lead to wrong truncations on windows but its better than nothing.
2021-02-09 09:32:43 +01:00
JINNOUCHI Yasushi
1ca1e7ccba fix: Multi byte truncate for displayer (#464)
This is needed for calling strdisplaywidth() from Lua loop.

See https://github.com/nvim-telescope/telescope.nvim/issues/414
See a1ed941a78/src/nvim/eval/funcs.c (L9845-L9858)

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-01-31 10:55:17 +01:00
Simon Hauser
e08a5b1331 feat: show git log for remote branches (#428) 2021-01-15 09:27:46 +01:00
Simon Hauser
141dc6d55e ci: Add luacheck ci job (#317)
* Add luacheck ci job

* Fix most of the linting issues

* fixup: lint

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-12-09 15:46:41 -05:00
TJ DeVries
d1c15dc265 feat: Force delete buffers 2020-12-07 14:24:21 -05:00
Julian Berman
863a0d42c9 fix: Set and unset report to what's needed when deleting buffers. (#282)
Fixes #105.
2020-12-03 14:23:19 -05:00
Simon Hauser
76e7fe8cb0 fix: Multiple Previewer fixes (#225)
Fixes previews for files beginning with ~/
Previewer will now show directories
Fix if clause with vim.fn.executable
2020-11-13 15:07:12 -05:00
Senghan Bright
051aefdb8c feat: v1 options menu (#133)
Still has a bunch of improvements that can be done, but wanted to merge in some of the related changes.

* options parser

* wip: vimoptions finder

* feat: pre-populate ex-command line with `:set foo=`

* use options current value when populating command line

* fix: use result.raw_value to store original option value

* .

* options: Continue work on option finder

* [WIP]: Tue 27 Oct 2020 10:34:09 PM EDT

* [WIP]: Mon 02 Nov 2020 08:20:13 PM EST

* [WIP]: Mon 02 Nov 2020 09:04:23 PM EST

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-11-02 21:05:10 -05:00
TJ DeVries
5a7a3147a4 fix: Use entry maker for marks 2020-10-15 22:30:08 -04:00
TJ DeVries
3592b1f8b0 fix: 126 2020-09-28 17:03:59 -04:00
TJ DeVries
a38bb06e7d wip: Add some stuff for nvim_file 2020-09-24 23:23:03 -04:00
TJ DeVries
a9d9b3d8bf feat: Improved previewers and cleanup 2020-09-17 12:34:42 -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
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
TJ DeVries
14310ee6b1 fix: Don't push past midnight. You'll make clason's stuff break :/ 2020-09-04 09:49:10 -04:00
TJ DeVries
839f57efb3 feat: Major improvements in API. Particularly relating to entries. 2020-09-03 23:56:49 -04:00
TJ DeVries
39096492ab feat/hack: Add builtin.builtin 2020-09-01 22:27:50 -04:00
TJ DeVries
51ed9c3e98 Add some WIP stuff 2020-08-31 22:23:12 -04:00
TJ DeVries
8c5bf8c746 wip: Messing around w/ ffi for some stuff 2020-08-31 18:12:51 -04:00
TJ DeVries
e38589f265 feat: Combine configuration into picker.new() 2020-08-31 17:32:31 -04:00
TJ DeVries
cfddae42f5 WIP: Actually get the UI to work and add some tests 2020-08-20 23:41:53 -04:00
TJ DeVries
96cac0a8c8 Work on ngram sorter 2020-08-03 20:40:04 -04:00