return { "svrana/neosolarized.nvim", priority = 1000, dependencies = { "tjdevries/colorbuddy.vim" }, config = function() local status, n = pcall(require, "neosolarized") if (not status) then return end vim.o.termguicolors = true n.setup({ comment_italics = true, }) local cb = require('colorbuddy.init') local Color = cb.Color local colors = cb.colors local Group = cb.Group local groups = cb.groups local styles = cb.styles Color.new('white', '#ffffff') Color.new('black', '#000000') Group.new('CursorLine', colors.none, colors.base03, styles.NONE, colors.base1) Group.new('CursorLineNr', colors.yellow, colors.black, styles.NONE, colors.base1) Group.new('Visual', colors.none, colors.base03, styles.reverse) local cError = groups.Error.fg local cInfo = groups.Information.fg local cWarn = groups.Warning.fg local cHint = groups.Hint.fg Group.new("DiagnosticVirtualTextError", cError, cError:dark():dark():dark():dark(), styles.NONE) Group.new("DiagnosticVirtualTextInfo", cInfo, cInfo:dark():dark():dark(), styles.NONE) Group.new("DiagnosticVirtualTextWarn", cWarn, cWarn:dark():dark():dark(), styles.NONE) Group.new("DiagnosticVirtualTextHint", cHint, cHint:dark():dark():dark(), styles.NONE) Group.new("DiagnosticUnderlineError", colors.none, colors.none, styles.undercurl, cError) Group.new("DiagnosticUnderlineWarn", colors.none, colors.none, styles.undercurl, cWarn) Group.new("DiagnosticUnderlineInfo", colors.none, colors.none, styles.undercurl, cInfo) Group.new("DiagnosticUnderlineHint", colors.none, colors.none, styles.undercurl, cHint) Group.new("Macro", groups.PreProc, colors.none, styles.italic + styles.bold) Group.link("Function", groups.Function, colors.none, styles.italic) Group.new("Conditional", groups.Statement, colors.none, styles.italic) Group.new("Boolean", groups.Constant, colors.none, styles.bold) Group.new("HoverBorder", colors.yellow, colors.none, styles.NONE) end } -- SolarizedLight = { -- 'maxmx03/solarized.nvim', -- lazy = false, -- priority = 1000, -- config = function() -- vim.o.background = 'light' -- vim.cmd.colorscheme 'solarized' -- end, -- }