Revert "Adjust Neovim colors to also work with light mode"
This reverts commit 035d66c186
.
This commit is contained in:
parent
212eb29636
commit
60f91d41d3
4 changed files with 2 additions and 16 deletions
|
@ -4,7 +4,7 @@ return {
|
|||
config = function()
|
||||
require"gruvbox".setup {
|
||||
transparent_mode = true,
|
||||
contrast = "hard",
|
||||
contrast = "soft",
|
||||
}
|
||||
vim.cmd("colorscheme gruvbox")
|
||||
end,
|
||||
|
|
|
@ -82,26 +82,17 @@ return {
|
|||
ins_l {
|
||||
"filesize",
|
||||
cond = buffer_not_empty,
|
||||
color = {
|
||||
fg = rgb_to_hex(hl("Comment").fg),
|
||||
}
|
||||
}
|
||||
|
||||
ins_l {
|
||||
"o:encoding",
|
||||
cond = buffer_not_empty,
|
||||
color = {
|
||||
fg = rgb_to_hex(hl("Comment").fg),
|
||||
}
|
||||
}
|
||||
|
||||
ins_l {
|
||||
"fileformat",
|
||||
icons_enabled = false,
|
||||
cond = buffer_not_empty,
|
||||
color = {
|
||||
fg = rgb_to_hex(hl("Comment").fg),
|
||||
}
|
||||
}
|
||||
|
||||
ins_r { "diagnostics" }
|
||||
|
@ -119,9 +110,6 @@ return {
|
|||
|
||||
ins_r {
|
||||
"location",
|
||||
color = {
|
||||
fg = rgb_to_hex(hl("Comment").fg),
|
||||
}
|
||||
}
|
||||
|
||||
ins_r {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
return function (name)
|
||||
local hl = vim.api.nvim_get_hl(0, { name = name })
|
||||
local hl = vim.api.nvim_get_hl(0, { name = name })
|
||||
while hl.link ~= nil do
|
||||
hl = vim.api.nvim_get_hl(0, { name = hl.link })
|
||||
end
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
|
||||
/* This doesn't work with standalone home-manager */
|
||||
extraPackages = with pkgs; [
|
||||
lua-language-server
|
||||
nodePackages.intelephense
|
||||
|
|
Loading…
Reference in a new issue