neovim: changes to how we access nvf.lib
This commit is contained in:
parent
7868ac1529
commit
8d9c2a0ed2
39 changed files with 30 additions and 28 deletions
20
outputs/pkgs/ook-vim/config/theme.nix
Normal file
20
outputs/pkgs/ook-vim/config/theme.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
vim.gruvbox-material = {
|
||||
enable = true;
|
||||
contrast = "medium";
|
||||
italics = false;
|
||||
transparent = false;
|
||||
extraConfig =
|
||||
# lua
|
||||
''
|
||||
local g_colors = require("gruvbox-material.colors")
|
||||
local colors = g_colors.get(vim.o.background, "soft")
|
||||
|
||||
-- Noice
|
||||
vim.api.nvim_set_hl(0, "NoiceCmdlinePopupBorderHelp", { fg = colors.yellow })
|
||||
vim.api.nvim_set_hl(0, "NoiceCmdlinePopupBorder", { fg = colors.grey1 })
|
||||
vim.api.nvim_set_hl(0, "NoiceCmdlineIcon", { fg = colors.green })
|
||||
vim.api.nvim_set_hl(0, "NoiceCmdLinePopupTitle", { fg = colors.grey1 })
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue