Commit graph

207 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
9249580739 chore(build): auto-generate docs 2024-11-07 21:32:06 +00:00
Folke Lemaitre
662795c285
fix(notifier): set default conceallevel=2 2024-11-07 22:31:13 +01:00
Folke Lemaitre
1a1f8a2648
docs(notifier): added screenshot for history 2024-11-07 22:27:59 +01:00
Folke Lemaitre
af273896c9
docs: docgen 2024-11-07 22:26:44 +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
636a17fd66
docs: docgen 2024-11-07 14:33:19 +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
Folke Lemaitre
52acbad6b6
docs: added edgy example 2024-11-07 14:07:15 +01:00
Folke Lemaitre
9e10cb0f64
ci: added labeler 2024-11-07 14:07:03 +01:00
folke
74a93a417e chore(build): auto-generate docs 2024-11-07 12:51:00 +00: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
088ca8b3f8 chore(build): auto-generate docs 2024-11-07 10:57:44 +00:00
Iordanis Petkakis
964cd6aa76
feat(docs): docs for highlight groups (#13)
## Description
Docs for highlight groups. This is my first time dealing with tables in
Markdown. Hope I didn't mess anything up 😛
<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->

## Related Issue(s)
Closes #8.
<!--
  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 11:56:43 +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
4e0ce77f2f
docs: dogcen 2024-11-07 10:53:44 +01:00
Folke Lemaitre
a00732defa
docs(notifier): example with simple LSP Progress 2024-11-07 10:53:12 +01:00
Folke Lemaitre
345f2bdd84
docs(notifier): added screenshot for advanced LSP progress 2024-11-07 10:50:21 +01:00
folke
9c1e8854cf chore(build): auto-generate docs 2024-11-07 09:47:55 +00:00
Folke Lemaitre
36e9f45302
feat(notifier): allow setting dynamic options 2024-11-07 10:47:06 +01:00
Folke Lemaitre
cdc9f24ae2
docs: update 2024-11-07 10:46:47 +01:00
folke
e8ea0910e0 chore(build): auto-generate docs 2024-11-06 23:18:27 +00: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
d62faa35b6 chore(build): auto-generate docs 2024-11-06 22:41:49 +00:00
Folke Lemaitre
e982aabefd
feat(win): equalize splits 2024-11-06 23:40:47 +01:00
folke
e9d1137b90 chore(build): auto-generate docs 2024-11-06 22:07:50 +00: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
79295fbb29 chore(build): auto-generate docs 2024-11-06 21:53:39 +00:00
Folke Lemaitre
8c0f10b9da
feat(win): added default hl groups for windows 2024-11-06 22:52:43 +01:00
folke
2bf3691015 chore(build): auto-generate docs 2024-11-06 21:38:41 +00:00
Folke Lemaitre
650ae33e71
docs: typo example. Closes #3 2024-11-06 22:37:48 +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
github-actions[bot]
6ff28b3a37
chore(main): release 1.0.0 (#1)
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2024-11-06)


### Features

* added debug
([6cb43f6](6cb43f6033))
* added git
([f0a9991](f0a9991347))
* added gitbrowse
([a638d8b](a638d8bafe))
* added lazygit
([fc32619](fc32619734))
* added notifier
([44011dd](44011ddf0d))
* added notify
([f4e0130](f4e0130ec3))
* added toggle
([28c3029](28c3029699))
* better buffer/window vars for terminal and float
([1abce78](1abce78a8b))
* bigfile
([8d62b28](8d62b285d5))
* **bigfile:** show message when bigfile was detected
([fdc0d3d](fdc0d3d1f8))
* bufdelete
([cc5353f](cc5353f6b3))
* config & setup
([c98c4c0](c98c4c0307))
* **config:** get config for snack with defaults and custom opts
([b3d08be](b3d08beb8c))
* **debug:** added simple profile function
([e1f736d](e1f736d71f))
* **docs:** better handling of overloads
([038b283](038b28319c))
* ensure Snacks global is available when not using setup
([f0458ba](f0458bafb0))
* float
([d106107](d106107cdc))
* **float:** added support for splits
([977a3d3](977a3d345b))
* **float:** better key mappings
([a171a81](a171a815b3))
* initial commit
([63a24f6](63a24f6eb0))
* **notifier:** add 1 cell left/right padding and make wrapping work
properly
([efc9699](efc96996e5))
* **notifier:** added global keep config option
([f32d82d](f32d82d1b7))
* **notifier:** added minimal style
([b29a6d5](b29a6d5972))
* **notifier:** allow closing notifs with `q`
([97acbbb](97acbbb654))
* **notifier:** allow config of default filetype
([8a96888](8a96888409))
* **notifier:** enable wrapping by default
([d02aa2f](d02aa2f7cb))
* **notifier:** keep notif open when it's the current window
([1e95800](1e9580039b))
* quickfile
([d0ce645](d0ce6454f9))
* rename
([fa33688](fa33688301))
* statuscolumn
([99b1700](99b1700015))
* terminal
([e6cc7c9](e6cc7c998a))
* **terminal:** allow to override the default terminal implementation
(like toggleterm)
([11c9ee8](11c9ee83aa))
* **terminal:** better defaults and winbar
([7ceeb47](7ceeb47e54))
* **terminal:** better double esc to go to normal mode
([a4af729](a4af729b24))
* **win:** better api to deal with sizes
([ac1a50c](ac1a50c810))
* **win:** custom views
([12d6f86](12d6f863f7))
* words
([73445af](73445af400))


### Bug Fixes

* **config:** don't change defaults in merge
([6e825f5](6e825f509e))
* **config:** merging of possible nil values
([f5bbb44](f5bbb446ed))
* **debug:** exclude vimrc from callers
([8845a6a](8845a6a912))
* **float:** don't use backdrop for splits
([5eb64c5](5eb64c52ae))
* **float:** only set default filetype if no ft is set
([66b2525](66b252535c))
* **float:** proper closing of backdrop
([a528e77](a528e77397))
* **notifier:** modifiable
([fd57c24](fd57c24301))
* **notifier:** modifiable = false
([9ef9e69](9ef9e69620))
* **notifier:** show notifier errors with nvim_err_writeln
([e8061bc](e8061bcda0))
* **notifier:** sorting
([d9a1f23](d9a1f23e21))
* simplify setup
([787b53e](787b53e763))
* **win:** backdrop
([71dd912](71dd912763))
* **win:** better implementation of window styles (previously views)
([6681097](66810971b9))
* **win:** dont error when augroup is already deleted
([8c43597](8c43597f10))
* **win:** dont update win opt noautocmd
([a06e3ed](a06e3ed8fc))
* **win:** no need to set EndOfBuffer winhl
([7a7f221](7a7f221020))
* **win:** use syntax as fallback for treesitter
([f3b69a6](f3b69a617a))


### Performance Improvements

* **win:** set options with eventignore and handle ft manually
([80d9a89](80d9a894f9))

---
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>
2024-11-06 19:21:46 +01:00
folke
abde07aecd chore(build): auto-generate docs 2024-11-06 18:21:09 +00:00
Folke Lemaitre
318f70a958
docs: readme 2024-11-06 19:20:11 +01:00
folke
3a6052dd00 chore(build): auto-generate docs 2024-11-06 18:00:11 +00:00
Folke Lemaitre
a5a2d16390
docs: updated example 2024-11-06 18:59:14 +01:00