Skip to content

Commit

Permalink
feat!: spring cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
mvllow committed Nov 27, 2023
1 parent 92762f4 commit 7f1ba8c
Show file tree
Hide file tree
Showing 23 changed files with 1,125 additions and 1,021 deletions.
4 changes: 0 additions & 4 deletions .stylua.toml

This file was deleted.

82 changes: 82 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# Changelog

## v2.0.0-next.1

### What's new

- Add proper support for `StatusLineTerm` & `StatusLineTermNC`, controlled via `enable.terminal`
- Add background glow to diagnostic virtual text
- Add `extend_background_behind_borders`
- Add `styles.bold` and alternatively styling when disabled
- Add `before_highlight` hook to allow changing palette values and behaviours
- Increase contrast of search, visual selections, and more

### Features

**extend_background_behind_borders**

Extend float backgrounds behind borders. Results vary depending on your border characters.

```lua
{
extend_background_behind_borders = true
}
```

**styles.transparency**

Enable a unique experience focused around transparent terminals, avoiding large backgrounds and differentiating selections with foreground colours when possible.

```lua
{
styles = {
transparency = true
}
}
```

**before_highlight**

```lua
{
before_highlight = function(group, highlight, palette)
-- Disable all undercurls
if highlight.undercurl then
highlight.undercurl = false
end

-- Change palette colour
if highlight.fg == palette.pine then
highlight.fg = palette.foam
end
end,
}
```

### Breaking changes

> [!WARNING]
> Removed or renamed options should continue to work via internal migrations but backwards compatibility is not tested and may break at any time.
```diff
- dim_nc_background = true,
+ dim_inactive_windows = true,

- disable_background = true,
- disable_float_background = true,
+ styles.transparency = true

- disable_italics = true,
+ styles.italic = false,

- groups = {
- background = "...",
- comment = "...",
- punctuation = "...",
- },
+ highlight_groups = {
+ Normal = { bg = "..." },
+ Comment = { fg = "..." },
+ ["@punctuation"] = { fg = "..." },
+ }
```
4 changes: 2 additions & 2 deletions colors/rose-pine-dawn.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
package.loaded['rose-pine.palette'] = nil
require('rose-pine').colorscheme('dawn')
package.loaded["rose-pine.palette"] = nil
require("rose-pine").colorscheme("dawn")
4 changes: 2 additions & 2 deletions colors/rose-pine-main.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
package.loaded['rose-pine.palette'] = nil
require('rose-pine').colorscheme('main')
package.loaded["rose-pine.palette"] = nil
require("rose-pine").colorscheme("main")
4 changes: 2 additions & 2 deletions colors/rose-pine-moon.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
package.loaded['rose-pine.palette'] = nil
require('rose-pine').colorscheme('moon')
package.loaded["rose-pine.palette"] = nil
require("rose-pine").colorscheme("moon")
4 changes: 2 additions & 2 deletions colors/rose-pine.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
package.loaded['rose-pine.palette'] = nil
require('rose-pine').colorscheme()
package.loaded["rose-pine.palette"] = nil
require("rose-pine").colorscheme()
26 changes: 0 additions & 26 deletions lua/lualine/themes/rose-pine-alt.lua

This file was deleted.

34 changes: 0 additions & 34 deletions lua/lualine/themes/rose-pine.lua

This file was deleted.

22 changes: 0 additions & 22 deletions lua/rose-pine.lua

This file was deleted.

68 changes: 0 additions & 68 deletions lua/rose-pine/config.lua

This file was deleted.

74 changes: 0 additions & 74 deletions lua/rose-pine/palette.lua

This file was deleted.

15 changes: 0 additions & 15 deletions lua/rose-pine/plugins/toggleterm.lua

This file was deleted.

Loading

0 comments on commit 7f1ba8c

Please sign in to comment.