Folke Lemaitre
aa8a318779
fix(picker.lsp): some LSP servers notify completion before sending the actual result. See #2372
2025-10-30 11:01:07 +01:00
Folke Lemaitre
87804d67b9
style(picker.lsp): add debugging info for LSP yielding after done. See #2372
2025-10-30 10:47:45 +01:00
Folke Lemaitre
b3d01c59ba
fix(picker.util): ignore errors from corrupted kv stores. Closes #2394
2025-10-30 10:20:43 +01:00
David
6cf2fee619
fix(picker.actions): drop and tabdrop should never reload existing buffers ( #2368 )
...
## Description
When using `tabdrop` as the `jump` action and jumping to a location in
the current buffer, the existing implementation always triggers a reload
of the current buffer because the `vim.cmd` is unconditional. This
causes unnecessary triggering of `BufRead*` and `LspAttach`
auto-commands, which can then trigger a lot of things that can be
CPU-intensive (linters, LSP, etc.). This PR skips calling the `cmd` when
jumping to the current buffer, and hence avoids the excessive triggering
of those auto-commands.
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2025-10-30 10:17:01 +01:00
Folke Lemaitre
404027c973
feat(image): when opts.conceal, conceal remainig lines that are not covered by the image. See #2391
2025-10-30 09:14:42 +01:00
Folke Lemaitre
13963b1ec4
fix(image): don't add placements to concealed lines. Closes #2391
2025-10-30 09:13:34 +01:00
Folke Lemaitre
04b3a54576
fix(image.inline): off-by-one for finding visible images at the last line of the buffer
2025-10-30 09:12:24 +01:00
Folke Lemaitre
a9b57b2a7e
fix(explorer): schedule on_find (typically reveal), for both files finder and when git status updates the finder. Closes #2388
2025-10-30 08:17:06 +01:00
Folke Lemaitre
367d1bd385
fix(keymap): make sure opts are a table. Closes #2392
2025-10-30 07:56:38 +01:00
Folke Lemaitre
46917d0629
fix(picker.lsp): fixed vim.str_byteindex capability check. Closes #2389
2025-10-30 07:48:46 +01:00
Folke Lemaitre
40774ae6ca
fix(picker.git_diff): remove --default-prefix, since that's no longer needed. See #2382
2025-10-30 00:57:51 +01:00
Folke Lemaitre
ba529d4f5d
fix(explorer): do reveal in on_show if explorer is not open yet. Closes #2388
CI / ci (push) Waiting to run
2025-10-30 00:01:40 +01:00
folke
79fb03dc86
chore(build): auto-generated vimdocs
2025-10-29 22:56:45 +00:00
folke
75c8e37ef7
chore(build): auto-generated docs
2025-10-29 22:55:35 +00:00
Folke Lemaitre
5f429fa58f
refactor(picker): ctx:clone. closes #2386
2025-10-29 23:54:50 +01:00
Folke Lemaitre
5eea5f9428
fix(picker.finder): tmp fix for #2386
CI / ci (push) Waiting to run
2025-10-29 19:28:55 +01:00
Folke Lemaitre
8afb609333
fix(picker.lsp): use LspRequest to track completed and cancelled requests. Fixes #2364
2025-10-29 19:20:34 +01:00
Folke Lemaitre
4bb1ce16ed
fix(image): guard against invalid buffers. Closes #2383
2025-10-29 17:34:00 +01:00
Folke Lemaitre
8ad80de67b
fix(picker.watch): check again for closed picker after schedule. See #2365
2025-10-29 17:25:37 +01:00
folke
14ead48b51
chore(build): auto-generated vimdocs
2025-10-29 14:33:08 +00:00
folke
9aaa88bc6c
chore(build): auto-generated docs
2025-10-29 14:31:55 +00:00
Folke Lemaitre
118648ce93
feat(picker.git_diff): added staged flag
2025-10-29 15:30:58 +01:00
Folke Lemaitre
0a33aec0c6
fix(picker.diff): only process --- diffs directly if it doesn't start with a diff header
2025-10-29 15:22:14 +01:00
Folke Lemaitre
de352425f7
fix(win): when fixbuf triggers in a floating window, just close it. Closes #2380
2025-10-29 15:15:59 +01:00
Daniel Wennberg
66e3dc4619
fix(image): avoid nested math environments ( #2345 )
...
## Description
Inline LaTeX equation preview renders equations twice, partly on top of
each other, if you use nested math environments. Minimal reproducer:
```latex
\documentclass{article}
\begin{document}
\begin{equation}
\begin{aligned}
x_+ &= \frac{-b + \sqrt{b^2 - 4ac}}{2a} \, , \\
x_- &= \frac{-b - \sqrt{b^2 - 4ac}}{2a} \, .
\end{aligned}
\end{equation}
\end{document}
```
While, adding a test case for this to `test.tex` I also corrected a
package name such that it compiles without error.
## Screenshots
**Before**
<img width="248" height="203" alt="Screenshot 2025-10-24 at 16 22 05"
src="https://github.com/user-attachments/assets/ab55ef8c-1f04-49e5-b731-95b638ac9db7 "
/>
**After**
<img width="248" height="203" alt="Screenshot 2025-10-24 at 16 23 33"
src="https://github.com/user-attachments/assets/4d3d53f6-7122-452f-b891-5a712f79fe40 "
/>
2025-10-29 14:47:52 +01:00
Folke Lemaitre
2a1a001d3a
fix(picker.actions): use buffer! instead of buffer for edit. Closes #2378
2025-10-29 14:41:19 +01:00
Folke Lemaitre
72dc6213f7
fix(explorer.tree): only strip trasiling forward slashes if not at root. Closes #2375
2025-10-29 14:18:11 +01:00
Folke Lemaitre
a8930bdb61
fix(win): ignore errors on destroy. Closes #2381
2025-10-29 14:02:18 +01:00
folke
28ddbbe2be
chore(build): auto-generated vimdocs
2025-10-29 12:52:04 +00:00
folke
35d5ca33df
chore(build): auto-generated docs
2025-10-29 12:50:44 +00:00
Folke Lemaitre
4708e9a386
feat(picker): better integration with markview and render-markdown when previewing
2025-10-29 13:49:34 +01:00
Folke Lemaitre
4b572f4785
feat(picker.preview): allow items to define a title used in the preview window
2025-10-29 13:47:25 +01:00
Folke Lemaitre
cb85844e84
perf(picker.util): cache badge hl groups
2025-10-29 13:46:58 +01:00
Folke Lemaitre
9bca1b1c54
style(debug): make sure id is set
2025-10-29 07:44:04 +01:00
Folke Lemaitre
3e30fb6c70
fix(picker.util): better relative time format
2025-10-29 07:43:48 +01:00
Folke Lemaitre
202e595e55
feat(picker.highlights): badges
2025-10-29 07:43:21 +01:00
Folke Lemaitre
bb80317647
perf(statuscolumn): only calculate components that are actually needed
2025-10-29 06:52:38 +01:00
Folke Lemaitre
e18e4f6452
fix(image): check to update on BufWinEnter and attach to buffer changes
2025-10-28 22:00:57 +01:00
Iordanis Petkakis
59c5545e91
fix(explorer): differentiate if file or folder when deleting on Windows ( #2373 )
...
CI / ci (push) Waiting to run
## Description
Use different command on Windows for deleting folder/file to avoid error
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
## Related Issue(s)
Fixes #2371
<!--
If this PR fixes any issues, please link to the issue here.
- Fixes #<issue_number>
-->
## Screenshots
<!-- Add screenshots of the changes if applicable. -->
2025-10-28 21:18:04 +01:00
github-actions[bot]
3166af7ec3
chore(update): update repository ( #2370 )
...
CI / ci (push) Waiting to run
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request )
GitHub action
Co-authored-by: folke <292349+folke@users.noreply.github.com>
2025-10-28 15:12:14 +01:00
Folke Lemaitre
e2c1c527e4
fix(picker.preview): fix
CI / ci (push) Waiting to run
2025-10-28 10:59:36 +01:00
Folke Lemaitre
758bbfa13a
fix(picker.preview): again. docgen seems broken
2025-10-28 10:44:00 +01:00
folke
16541fb0e7
chore(build): auto-generate docs
2025-10-28 09:41:26 +00:00
Folke Lemaitre
fd7795e9cd
fix(picker.preview): fckup
2025-10-28 10:41:02 +01:00
Folke Lemaitre
9585da6c57
feat(picker.preview): support for images and render markdown
2025-10-28 10:39:28 +01:00
folke
a39b081984
chore(build): auto-generate docs
2025-10-28 09:37:18 +00:00
Folke Lemaitre
2cf1a843b0
docs: make picker docgen idempotent
2025-10-28 10:35:31 +01:00
folke
367ca6b12e
chore(build): auto-generate docs
2025-10-28 09:31:23 +00:00
folke
b9e05701eb
chore(build): auto-generate docs
2025-10-28 09:30:27 +00:00
folke
5130869e10
chore(build): auto-generate docs
2025-10-28 09:30:07 +00:00