Skip to content

Commit 3682c78

Browse files
committed
🎉 release: v0.3.0
1 parent f9f8e70 commit 3682c78

16 files changed

+1085
-1314
lines changed

CHANGELOG.md

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,52 @@ The format is based on [Keep a Changelog], and this project adheres to
77

88
## [Unreleased]
99

10+
## [0.3.0] - 2022-03-06
11+
1012
### Added
1113

1214
- `buffers.focus_on_delete` config option to choose which buffer to focus after
13-
a bufer is deleted.
15+
a buffer is deleted.
1416

1517
- component option `truncation.direction` can be set to `'middle'`.
1618

19+
- sidebar components now allow all of their fields to be defined as a function
20+
of the buffer they're being rendered for.
21+
22+
### Changed
23+
24+
- the component's `hl` subtable has been removed, i.e. from
25+
```lua
26+
{
27+
text = ..,
28+
hl = {
29+
fg = ..,
30+
bg = ..,
31+
style = ..,
32+
},
33+
}
34+
```
35+
to
36+
```lua
37+
{
38+
text = ..,
39+
fg = ..,
40+
bg = ..,
41+
style = ..,
42+
}
43+
```
44+
45+
- `default_hl` is configured with a single table instead of having two separate
46+
subtables for `focused` and `unfocused` buffers. The `buffer.is_focused`
47+
option can be used instead if necessary;
48+
49+
- the `rendering.left_sidebar` config option has been moved to `sidebar`.
50+
51+
### Removed
52+
53+
- `rendering.right_sidebar` config option, only left sidebars are supported
54+
now.
55+
1756
## [0.2.0] - 2022-01-01
1857

1958
### Added
@@ -83,6 +122,7 @@ The format is based on [Keep a Changelog], and this project adheres to
83122
[Semantic Versioning]: https://semver.org/spec/v2.0.0.html
84123
[Keep a changelog]: https://keepachangelog.com/en/1.0.0/
85124

86-
[unreleased]: https://github.com/noib3/nvim-cokeline/compare/v0.2.0...HEAD
125+
[unreleased]: https://github.com/noib3/nvim-cokeline/compare/v0.3.0...HEAD
126+
[0.3.0]: https://github.com/noib3/nvim-cokeline/releases/tag/v0.3.0
87127
[0.2.0]: https://github.com/noib3/nvim-cokeline/releases/tag/v0.2.0
88128
[0.1.0]: https://github.com/noib3/nvim-cokeline/releases/tag/v0.1.0

0 commit comments

Comments
 (0)