folke
d91fc7d3fa
chore(build): auto-generate docs
CI / ci (push) Waiting to run
2025-10-10 18:40:52 +00:00
Nick deLannoy
3731644e38
fix(lazygit): check if default config file exists before adding to LG_CONFIG_FILE ( #2256 )
...
## Description
I noticed that lazygit was erroring out on open when the default config
file was missing even though lazygit outside of neovim opened fine
without it. Tracked it to the `LG_CONFIG_FILE` var that tells lazygit to
error out when any of the files are missing - and snacks was setting
this to include the default config even when it didn't exist.
## Related Issue(s)
fixes issue: https://github.com/folke/snacks.nvim/issues/1548
2025-10-10 20:39:58 +02:00
folke
94f10539a6
chore(build): auto-generate docs
2025-10-10 14:10:54 +00:00
Folke Lemaitre
c3d6c01916
feat(layout): height=0.7 for preview in vscode layout
2025-10-10 16:09:39 +02:00
Folke Lemaitre
114040b444
build: skip doc comments with @deprecated
2025-10-10 16:09:12 +02:00
folke
dae80fb393
chore(build): auto-generate docs
CI / ci (push) Has been cancelled
2025-10-08 19:34:47 +00:00
Folke Lemaitre
268dc46c26
ci: update minit.lua
2025-10-08 21:33:23 +02:00
Folke Lemaitre
30d8b32220
ci: update test scripts
2025-10-08 21:26:25 +02:00
folke
bfe8c26dbd
chore(build): auto-generate docs
CI / ci (push) Has been cancelled
2025-09-30 16:17:27 +00:00
Folke Lemaitre
ba745ba281
fix(picker.lsp_config): cmd can be a function
2025-09-30 18:16:04 +02:00
folke
ff3c49a19a
chore(build): auto-generate docs
2025-09-30 15:38:57 +00:00
Folke Lemaitre
636be5c3d1
feat(picker.lsp_config): added more info to lsp picker
2025-09-30 17:38:04 +02:00
folke
bfc98ad198
chore(build): auto-generate docs
CI / ci (push) Waiting to run
2025-09-30 11:39:08 +00:00
Folke Lemaitre
db399b1332
fix(main): get correct winid for prev window
2025-09-30 13:38:11 +02:00
folke
5d9dacd098
chore(build): auto-generate docs
CI / ci (push) Waiting to run
2025-09-29 07:02:23 +00:00
Folke Lemaitre
264cab1380
feat(picker): added custom options to vim.ui.select that snacks can use for a better select
2025-09-29 09:01:21 +02:00
folke
5e0e869852
chore(build): auto-generate docs
CI / ci (push) Has been cancelled
2025-09-27 07:39:57 +00:00
Folke Lemaitre
dc65ffd4f5
fix(dashboard): pcall chansend for dashoard terminal widgets
2025-09-27 09:39:06 +02:00
folke
f6c06415a2
chore(build): auto-generate docs
CI / ci (push) Has been cancelled
2025-09-25 10:46:07 +00:00
nickx00
7a5eb1036a
fix(explorer): mounted directories being detected as non-directories in Tree:expand ( #2053 )
...
## Description
In certain filesystems — such as bind mounts, NFS, FUSE, or other
mounted paths — uv.fs_scandir_next() may return a nil type for valid
directories. This causes the snacks.nvim explorer to treat mounted
folders as files, making them unexpandable in the UI.
This patch adds a fallback to resolve the correct type when
fs_scandir_next() returns nil. It uses uv.fs_stat() first, and falls
back to vim.fn.isdirectory() if needed.
This ensures that mounted directories are properly marked as navigable.
Code change summary:
- Inside Tree:expand, we now check t == nil
- If so, we call uv.fs_stat() to get the true type
- If fs_stat fails, we fallback to vim.fn.isdirectory
- Final dir = true logic remains intact
Impact:
- Fixes a long-standing bug in mounted directories under /mnt, FUSE,
etc.
- Only runs extra checks when needed (no performance hit for regular
files)
- No changes elsewhere — clean, isolated patch
## Related Issue(s)
- Fixes #2036
## Screenshots
before:
<img width="1907" height="946" alt="image"
src="https://github.com/user-attachments/assets/15e1b8a5-c999-49e8-8ab5-1d23c60e4969 "
/>
after:
<img width="343" height="902" alt="Screenshot_20250715_222920"
src="https://github.com/user-attachments/assets/c7ca2fa0-e0cc-4e3d-a4bb-5345538408f7 "
/>
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2025-09-25 12:45:01 +02:00
folke
68da653d20
chore(build): auto-generate docs
CI / ci (push) Waiting to run
2025-09-24 16:27:03 +00:00
Folke Lemaitre
12b2f0d2bd
fix(picker.preview): dont do win-local hack for floating windows
2025-09-24 18:26:02 +02:00
folke
f74ae636b8
chore(build): auto-generate docs
2025-09-24 16:22:20 +00:00
Folke Lemaitre
c968d4def4
fix(picker.preview): better hack to deal with buffer local option weirdness
2025-09-24 18:21:05 +02:00
folke
d67a47739d
chore(build): auto-generate docs
CI / ci (push) Has been cancelled
2025-09-17 18:40:40 +00:00
Folke Lemaitre
fb016d20c2
perf(dashboard): add basic OSC11 and CSI6n support to terminal sections (gh 10 seconds faster)
2025-09-17 20:39:44 +02:00
folke
72a6316d24
chore(build): auto-generate docs
CI / ci (push) Waiting to run
2025-09-17 13:37:51 +00:00
Noor
2ab82a4e88
docs(mini): update URLs for nvim-mini related plugins ( #2189 )
...
## Description
All plugins related to the mini.nvim project has been relocated to a
GitHub organization, as announced here:
https://github.com/nvim-mini/mini.nvim/discussions/1970
This commit updates all related URL:s in the documentation to refer to
the repositories for each plugin at the new organization.
## Related Issue(s)
N/A
## Screenshots
N/A
2025-09-17 15:36:48 +02:00
folke
4e23c75b82
chore(build): auto-generate docs
CI / ci (push) Waiting to run
2025-09-17 06:24:20 +00:00
Folke Lemaitre
e409f31cc9
fix(indent): check that win is valid in step. Closes #1943
2025-09-17 08:23:26 +02:00
Alexander Siryk
32e5bf1730
fix(util): fix invalid window error ( #1996 )
...
## Description
Add check if win id is valid to prevent errors when opening buffers
using Harpoon, or Diffview.
## Related Issue(s)
- Fixes #1968
## Screenshots
<img width="1391" alt="image"
src="https://github.com/user-attachments/assets/daa8cbd1-7104-4c5d-8cae-d50a900b6c76 "
/>
<img width="1690" alt="image"
src="https://github.com/user-attachments/assets/6dd9cae6-fc3f-4a5e-b5ae-6fc1e4afeeca "
/>
2025-09-17 08:23:19 +02:00
folke
7e3c655bec
chore(build): auto-generate docs
CI / ci (push) Waiting to run
2025-09-16 13:34:40 +00:00
Folke Lemaitre
bf3ee0d636
docs: gen
2025-09-16 15:33:33 +02:00
folke
a4d320f333
chore(build): auto-generate docs
2025-09-16 13:32:52 +00:00
Folke Lemaitre
a203df794f
docs: update docs for debug and vim.print changes
2025-09-16 15:31:41 +02:00
Folke Lemaitre
a0d6eba1a2
fix(picker): lsp_config now includes any configfured LSP and excludes deprecated servers
2025-09-16 11:57:17 +02:00
folke
f2746da0bb
chore(build): auto-generate docs
CI / ci (push) Waiting to run
2025-09-16 07:18:58 +00:00
Folke Lemaitre
292d46f773
feat(picker): updated Snacks.picker.lsp_config to work with vim.lsp.config
2025-09-16 09:18:10 +02:00
github-actions[bot]
da230e3ca8
chore(main): release 2.23.0 ( #1434 )
...
CI / ci (push) Waiting to run
🤖 I have created a release *beep* *boop*
---
##
[2.23.0](https://github.com/folke/snacks.nvim/compare/v2.22.0...v2.23.0 )
(2025-09-15)
### Features
* **image.doc:** enable inline math rendering for neorg files. Closes
[#1438 ](https://github.com/folke/snacks.nvim/issues/1438 )
([ec487f5 ](ec487f5d85 ))
* **image.inline:** honor `concealcursor` and hide conceal when
selecting lines. Closes
[#1478 ](https://github.com/folke/snacks.nvim/issues/1478 )
([bc0630e ](bc0630e43b ))
* **image:** proper inline rendering of math expressions. Closes
[#1318 ](https://github.com/folke/snacks.nvim/issues/1318 ). Closes
[#1454 ](https://github.com/folke/snacks.nvim/issues/1454 )
([6ea4fa7 ](6ea4fa72dc ))
* **picker.git:** added `all` option to also list remote branched for
`git_branches`. Closes
[#1465 ](https://github.com/folke/snacks.nvim/issues/1465 )
([3d695ab ](3d695ab7d0 ))
* **scope:** allow disabling scopes with `vim.g.snacks_scope = false` or
`vim.b.snacks_scope = false`. Closes
[#1463 ](https://github.com/folke/snacks.nvim/issues/1463 )
([5315e26 ](5315e267ff ))
* **util:** small ts parse wrapper that parses async when available
([9f0aa20 ](9f0aa20489 ))
### Bug Fixes
* **dashboard:** escape filenames for edit. Closes
[#1453 ](https://github.com/folke/snacks.nvim/issues/1453 )
([8b0e79a ](8b0e79ab4c ))
* **explorer:** confirm prompt now defaults to `No`
([f970cbb ](f970cbb258 ))
* **image.inline:** remove debug
([d9bb639 ](d9bb639fed ))
* **image.latex:** don't nest image nodes
([714d761 ](714d7616f0 ))
* **image.queries:** add image type
([1bbd479 ](1bbd47973d ))
* **image:** only show anchor icon for inline images shown on the lines
below. Closes [#1479 ](https://github.com/folke/snacks.nvim/issues/1479 )
([bc2ed15 ](bc2ed15c41 ))
* **indent:** zero indent for blank lines. Closes
[#1477 ](https://github.com/folke/snacks.nvim/issues/1477 )
([cddf714 ](cddf714dd6 ))
* **input:** add cr keybind for normal mode. Closes
[#1468 ](https://github.com/folke/snacks.nvim/issues/1468 ). Closes
[#1466 ](https://github.com/folke/snacks.nvim/issues/1466 )
([78f0ad6 ](78f0ad6ce7 ))
* **lsp:** fix deprecated warnings related to lsp client
([07fefd2 ](07fefd2a99 ))
* **picker.preview:** always use builtin for git log preview
([f0d3433 ](f0d34336db ))
* **statuscolumn:** better way of determining open folds. Closes
[#1445 ](https://github.com/folke/snacks.nvim/issues/1445 )
([1239fb8 ](1239fb84bc ))
* **util.spawn:** correctly mark as faild on abort
([6917597 ](6917597f6d ))
* **win:** make sure the border is set when setting the title
([76311ab ](76311aba31 ))
### Performance Improvements
* **image:** async treesitter parsing for images
([e55ae37 ](e55ae37beb ))
### Reverts
* dont always set border when setting title. Closes
[#1436 ](https://github.com/folke/snacks.nvim/issues/1436 )
([fa29c6c ](fa29c6c926 ))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-15 08:36:55 +02:00
folke
f2a025d80a
chore(build): auto-generate docs
2025-09-15 05:44:01 +00:00
Folke Lemaitre
07fefd2a99
fix(lsp): fix deprecated warnings related to lsp client
2025-09-15 07:42:46 +02:00
Folke Lemaitre
bc0630e43b
feat(image.inline): honor concealcursor and hide conceal when selecting lines. Closes #1478
CI / ci (push) Failing after 0s
2025-03-01 23:37:02 +01:00
folke
1ce91337f1
chore(build): auto-generate docs
2025-03-01 22:20:31 +00:00
Folke Lemaitre
cddf714dd6
fix(indent): zero indent for blank lines. Closes #1477
2025-03-01 23:18:47 +01:00
Folke Lemaitre
bc2ed15c41
fix(image): only show anchor icon for inline images shown on the lines below. Closes #1479
2025-03-01 22:58:56 +01:00
Folke Lemaitre
f970cbb258
fix(explorer): confirm prompt now defaults to No
2025-03-01 17:36:57 +01:00
Folke Lemaitre
e55ae37beb
perf(image): async treesitter parsing for images
2025-03-01 17:33:53 +01:00
folke
453333530b
chore(build): auto-generate docs
2025-03-01 08:57:20 +00:00
Folke Lemaitre
5315e267ff
feat(scope): allow disabling scopes with vim.g.snacks_scope = false or vim.b.snacks_scope = false. Closes #1463
2025-03-01 09:56:24 +01:00
folke
cc04806393
chore(build): auto-generate docs
2025-03-01 08:49:34 +00:00