Commit graph

1292 commits

Author SHA1 Message Date
Folke Lemaitre
f6a807da6d
feat(picker.actions): option to disable notify for yank action. Closes #1117 2025-02-13 11:59:24 +01:00
Folke Lemaitre
eae55e7ca3
fix(picker.actions): reverse prev/next on select with a reversed list layout. Closes #1124 2025-02-13 11:55:37 +01:00
Folke Lemaitre
f8bc1192cb
fix(picker.list): reset preview when no results. Closes #1133 2025-02-13 11:49:51 +01:00
Folke Lemaitre
e326de9e0c
fix(picker.actions): check that plugin exists before loading it in help. Closes #1134 2025-02-13 11:43:07 +01:00
Folke Lemaitre
96796db21e
fix(picker): update titles last on show. Closes #1113 2025-02-13 11:41:00 +01:00
Folke Lemaitre
e71955a941
feat(scroll): big rework to make scroll play nice with virtual lines 2025-02-13 11:37:44 +01:00
Folke Lemaitre
1491b543ef
fix(picker.actions): don't delete empty buffer when its in another tabpage. Closes #1005
Some checks failed
CI / ci (push) Failing after 0s
2025-02-12 18:48:45 +01:00
Folke Lemaitre
96f12274a4
feat(util): base64 shim for Neovim < 0.10 2025-02-12 18:48:44 +01:00
Iordanis Petkakis
c61f9eb286
feat(treesitter): add tree boolean to toggle on/off tree symbols (#1105)
## Description
Adds a `opts.tree` boolean option for treesitter picker to toggle on/off
tree symbols
<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->

## Related Issue(s)
None, rather a discussion #1101
<!--
  If this PR fixes any issues, please link to the issue here.
  - Fixes #<issue_number>
-->

## Screenshots

<!-- Add screenshots of the changes if applicable. -->
2025-02-12 13:18:37 +01:00
Folke Lemaitre
12848356c4
feat(image): check for magick in health check
Some checks failed
CI / ci (push) Failing after 0s
2025-02-12 11:14:21 +01:00
Folke Lemaitre
1795d4b1ec
feat(image): better detection of image capabilities of the terminal/mux environment 2025-02-12 09:25:42 +01:00
Folke Lemaitre
95a300ebaa
refactor(proc): better proc debug 2025-02-12 08:21:22 +01:00
Folke Lemaitre
c5540974fa
fix(layout): make sure width/height are at least 1. Closes #1090 2025-02-12 08:04:39 +01:00
Folke Lemaitre
b94926e5cc
fix(picker.proc): make sure to emit the last line when done. Closes #1095 2025-02-12 07:32:42 +01:00
Folke Lemaitre
d870f16453
feat(picker.proc): added proc debug mode 2025-02-12 07:32:42 +01:00
Folke Lemaitre
a8dda993e5
fix(picker.notifications): close on confirm. Closes #1092 2025-02-12 07:05:48 +01:00
Folke Lemaitre
76f6e4f81c
fix(picker.highlights): close on confirm. Closes #1096 2025-02-12 07:04:13 +01:00
felipeymn
345eeb6941
fix(statuscolumn): only execute za when fold exists (#1093)
## Description

Currently, clicking the status column on a line without a fold results
in an error (see screenshot below). This PR adds a check before
executing `za` to prevent this issue.

## Screenshots

![statuscolumn](https://github.com/user-attachments/assets/c0377595-cdcc-438c-bd3f-2feabb3a220a)
2025-02-12 07:01:19 +01:00
Folke Lemaitre
ab1889c35b
feat(explorer): opts.include and opts.exclude. Closes #1068 2025-02-11 22:22:04 +01:00
Folke Lemaitre
97dcd9c168
feat(picker.util): lua globber 2025-02-11 22:22:04 +01:00
Folke Lemaitre
910437f145
feat(picker.preview): allow passing additional args to the git preview command 2025-02-11 20:12:26 +01:00
Folke Lemaitre
336798345c
fix(picker.highlight): lower case treesitter parser name 2025-02-11 20:02:50 +01:00
Ondrej Brablc
97fd57e8a0
fix(gitbrowse): add support for GitHub Enterprise Cloud repo url (#1089)
The extra % before - is needed in Lua. Without this rule, `<leader>gB`
would just open empty browser.

## Description

Support repo url in format:
`org-123456@github.com:repo-group/repo-name.git`
2025-02-11 19:53:36 +01:00
Folke Lemaitre
0dab071dba
fix(layout): just hide any layouts below a backdrop. easier and looks better. 2025-02-11 19:53:20 +01:00
Folke Lemaitre
4c1d7b4720
feat(util): Snacks.util.winhl helper to deal with vim.wo.winhighlight 2025-02-11 19:49:02 +01:00
Folke Lemaitre
6e45829879
fix(terminal): check for 0.11 2025-02-11 14:44:44 +01:00
Folke Lemaitre
8d5ae25806
fix(image): relax check for wezterm. Closes #1076 2025-02-11 13:54:41 +01:00
Folke Lemaitre
c1f93e25bb
fix(picker.preview): preview for uris. Closes #1075 2025-02-11 13:49:38 +01:00
folke
7cbecf9147 chore(build): auto-generate docs 2025-02-11 12:42:34 +00:00
Folke Lemaitre
0d4aa98cea
feat(picker): added lsp_config source 2025-02-11 13:41:32 +01:00
Folke Lemaitre
6c58b67890
feat(picker.config): better source field spec 2025-02-11 13:41:32 +01:00
Folke Lemaitre
62c2c62671
fix(picker.preview): fix newlines before setting lines of a buffer 2025-02-11 13:41:32 +01:00
Folke Lemaitre
5d42c7e5e4
feat(picker.util): utility function to get all bins on the PATH 2025-02-11 13:41:32 +01:00
Folke Lemaitre
37f6665c48
feat(terminal): don't use deprecated vim.fn.termopen on Neovim >= 0.10 2025-02-11 13:41:32 +01:00
Folke Lemaitre
f7a35b8214
fix(explorer.git): always at .git directory to ignored 2025-02-11 11:25:11 +01:00
Folke Lemaitre
d607d2e050
fix(picker.lsp): only sort when not getting workspace symbols. Closes #1071 2025-02-11 10:18:20 +01:00
Folke Lemaitre
462578edb8
fix(image): remove test 2025-02-11 07:36:10 +01:00
Folke Lemaitre
9e6b1a62a8
feat(image): added fallback image rendering for wezterm. Closes #1063 2025-02-11 07:34:43 +01:00
Folke Lemaitre
345260f39f
fix(image): remove wezterm from supported terminals, since they don't support unicode placeholders. Closes #1063
Some checks failed
CI / ci (push) Failing after 0s
2025-02-11 00:04:29 +01:00
Folke Lemaitre
34dd83c257
fix(picker.config): use <c-w>HJKL to move float to far left/bottom/top/right. Only in normal mode. 2025-02-10 22:34:53 +01:00
Folke Lemaitre
fcb2f508dd
fix(picker.input): prevent save dialog 2025-02-10 22:06:09 +01:00
Folke Lemaitre
9ab6637df0
fix(picker.actions): use vim.v.register instead of + as default. 2025-02-10 20:47:31 +01:00
Folke Lemaitre
bcaa25f9b8
docs(image): docgen 2025-02-10 20:28:33 +01:00
Folke Lemaitre
01efab2ddb
feat(picker): each window can now be toggled (also input), hidden and have auto_hide 2025-02-10 20:26:14 +01:00
Folke Lemaitre
593adccd90
refactor(picker): refactor all the things 2025-02-10 20:26:14 +01:00
Folke Lemaitre
78e692cd07
fix(image): only setup tmux pass-through on supported terminals. Fixes #1054 2025-02-10 18:09:16 +01:00
Folke Lemaitre
d17a6e4af8
feat(image): allow forcing image rendering even when the terminal support detection fails 2025-02-10 18:09:16 +01:00
Folke Lemaitre
3841a8705a
fix(picker.help): make sure plugin is loaded for which we want to view the help 2025-02-10 14:56:50 +01:00
Folke Lemaitre
a6d866ab72
feat(image): utility function to get a png dimensions from the file header 2025-02-10 14:35:46 +01:00
Folke Lemaitre
73366fa170
feat(image): apply image window options 2025-02-10 14:35:46 +01:00