Skip to content

Commit 914330e

Browse files
committed
feat!: spring cleaning
1 parent c48de5d commit 914330e

19 files changed

+1067
-963
lines changed

.stylua.toml

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelog.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# Changelog
2+
3+
## v2.0.0-next.1
4+
5+
### What's new
6+
7+
- Add proper support for `StatusLineTerm` & `StatusLineTermNC`, controlled via `enable.terminal`
8+
- Add background glow to diagnostic virtual text
9+
- Add `extend_background_behind_borders`
10+
- Add `styles.bold` and alternatively styling when disabled
11+
- Add `before_highlight` hook to allow changing palette values and behaviours
12+
- Increase contrast of search, visual selections, and more
13+
14+
### Features
15+
16+
**extend_background_behind_borders**
17+
18+
Extend float backgrounds behind borders. Results vary depending on your border characters.
19+
20+
```lua
21+
{
22+
extend_background_behind_borders = true
23+
}
24+
```
25+
26+
**styles.transparency**
27+
28+
Enable a unique experience focused around transparent terminals, avoiding large backgrounds and differentiating selections with foreground colours when possible.
29+
30+
```lua
31+
{
32+
styles = {
33+
transparency = true
34+
}
35+
}
36+
```
37+
38+
**before_highlight**
39+
40+
```lua
41+
{
42+
before_highlight = function(group, highlight, palette)
43+
-- Disable all undercurls
44+
if highlight.undercurl then
45+
highlight.undercurl = false
46+
end
47+
48+
-- Change palette colour
49+
if highlight.fg == palette.pine then
50+
highlight.fg = palette.foam
51+
end
52+
end,
53+
}
54+
```
55+
56+
### Breaking changes
57+
58+
> [!WARNING]
59+
> Removed or renamed options should continue to work via internal migrations but backwards compatibility is not tested and may break at any time.
60+
61+
```diff
62+
- dim_nc_background = true,
63+
+ dim_inactive_windows = true,
64+
65+
- disable_background = true,
66+
- disable_float_background = true,
67+
+ styles.transparency = true
68+
69+
- disable_italics = true,
70+
+ styles.italic = false,
71+
72+
- groups = {
73+
- background = "...",
74+
- comment = "...",
75+
- punctuation = "...",
76+
- },
77+
+ highlight_groups = {
78+
+ Normal = { bg = "..." },
79+
+ Comment = { fg = "..." },
80+
+ ["@punctuation"] = { fg = "..." },
81+
+ }
82+
```

colors/rose-pine-dawn.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
package.loaded['rose-pine.palette'] = nil
2-
require('rose-pine').colorscheme('dawn')
1+
package.loaded["rose-pine.palette"] = nil
2+
require("rose-pine").colorscheme("dawn")

colors/rose-pine-main.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
package.loaded['rose-pine.palette'] = nil
2-
require('rose-pine').colorscheme('main')
1+
package.loaded["rose-pine.palette"] = nil
2+
require("rose-pine").colorscheme("main")

colors/rose-pine-moon.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
package.loaded['rose-pine.palette'] = nil
2-
require('rose-pine').colorscheme('moon')
1+
package.loaded["rose-pine.palette"] = nil
2+
require("rose-pine").colorscheme("moon")

colors/rose-pine.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
package.loaded['rose-pine.palette'] = nil
2-
require('rose-pine').colorscheme()
1+
package.loaded["rose-pine.palette"] = nil
2+
require("rose-pine").colorscheme()

lua/lualine/themes/rose-pine-alt.lua

Lines changed: 0 additions & 26 deletions
This file was deleted.

lua/lualine/themes/rose-pine.lua

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)