Akin
80eefd8ff0
feat(buffer_previewer): pass file details in TelescopePreviewLoaded autocmd ( #2429 )
2023-05-24 11:56:49 +02:00
James Trew
c8b65238e8
fix: previewers & entry maker file encoding ( #2430 )
2023-05-24 11:49:38 +02:00
Christian Clason
d8c5ed4e40
feat(ts)!: use upstream treesitter implementation ( #2499 )
...
bumps minimum required neovim version to 0.9, see `help telescope.changelog-2499`
2023-05-24 10:43:04 +02:00
James Trew
40c31fdde9
feat(previewer): add option for ls --short ( #2486 )
...
Co-authored-by: Github Actions <actions@github>
2023-05-16 09:02:09 +03:00
KevinSilvester
89c67676a8
fix(preview): update mime-type check for json files ( #2221 ) ( #2480 )
2023-05-14 22:04:34 +02:00
Zoe Roux
eba418cca7
fix: make git_status diff works with staged files ( #2421 )
2023-03-21 13:33:08 -04:00
Kalka
65287605c3
fix: wrap nvim_buf_set_option in a protected call ( #2346 )
2023-01-30 22:06:47 +01:00
vladislav doster
dce1156ca1
docs: telescope.nvim spelling and grammar fixes ( #2325 )
...
Corrects the following issues:
- article agreement
- spelling
2023-01-22 10:07:45 +01:00
James Trew
053f2303c4
docs: proof-read edits ( #2311 )
2023-01-22 09:57:53 +01:00
Simon Hauser
3a29c1e89d
fix: preview = true ( #2168 )
2022-10-08 07:46:08 +02:00
Simon Hauser
19047b6b3c
fix: previewer if custom_captures are set ( #2156 )
2022-09-04 21:06:34 +02:00
Fabian David Schmidt
8f80e82108
fix(previewer): regression on live_grep ( #2119 )
2022-08-09 13:02:21 +02:00
Fabian David Schmidt
787db424e3
fix(buffer_previewer): bypass path validation for terminal buffers ( #2117 )
2022-08-09 11:45:06 +02:00
Simon Hauser
10a3310546
fix: from_entry escape and validation ( #2058 )
2022-07-10 21:28:22 +02:00
Simon Hauser
9b3afe51c4
fix: autocmd, show desc if available ( #2046 )
2022-07-07 16:45:32 +02:00
Simon Hauser
f838695459
chore: reformat with stylua 0.14.0
2022-07-07 08:27:46 +02:00
marcel
5dd4b52910
break: cleanup preview.treesitter language setting ( #1612 )
...
this follows nvim-treesitter more closely but enable can also be a table
of enabled languages
The config now looks like this:
```lua
defaults = {
preview = {
treesitter = {
enable = false,
-- or
enable = { "c" },
-- disable can be set if enable isn't set
disable = { "perl", "javascript" },
},
},
},
```
2022-07-01 22:58:05 +02:00
Simon Hauser
75deb22aa8
fix: crash in tags on enter for no results and random crash in previewer
2022-07-01 19:18:30 +02:00
Simon Hauser
4ef490defa
fix: Inconsistent Color highlighting inside Git File Diff Preview
...
fix #1098
2022-06-30 14:01:52 +02:00
Simon Hauser
25b1bc8f17
feat: clear previewer if no item is selected ( #2004 )
2022-06-30 14:01:52 +02:00
Simon Hauser
77e2b8ceea
chore: cleanup autocmd builtin ( #1947 )
2022-06-30 14:01:51 +02:00
zeertzjq
d96eaa914a
fix: block autocommands when setting preview buffer ( #2010 )
...
Telescope creates most floating windows with `noautocmd = true`, so
these windows do not trigger autocommands, but preview buffer is set in
window using `nvim_win_set_buf()`, which triggers buffer autocommands.
This may be unwanted, so block them using 'eventignore'.
2022-06-15 10:43:10 +02:00
Simon Hauser
3d304a9a55
fix: TelescopePreviewerLoaded ( #2005 )
2022-06-13 21:49:10 +02:00
Simon Hauser
23e28d066a
fix: termpreviewer scrolling ( #1906 )
2022-05-02 08:48:50 +02:00
Simon Hauser
544c5ee407
fix: termopen previewer ( #1901 )
...
- buffer leaking
- still insert mode on confirm
2022-05-01 09:46:50 +02:00
Simon Hauser
831f76a809
docs: add module prefix ( #1847 )
2022-04-18 08:21:00 +02:00
ibhagwan
cf2d6d3428
fix (tags|btags): escape all special characters ( #1806 )
2022-03-26 10:29:34 +01:00
tami5
ef7b6ada6d
feat: improve UX with vim.notify ( #1763 )
...
* fix(notify): don't report request on new line
* ref(notify): update message format
* ref(msgs): always quote values + decrease duplication
* fix(ci): undefined variables
* ref(actions): temporary silent actions.__index errors
* cleanup
* revert: panic effort, we continue to use error for those
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
2022-03-13 18:11:27 +01:00
Simon Hauser
2d0b4a3243
fix: disable signcolumn in telescope windows ( #1781 )
2022-03-11 15:34:39 +01:00
Laura
a7517b4b2d
refactor: remove redundant state in preview ( #1761 )
2022-03-10 16:34:02 +01:00
Simon Hauser
234066f875
fix: man_pages previewer, respecting MANPATH and apropos output parsing ( #1764 )
...
- introducing putils writer and use it rather than using PAGER env var
- introducing env for lua/telescope/_.lua job interface
- to respect MANPATH (and PATH just in case)
- fix for apropos output parsing might return e.g. `alacritty, Alacritty`
We need to split on first `,`
2022-03-10 13:48:40 +01:00
Vedant Neema
567ec85b15
fix builtin.autocommands throwing error ( #1758 )
2022-02-23 15:36:45 +01:00
daangoossens22
c948263d89
fix: builtin autocommands previewer throws error ( #1732 )
2022-02-14 17:36:55 +01:00
smhc
991d0127f0
fix: previewer for builtin.builtin ( #1583 )
2021-12-10 11:44:50 +01:00
Simon Hauser
d0083f9e4c
fix: git_branch previewer highlighter error ( #1543 )
2021-12-05 08:39:16 +01:00
Patrick Ziegler
ce8c8d4a45
fix(highlight): Use TS built-in is_enabled function ( #1513 )
...
The function just replicated the logic from is_enabled and assumed the
`disable` setting is always a table. This is no longer the case
(https://github.com/nvim-treesitter/nvim-treesitter/pull/2009 ), it can
now also be a function.
2021-11-30 21:18:08 +01:00
Simon Hauser
a8e9aa58a4
fix: issue when scrollbind is set ( #1496 )
2021-11-26 22:42:54 +01:00
Zoltan Klinger
3d45c6c555
fix: typo in previewers documentation ( #1450 )
2021-11-13 08:52:08 +01:00
fdschmidt93
97842abb03
fix: revert buffers previewer ( #1400 )
...
* Reverts #1120 many issues arise (mru, highlighting, settings inheritance, ...) when previewing actual buffers
2021-11-04 07:55:32 +01:00
Simon Hauser
a0835edd86
fix: preview title key and a bug with dynamic_title ( #1350 )
2021-10-20 16:23:26 +02:00
fdschmidt93
ec48777990
fix: stacking highlights in buffer previewer ( #1294 )
2021-10-04 22:35:22 +02:00
fdschmidt93
a6c7498bdc
feat: filetype_hook & improved docs; fix preview partial override ( #1273 )
2021-09-27 15:24:35 +02:00
Sávio Carlos Martins Costa
87471bc3ff
feat: add highlight group: TelescopePreviewMessage ( #1286 )
...
* feat: add highlight group: TelescopePreviewMessage
* fix indentation from 4 to 2 spaces
2021-09-27 11:59:05 +02:00
Simon Hauser
41f362006b
fix: tags now also support suppercollider tags ( #1284 )
2021-09-26 12:56:06 +02:00
fdschmidt93
2e7584f1cf
fix: stacked hooks in buffer previewer ( #1253 )
2021-09-17 20:02:56 +02:00
fdschmidt93
5a020a8859
fix: fallback to syntax hl if treesitter fails ( #1249 )
2021-09-17 00:07:54 +02:00
fdschmidt93
7c5b846f6f
feat: skip/timeout preview if file cannot be easily previewed ( #1231 )
...
* For full configuration, see `:h telescope.defaults.preview`
* Unblocks previewer on binaries, too large files, and files that take too long to read
* Allows toggling treesitter highlighting for buffer_previewer
* Allows to globally opt out of previewer
2021-09-16 23:01:40 +02:00
Simon Hauser
5131df7df1
docs: rewrite readme and add missing config values + builtin opts
2021-09-16 11:12:12 +02:00
fdschmidt93
1c35ea319e
fix: stale lnum in buffer previewer ( #1229 )
...
* fix: lnum to jump to might be stale eg when resuming buffer picker after changes
2021-09-10 13:21:04 +02:00
fdschmidt93
ac42f0c26c
fix: clear buffer previewer fully for caching ( #1201 )
2021-09-02 16:36:08 +02:00