diff options
| author | Aotrix <[email protected]> | 2024-02-14 15:54:10 +0100 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2024-02-14 15:54:10 +0100 |
| commit | ece3d556628c087aa2d4d194501402496ca85512 (patch) | |
| tree | 42c787a23702c8d9f445cd1a7baf0b8b21673049 | |
| parent | 6b21ec9e1174da7576815d787386f78191fbfb0f (diff) | |
rose pine team
| -rw-r--r-- | init.lua | 7 | ||||
| -rw-r--r-- | lazy-lock.json | 3 | ||||
| -rw-r--r-- | lua/theme/rose-pine.lua | 71 |
3 files changed, 74 insertions, 7 deletions
@@ -14,10 +14,9 @@ vim.opt.rtp:prepend(lazypath) -- lazy setup require('lazy').setup({ -- Loading theme - { "rebelot/kanagawa.nvim", - -- "ellisonleao/gruvbox.nvim", + { "rose-pine/neovim", config = function() - require('theme/kanagawa') + require('theme/rose-pine') end,}, -- LSP @@ -67,8 +66,6 @@ require('lazy').setup({ require('statusline/statusline') end }, - {"rose-pine/neovim"}, - {"tiagovla/tokyodark.nvim"}, -- Telescope { 'nvim-telescope/telescope.nvim', tag = '0.1.5', diff --git a/lazy-lock.json b/lazy-lock.json index 70d5798..6449f75 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -6,18 +6,17 @@ "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, "friendly-snippets": { "branch": "main", "commit": "5cc1f45c6aac699ad008fb85f6ae03236062667d" }, - "kanagawa.nvim": { "branch": "master", "commit": "ab41956c4559c3eb21e713fcdf54cda1cb6d5f40" }, "lazy.nvim": { "branch": "main", "commit": "28126922c9b54e35a192ac415788f202c3944c9f" }, "lsp-zero.nvim": { "branch": "v2.x", "commit": "9a686513eaaa13d737d0fec8956a18268ead8b29" }, "lualine.nvim": { "branch": "master", "commit": "7d131a8d3ba5016229e8a1d08bf8782acea98852" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "0954d7730e749d606ddf8d7ae8846848be435d53" }, "mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" }, "neovim": { "branch": "main", "commit": "f01ce3a71748a92997d266cfe2c985decd18c601" }, + "nightfox.nvim": { "branch": "main", "commit": "a408e6bb101066952b81de9c11be367114bd561f" }, "nvim-cmp": { "branch": "main", "commit": "04e0ca376d6abdbfc8b52180f8ea236cbfddf782" }, "nvim-lspconfig": { "branch": "master", "commit": "ae91a303a2258cb9cd9501e9d20c2dc92792d362" }, "nvim-treesitter": { "branch": "master", "commit": "f6342874b1113984dfedfcf595ad321c4cd1a896" }, "plenary.nvim": { "branch": "master", "commit": "4f71c0c4a196ceb656c824a70792f3df3ce6bb6d" }, "telescope.nvim": { "branch": "master", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" }, - "tokyodark.nvim": { "branch": "master", "commit": "b6f365cf5b6a2a2fa7de2578ca047db0721335ec" }, "transparent.nvim": { "branch": "main", "commit": "fd35a46f4b7c1b244249266bdcb2da3814f01724" } }
\ No newline at end of file diff --git a/lua/theme/rose-pine.lua b/lua/theme/rose-pine.lua new file mode 100644 index 0000000..4398a3e --- /dev/null +++ b/lua/theme/rose-pine.lua @@ -0,0 +1,71 @@ +require("rose-pine").setup({ + variant = "auto", -- auto, main, moon, or dawn + dark_variant = "main", -- main, moon, or dawn + dim_inactive_windows = false, + extend_background_behind_borders = true, + + enable = { + terminal = true, + legacy_highlights = true, -- Improve compatibility for previous versions of Neovim + migrations = true, -- Handle deprecated options automatically + }, + + styles = { + bold = false, + italic = true, + transparency = false, + }, + + groups = { + border = "muted", + link = "iris", + panel = "surface", + + error = "love", + hint = "iris", + info = "foam", + note = "pine", + todo = "rose", + warn = "gold", + + git_add = "foam", + git_change = "rose", + git_delete = "love", + git_dirty = "rose", + git_ignore = "muted", + git_merge = "iris", + git_rename = "pine", + git_stage = "iris", + git_text = "rose", + git_untracked = "subtle", + + h1 = "iris", + h2 = "foam", + h3 = "rose", + h4 = "gold", + h5 = "pine", + h6 = "foam", + }, + + highlight_groups = { + -- Comment = { fg = "foam" }, + -- VertSplit = { fg = "muted", bg = "muted" }, + }, + + 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, +}) + +vim.cmd("colorscheme rose-pine") +-- vim.cmd("colorscheme rose-pine-main") +-- vim.cmd("colorscheme rose-pine-moon") +-- vim.cmd("colorscheme rose-pine-dawn") |
