mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-01 19:11:15 +00: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
|
- 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
|
a warning if used. You are recommended to rewrite your neocord config from scratch based on the
|
||||||
[official documentation](https://github.com/IogaMaster/neocord)
|
[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"
|
"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": {
|
"highlight-undo": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
@ -1497,6 +1513,7 @@
|
||||||
"gesture-nvim": "gesture-nvim",
|
"gesture-nvim": "gesture-nvim",
|
||||||
"gitsigns-nvim": "gitsigns-nvim",
|
"gitsigns-nvim": "gitsigns-nvim",
|
||||||
"glow-nvim": "glow-nvim",
|
"glow-nvim": "glow-nvim",
|
||||||
|
"gruvbox": "gruvbox",
|
||||||
"highlight-undo": "highlight-undo",
|
"highlight-undo": "highlight-undo",
|
||||||
"hop-nvim": "hop-nvim",
|
"hop-nvim": "hop-nvim",
|
||||||
"icon-picker-nvim": "icon-picker-nvim",
|
"icon-picker-nvim": "icon-picker-nvim",
|
||||||
|
|
|
@ -341,6 +341,11 @@
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gruvbox = {
|
||||||
|
url = "github:ellisonleao/gruvbox.nvim";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
|
||||||
# Rust crates
|
# Rust crates
|
||||||
crates-nvim = {
|
crates-nvim = {
|
||||||
url = "github:Saecki/crates.nvim";
|
url = "github:Saecki/crates.nvim";
|
||||||
|
|
|
@ -43,6 +43,7 @@ with lib; let
|
||||||
"catppuccin"
|
"catppuccin"
|
||||||
"dracula"
|
"dracula"
|
||||||
"oxocarbon"
|
"oxocarbon"
|
||||||
|
"gruvbox"
|
||||||
"minimap-vim"
|
"minimap-vim"
|
||||||
"dashboard-nvim"
|
"dashboard-nvim"
|
||||||
"alpha-nvim"
|
"alpha-nvim"
|
||||||
|
|
|
@ -3,4 +3,5 @@
|
||||||
"onedark"
|
"onedark"
|
||||||
"catppuccin"
|
"catppuccin"
|
||||||
"oxocarbon"
|
"oxocarbon"
|
||||||
|
"gruvbox"
|
||||||
]
|
]
|
||||||
|
|
|
@ -92,4 +92,40 @@
|
||||||
'';
|
'';
|
||||||
styles = ["dark" "light"];
|
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