Folke Lemaitre
cc80f6dc1b
perf(win): prevent treesitter and syntax attaching to scratch buffers
2024-11-08 15:39:17 +01:00
Chris Grieser
5dc749b045
feat(words): add fold_open and set_jump_point config options ( #31 )
...
## Description
Added `fold_open` and `set_jump_point` as config options for
`Snacks.words.jump`.
2024-11-08 14:18:39 +01:00
Folke Lemaitre
5ccf72e6d0
docs(win): document width/height behavior for win
2024-11-08 13:20:02 +01:00
Folke Lemaitre
71a234608f
feat(bufdelete): optional filter and shortcuts to delete all and other buffers. Closes #11
2024-11-08 10:58:40 +01:00
Folke Lemaitre
92da87c910
feat(gitbrowse): choose to open repo, branch or file. Closes #10 . Closes #17
2024-11-08 10:39:55 +01:00
Folke Lemaitre
d079fbfe35
feat(words): configurable mode to show references. Defaults to n, i, c. Closes #18
2024-11-08 09:44:45 +01:00
Folke Lemaitre
b8cc93e273
fix(notifier): re-apply winhl since level might have changed with a replace
2024-11-08 09:28:13 +01:00
Folke Lemaitre
5fd9c426e8
fix(win): update win/buf opts when needed
2024-11-08 09:27:28 +01:00
Folke Lemaitre
9576081e87
fix(words): disable notify_jump by default
2024-11-08 09:15:17 +01:00
Chris Grieser
6a3f865357
feat(words): jump optionally shows notification with reference count ( #23 )
...
## Description
Add an opt-in option to show a notification for `Snacks.words.jump`,
that displays the number and index of the current reference. The
notification uses `Snacks.notify.info` to be consistent with the rest of
the repo.
## Screenshots

---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-11-08 09:14:30 +01:00
Folke Lemaitre
fc2a8e7468
feat(debug): simple log function to quickly log something to a debug.log file
2024-11-08 08:58:52 +01:00
Folke Lemaitre
8512896228
perf(notifier): optimize layout code
2024-11-08 08:07:41 +01:00
Folke Lemaitre
61496a3ef0
perf(win): skip events when setting buf/win options. Trigger FileType on BufEnter only if needed
2024-11-08 07:28:27 +01:00
Folke Lemaitre
08190a5458
perf(notifier): skip processing queue when free space is smaller than min height
2024-11-08 00:10:51 +01:00
Folke Lemaitre
12077bcf65
feat(win): disable winblend when colorscheme is transparent. Fixes #26
2024-11-07 23:10:39 +01:00
Folke Lemaitre
662795c285
fix(notifier): set default conceallevel=2
2024-11-07 22:31:13 +01:00
Folke Lemaitre
65d8c8f00b
feat(notifier): added history to notifier. Closes #14
2024-11-07 22:25:03 +01:00
Folke Lemaitre
cc5ee192ca
fix(win): properly resolve user styles as last
2024-11-07 22:22:55 +01:00
Folke Lemaitre
5df4394c60
perf(notifier): index queue by id
2024-11-07 20:43:37 +01:00
Folke Lemaitre
f59237f1dc
fix(win): simpler way to add buffer padding
2024-11-07 18:30:01 +01:00
Folke Lemaitre
334895c5bb
fix(terminal): user options
2024-11-07 18:04:37 +01:00
Folke Lemaitre
0b08d280b6
fix(terminal): dont overwrite user opts
2024-11-07 18:03:23 +01:00
borgy
f5602e60c3
fix(win): set border to none for backdrop windows ( #19 )
...
## Description
Previously, backdrop windows were being created with the default border
options set in `opts`. I can't imagine this is ever desirable (see
screenshots), so always set the backdrop window border to none.
## Related Issue(s)
N/A
## Screenshots
### Before:

### After:

2024-11-07 14:38:16 +01:00
Folke Lemaitre
d3efb92aa5
feat(win): util methods to handle buffer text
2024-11-07 14:32:34 +01:00
Folke Lemaitre
4991e347dc
fix(win): dont center float when relative="cursor"
2024-11-07 14:32:18 +01:00
Folke Lemaitre
107d10b52e
fix(win): disable sidescroloff in minimal style
2024-11-07 14:31:57 +01:00
Teppei Taguchi
59ae7cf162
docs(readme, lazygit): fix typos ( #16 )
...
## Description
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
Fixes minor typos in documentation.
## 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-11-07 13:50:13 +01:00
Folke Lemaitre
080e0d4039
feat(notifier): added option to show notifs top-down or bottom-up. Closes #9
2024-11-07 11:41:51 +01:00
Folke Lemaitre
9bdb24e735
fix(notifier): try to keep layout when replacing notifs
2024-11-07 11:21:37 +01:00
Folke Lemaitre
8bcb2bc805
feat(notifier): allow overriding hl groups per notification
2024-11-07 11:08:31 +01:00
Folke Lemaitre
36e9f45302
feat(notifier): allow setting dynamic options
2024-11-07 10:47:06 +01:00
Folke Lemaitre
cad236f9bb
feat(win): allow setting ft just for highlighting without actually changing the filetype
2024-11-07 00:17:39 +01:00
Folke Lemaitre
e982aabefd
feat(win): equalize splits
2024-11-06 23:40:47 +01:00
Folke Lemaitre
476fb56bfd
feat(win): win:focus()
2024-11-06 23:07:02 +01:00
Folke Lemaitre
8be14c68a7
fix(win): better winfixheight and winfixwidth for splits
2024-11-06 23:07:02 +01:00
Folke Lemaitre
8c0f10b9da
feat(win): added default hl groups for windows
2024-11-06 22:52:43 +01:00
Folke Lemaitre
6c76f91398
fix(config): deepcopy config where needed
2024-11-06 22:36:37 +01:00
Folke Lemaitre
0d91a4e364
fix(config): fix reading config during setup. Fixes #2
2024-11-06 22:36:37 +01:00
Folke Lemaitre
8a96888409
feat(notifier): allow config of default filetype
2024-11-06 18:56:20 +01:00
Folke Lemaitre
fd57c24301
fix(notifier): modifiable
2024-11-06 18:53:18 +01:00
Folke Lemaitre
d9a1f23e21
fix(notifier): sorting
2024-11-06 18:35:16 +01:00
Folke Lemaitre
084fdf7d79
docs: more docs...
2024-11-06 17:49:10 +01:00
Folke Lemaitre
4a325ed3ab
docs: notifier
2024-11-06 16:28:51 +01:00
Folke Lemaitre
b29a6d5972
feat(notifier): added minimal style
2024-11-06 16:26:44 +01:00
Folke Lemaitre
6bbc7df37a
docs: notifier
2024-11-06 15:52:19 +01:00
Folke Lemaitre
9ffcea77f1
refactor(notifier): dont expose notifier instance
2024-11-06 15:45:48 +01:00
Folke Lemaitre
9341f730d9
refactor(notifier): make notify a mod method instead of class method
2024-11-06 13:38:51 +01:00
Folke Lemaitre
f620b6c9b8
docs: notifier
2024-11-06 13:38:51 +01:00
Folke Lemaitre
aa17f60c19
docs: lazygit
2024-11-06 13:38:51 +01:00
Folke Lemaitre
bbda275681
docs: gitbrowse
2024-11-06 13:38:51 +01:00