require("onedark").setup({ style = "darker", code_style = { comments = "none" }, }) local c = require("onedark.colors") local completion_kind_colors = { Text = c.light_grey, Method = c.blue, Function = c.blue, Constructor = c.blue, Field = c.purple, Variable = c.purple, Property = c.cyan, Class = c.yellow, Interface = c.green, Struct = c.purple, Module = c.orange, Unit = c.green, Value = c.orange, Enum = c.purple, EnumMember = c.yellow, Keyword = c.cyan, Constant = c.orange, Snippet = c.red, Color = c.green, File = c.blue, Reference = c.orange, Folder = c.orange, Event = c.yellow, Operator = c.red, TypeParameter = c.red, } local highlights = { ["@string.special.url"] = { fg = "NONE", fmt = "NONE" }, ["@lsp.type.macro.gotmpl"] = { fg = "NONE", fmt = "NONE" }, Cursor = { fg = c.bg, bg = c.fg, fmt = "NONE" }, FloatTitle = { fg = c.orange, bg = c.bg_d }, NormalFloat = { bg = c.bg_d }, FloatBorder = { bg = c.bg_d }, TabLine = { fg = c.grey, bg = c.bg1 }, TabLineSel = { fg = c.fg, bg = c.bg2 }, TabLineFill = { bg = c.bg1 }, EndOfBuffer = { fg = "NONE", bg = "NONE" }, NvimTreeIndentMarker = { fg = c.bg3 }, TelescopeNormal = { bg = c.bg_d }, TelescopeTitle = { fg = c.orange, bg = c.bg_d }, TelescopePromptBorder = { fg = c.grey, bg = c.bg_d }, TelescopeResultsBorder = { fg = c.grey, bg = c.bg_d }, TelescopePreviewBorder = { fg = c.grey, bg = c.bg_d }, DiffAdd = { bg = "#1a2f22" }, DiffChange = { bg = "#15304a" }, DiffDelete = { bg = "#311c1e" }, Changed = { fg = c.yellow }, } for kind, color in pairs(completion_kind_colors) do highlights["LspKind" .. kind] = { fg = color } end require("onedark").set_options("highlights", highlights) require("onedark").load() vim.api.nvim_set_hl(0, "PmenuSel", { link = "Visual" })