mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-25 10:19:48 +01:00
Merge pull request #195 from Donnerinoern/theme/gruvbox
Theme: Added Gruvbox
This commit is contained in:
commit
4ded86d1ff
6 changed files with 64 additions and 0 deletions
|
@ -21,3 +21,7 @@ Release notes for release 0.6
|
|||
- Deprecated `presence.nvim` in favor of `neocord`. This means `vim.rich-presence.presence-nvim` is removed and will throw
|
||||
a warning if used. You are recommended to rewrite your neocord config from scratch based on the
|
||||
[official documentation](https://github.com/IogaMaster/neocord)
|
||||
|
||||
[donnerinoern](https://github.com/donnerinoern):
|
||||
|
||||
- Added Gruvbox theme
|
||||
|
|
17
flake.lock
17
flake.lock
|
@ -533,6 +533,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"gruvbox": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1704132908,
|
||||
"narHash": "sha256-p/y65ub1qL+5g0ZiWzaTyQeiP7LtVfsdcdJ0eb0A7Og=",
|
||||
"owner": "ellisonleao",
|
||||
"repo": "gruvbox.nvim",
|
||||
"rev": "4176b0b720db0c90ab4030e5c1b4893faf41fd51",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "ellisonleao",
|
||||
"repo": "gruvbox.nvim",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"highlight-undo": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
@ -1497,6 +1513,7 @@
|
|||
"gesture-nvim": "gesture-nvim",
|
||||
"gitsigns-nvim": "gitsigns-nvim",
|
||||
"glow-nvim": "glow-nvim",
|
||||
"gruvbox": "gruvbox",
|
||||
"highlight-undo": "highlight-undo",
|
||||
"hop-nvim": "hop-nvim",
|
||||
"icon-picker-nvim": "icon-picker-nvim",
|
||||
|
|
|
@ -341,6 +341,11 @@
|
|||
flake = false;
|
||||
};
|
||||
|
||||
gruvbox = {
|
||||
url = "github:ellisonleao/gruvbox.nvim";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
# Rust crates
|
||||
crates-nvim = {
|
||||
url = "github:Saecki/crates.nvim";
|
||||
|
|
|
@ -43,6 +43,7 @@ with lib; let
|
|||
"catppuccin"
|
||||
"dracula"
|
||||
"oxocarbon"
|
||||
"gruvbox"
|
||||
"minimap-vim"
|
||||
"dashboard-nvim"
|
||||
"alpha-nvim"
|
||||
|
|
|
@ -3,4 +3,5 @@
|
|||
"onedark"
|
||||
"catppuccin"
|
||||
"oxocarbon"
|
||||
"gruvbox"
|
||||
]
|
||||
|
|
|
@ -92,4 +92,40 @@
|
|||
'';
|
||||
styles = ["dark" "light"];
|
||||
};
|
||||
|
||||
gruvbox = {
|
||||
setup = {
|
||||
style ? "dark",
|
||||
transparent ? false,
|
||||
}: ''
|
||||
-- Gruvbox theme
|
||||
require("gruvbox").setup({
|
||||
terminal_colors = true, -- add neovim terminal colors
|
||||
undercurl = true,
|
||||
underline = true,
|
||||
bold = true,
|
||||
italic = {
|
||||
strings = true,
|
||||
emphasis = true,
|
||||
comments = true,
|
||||
operators = false,
|
||||
folds = true,
|
||||
},
|
||||
strikethrough = true,
|
||||
invert_selection = false,
|
||||
invert_signs = false,
|
||||
invert_tabline = false,
|
||||
invert_intend_guides = false,
|
||||
inverse = true,
|
||||
contrast = "",
|
||||
palette_overrides = {},
|
||||
overrides = {},
|
||||
dim_inactive = false,
|
||||
transparent_mode = ${lib.boolToString transparent},
|
||||
})
|
||||
vim.o.background = "${style}"
|
||||
vim.cmd("colorscheme gruvbox")
|
||||
'';
|
||||
styles = ["dark" "light"];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue