Folke Lemaitre
08fc10ce6f
refactor(animate): pending updates
2024-12-10 13:55:51 +01:00
Folke Lemaitre
e2e6c86d21
fix(scope): take edges into account for min_size
2024-12-10 13:55:51 +01:00
Folke Lemaitre
5352198b5a
fix(indent): use correct config options
2024-12-10 13:55:51 +01:00
Folke Lemaitre
8459e2adc0
feat(zen): added zoom indicator
2024-12-10 13:55:51 +01:00
Folke Lemaitre
bd49d2f32e
feat(win): col/row can be negative calculated on height/end of parent
2024-12-10 13:55:51 +01:00
Folke Lemaitre
003ea8d6ed
feat(win): allow configuring initial text to display in the buffer
2024-12-10 13:55:51 +01:00
Folke Lemaitre
bddae83141
feat(toggle): toggles for new plugins
2024-12-10 13:55:51 +01:00
Folke Lemaitre
afb89ea159
feat(zen): added zen plugin
2024-12-10 13:55:51 +01:00
Folke Lemaitre
4dda5516e8
feat(dim): added dim plugin
2024-12-10 13:55:51 +01:00
Folke Lemaitre
2c4021c466
feat(indent): added indent plugin
2024-12-10 13:55:51 +01:00
Folke Lemaitre
63a279c4e2
feat(scope): added scope plugin
2024-12-10 13:55:51 +01:00
Folke Lemaitre
48a58792a0
feat(profiler): on_close can now be a function
2024-12-10 13:55:51 +01:00
Folke Lemaitre
971229e8a9
feat(animate): added animate plugin
2024-12-10 13:55:51 +01:00
Folke Lemaitre
0194f18cfa
refactor: auto-gen plugin types
2024-12-10 13:55:51 +01:00
Folke Lemaitre
9fb88c67b6
perf(util): redraw helpers
2024-12-10 13:55:51 +01:00
Folke Lemaitre
cdb495cb8f
feat(win): allow customizing backdrop window
2024-12-10 13:55:51 +01:00
Folke Lemaitre
c509ea52b7
feat(snacks): zen mode
2024-12-10 13:55:51 +01:00
Iordanis Petkakis
6b78172864
fix(dashboard): don't open with startup option args ( #222 )
...
## Description
Don't open dashboard when Neovim opens with only startup option args.
Took a look at how `dashboard.nvim` did it.
They also have an autocmd for `StdInReadPre`, but I tested with piping
`echo "hello" | nvim` and it works as expected.
Not sure if it's the best solution, so feel free to make any additional
changes or completely disregard for something more robust.
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
## Related Issue(s)
Closes #221 .
<!--
If this PR fixes any issues, please link to the issue here.
- Fixes #<issue_number>
-->
## Screenshots
<!-- Add screenshots of the changes if applicable. -->
2024-12-09 14:28:26 +01:00
Folke Lemaitre
d972bc0a47
perf(statuscolumn): optimize caching
2024-12-07 21:33:08 +01:00
Anton Kastritskii
974bccb126
docs(lazygit): comment how to disable nerd icons ( #201 )
...
## Description
Show explicitly how to disable nerd icons in the default versions of
config and documentation
## Related Issue(s)
- Fixes #200
2024-12-04 15:29:41 +01:00
Folke Lemaitre
3647ca7d8a
fix(statuscolumn): add virtnum and relnum to cache key. See #198
2024-12-04 15:24:27 +01:00
Folke Lemaitre
f5fb59cc4c
fix(statuscolumn): don't show signs on virtual ligns. See #198
2024-12-04 15:24:04 +01:00
Folke Lemaitre
681b9c9d65
feat(win): backdrop can now be made opaque
2024-12-03 10:29:55 +01:00
Folke Lemaitre
96ac87b6b1
refactor: move is_transparent to util
2024-12-03 10:29:21 +01:00
Folke Lemaitre
089ff668d2
refactor(util): move blend to util
2024-12-03 10:19:04 +01:00
Folke Lemaitre
446f50208f
fix(win): update opts.wo for padding instead of vim.wo directly
2024-12-03 10:18:27 +01:00
Folke Lemaitre
736ce447e8
fix(dashboard): take hidden items into account when calculating padding. Fixes #194
2024-12-03 09:57:36 +01:00
Folke Lemaitre
0df7a08b01
fix(scratch): sort keys. Fixes #193
2024-12-03 09:45:44 +01:00
Folke Lemaitre
f955f082e0
fix(scratch): weirdness with visual selection and inclusive/exclusive. See #190
2024-12-03 09:32:54 +01:00
Folke Lemaitre
50bd5103ba
fix(scratch): make sure win.opts.keys exists. See #190
2024-12-03 09:18:10 +01:00
Folke Lemaitre
630d96cf1f
fix(win): update window local options when the buffer changes
2024-12-03 09:18:10 +01:00
Folke Lemaitre
652303e6de
feat(scratch): opts.ft
can now be a function and defaults to the ft of the current buffer or markdown
2024-12-02 21:03:49 +01:00
Folke Lemaitre
6c25ab1108
fix(scratch): floating window title/footer hl groups
2024-12-02 21:03:11 +01:00
Folke Lemaitre
964d7ae99a
feat(win): width/height can now be a function
2024-12-02 20:47:32 +01:00
Folke Lemaitre
1f74d1ce77
feat(win): added opts.fixbuf
to configure fixed window buffers
2024-12-02 20:47:32 +01:00
Folke Lemaitre
af41cb088d
fix(debug): better way of getting visual selection. See #190
2024-12-02 20:11:46 +01:00
Folke Lemaitre
e26ab0ef2c
style(notifier): title
2024-12-02 20:11:46 +01:00
Marcin
42d62775d8
feat(dashboard): make buffer not listed ( #191 )
...
## Description
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
Set the dashboard buffer to not listed for consistency with other
dashboard plugins
## Related Issue(s)
<!--
If this PR fixes any issues, please link to the issue here.
- Fixes #<issue_number>
-->
## Screenshots
<!-- Add screenshots of the changes if applicable. -->
2024-12-02 17:35:17 +01:00
Folke Lemaitre
cda695e53f
fix(dashboard): take indent into account when calculating terminal width
2024-12-02 16:59:27 +01:00
Folke Lemaitre
045a17da06
feat(dashboard): when a section has a title, use that for action and key. If not put it in the section. Fixes #189
2024-12-02 16:33:55 +01:00
Folke Lemaitre
6e3b9546de
fix(dashboard): calculate proper offset when item has no text
2024-12-02 16:27:36 +01:00
Folke Lemaitre
78f44f720b
feat(dashboard): allow terminal sections to have actions. Closes #189
2024-12-02 12:15:22 +01:00
Folke Lemaitre
a856952ab2
feat(gitbrowse): opts.notify
2024-12-02 10:24:19 +01:00
Folke Lemaitre
243655796e
fix(gitbrowse): opts.notify
2024-12-02 10:23:57 +01:00
Folke Lemaitre
f8949523ed
fix(gitbrowse): removed debug
2024-12-02 08:36:25 +01:00
Folke Lemaitre
0a48c2e726
feat(gitbrowse): url pattern can now also be a function
2024-12-02 08:35:51 +01:00
Folke Lemaitre
f03727c77f
feat(gitbrowse): added line_count
. See #186
2024-12-02 08:22:28 +01:00
Folke Lemaitre
adf0433e8f
fix(gitbrowse): use line_start and line_end directly in patterns. Closes #186
2024-12-02 07:10:09 +01:00
Folke Lemaitre
67894ee778
docs: added a setup section to docgen, since some people didn't know how to configure snacks...
2024-12-01 23:13:21 +01:00
Folke Lemaitre
d370be6d69
feat(dashboard): hide title if section has no items. Fixes #184
2024-12-01 21:52:01 +01:00