Skip to content

Releases: rose-pine/neovim

v3.0.1

27 Jan 03:44
14b371f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.0...v3.0.1

v3.0.0

26 Jan 20:14
bf00df1
Compare
Choose a tag to compare

What's Changed

  • feat: re-add inherit option for custom highlight groups by @mvllow in #198
  • fix: none palette value by @mvllow in #200
  • feat!: enable extend_background_behind_borders by default by @mvllow in #201
  • fix: transparency not affecting Normal background by @mvllow in #204
  • feat(transparency): remove more backgrounds by @mvllow in #205
  • revert: improve palette contrast by @mvllow in #207
  • fix: mismatched WinSeparator background by @mvllow in #208
  • feat: improve neogit support by @mvllow in #209
  • style(ibl): update highlights for indent-blanklines by @rgruyters in #210
  • feat: support folke/flash.nvim by @mvllow in #211
  • feat(transparency): remove lualine background by @atinylittleshell in #212
  • fix: unlink TabLine from StatusLine by @mvllow in #214
  • feat: add mini.clue and mini.pick by @mvllow in #215
  • feat: add new treesitter highlights by @mvllow in #217

New Contributors

Full Changelog: v2.0.0...v3.0.0

v2.0.0: feat!: add new options with better support for transparency (#185)

07 Jan 19:42
b776a47
Compare
Choose a tag to compare

Changelog

What's new

  • Add extend_background_behind_borders
  • Add styles.bold with alternative styling when disabled
  • Add before_highlight hook to allow changing palette values and behaviours
  • Highlight diagnostic virtual text background with glow
  • Highlight StatusLineTerm & StatusLineTermNC, disable via enable.terminal = false
  • Increase contrast of search and other temporary visuals

Features

extend_background_behind_borders

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

{
    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.

{
    styles = {
        transparency = true
    }
}

before_highlight

{
    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

        -- Change palette colour for dark variants
        if vim.o.background == "dark" then
            if highlight.fg == palette.pine then
                highlight.fg = "#3e8fb0"
            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.

- 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 = "..." },
+ }

The one before v2

07 Jan 19:38
3e301fd
Compare
Choose a tag to compare

Pin to this tag if you run into trouble with the v2 release. Please report any bugs or voice your feedback in a discussion. Thanks!

v2.0.0-next.1

27 Nov 18:58
7de6b77
Compare
Choose a tag to compare
v2.0.0-next.1 Pre-release
Pre-release

Changelog

What's new

  • Add extend_background_behind_borders
  • Add styles.bold with alternative styling when disabled
  • Add before_highlight hook to allow changing palette values and behaviours
  • Highlight diagnostic virtual text background with glow
  • Highlight StatusLineTerm & StatusLineTermNC, disable via enable.terminal = false
  • Increase contrast of search and other temporary visuals

Features

extend_background_behind_borders

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

{
    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.

{
    styles = {
        transparency = true
    }
}

before_highlight

{
    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

        -- Change palette colour for dark variants
        if vim.o.background == "dark" then
            if highlight.fg == palette.pine then
                highlight.fg = "#3e8fb0"
            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.

- 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 = "..." },
+ }

v1.3.0

27 Nov 18:43
92762f4
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.2.0...v1.2.1

v1.2.0

22 Mar 23:52
835129f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.0...v1.2.0

v1.1.0

16 Jun 04:54
Compare
Choose a tag to compare

What's Changed

  • feat: add highlight groups by @mvllow in #74
  • feat: add LspReferenceXXX highlight group by @fitrh in #75
  • feat: add toggleterm highlights and initial bufferline highlights by @mvllow in #77
  • chore: move image to github cdn by @will in #78
  • feat: add LspCodelensXXX highlight group by @fitrh in #80
  • feat: add CurSearch highlight group by @will in #81
  • feat: improve contrast of the FloatTitle by @nanozuki in #83

New Contributors

Full Changelog: v1.0.1...v1.0.2

v1.0.1

17 Mar 17:41
9758101
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.1.0

v1.0.0

13 Feb 22:20
Compare
Choose a tag to compare

Breaking changes

Moved to lua configuration

require('rose-pine').setup({
	...
})
  • Renamed vim.g.rose_pine_bold_vertical_split_linebold_vert_split
  • Renamed vim.g.rose_pine_variantdark_variant
    • Note: Variant now respects vim.o.background, using dawn when light and dark_variant when dark
  • Renamed vim.g.rose_pine_inactive_backgrounddim_nc_background
  • Renamed vim.g.rose_pine_disable_backgrounddisable_background
  • Renamed vim.g.rose_pine_disable_float_backgrounddisable_float_background
  • Renamed vim.g.rose_pine_disable_italicsdisable_italics
  • Renamed vim.g.rose_pine_colorsgroups

What's new

  • Variant will match vim.o.background
  • Palette names can be used within setup
    • Eg. comment = 'iris'

Full Changelog: v0.5.1...v1.0.0