Commit graph

110 commits

Author SHA1 Message Date
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:

![image](https://github.com/user-attachments/assets/1ff0d810-ac6a-4309-b198-125f2a68331c)

### After:

![image](https://github.com/user-attachments/assets/2f1b348e-4e55-4631-934f-67896c0e2488)
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
Folke Lemaitre
14ecc90685
docs: docs for debug 2024-11-06 13:38:51 +01:00
Folke Lemaitre
dd97a2a659
docs: docs for rename 2024-11-06 13:08:09 +01:00
Folke Lemaitre
910ce8f394
refactor: Snacks.rename.rename() => Snacks.rename.rename_file() 2024-11-06 12:21:31 +01:00
Folke Lemaitre
82ea3e68c4
docs: moar docs 2024-11-06 11:43:50 +01:00
Folke Lemaitre
983621b0fe
docs: docgen 2024-11-06 11:27:52 +01:00
Folke Lemaitre
0ae7da85ae
docs: docgen for styles 2024-11-06 10:56:23 +01:00
Folke Lemaitre
66810971b9
fix(win): better implementation of window styles (previously views) 2024-11-06 10:56:08 +01:00
Folke Lemaitre
39a63ce2a3
refactor(win): move opts.win.* to opts.* 2024-11-06 08:07:36 +01:00
Folke Lemaitre
e8061bcda0
fix(notifier): show notifier errors with nvim_err_writeln 2024-11-06 07:58:36 +01:00
Folke Lemaitre
9ef9e69620
fix(notifier): modifiable = false 2024-11-06 07:58:07 +01:00
Folke Lemaitre
ab96f81574
refactor(notifier): moved padding stuff to win 2024-11-06 07:57:48 +01:00
Folke Lemaitre
8c843cba29
docs: ignore stylua stuff 2024-11-06 00:42:09 +01:00
Folke Lemaitre
796d235771
docs: docgen 2024-11-06 00:39:27 +01:00