nvim-config

Log | Files | Refs | Submodules | README

oakv2.lua (5073B)


      1 -- Made with 'mini.colors' module of https://github.com/echasnovski/mini.nvim
      2 
      3 if vim.g.colors_name ~= nil then vim.cmd('highlight clear') end
      4 vim.g.colors_name = "oak"
      5 
      6 -- Highlight groups
      7 local hi = vim.api.nvim_set_hl
      8 
      9 hi(0, "@attribute", { link = "Keyword" })
     10 hi(0, "@constant.builtin", { bold = true, ctermfg = 95, fg = "#846154" })
     11 hi(0, "@function.builtin", { ctermfg = 95, fg = "#846154" })
     12 hi(0, "@lsp.type.keyword", { link = "@keyword" })
     13 hi(0, "@lsp.type.property", { link = "@property" })
     14 hi(0, "@namespace", { ctermfg = 71, fg = "#69bd6b" })
     15 hi(0, "@parameter", { ctermfg = 255, fg = "#ffebe2", italic = true })
     16 hi(0, "@punctuation.special", { ctermfg = 95, fg = "#846154" })
     17 hi(0, "@text.emphasis", { italic = true })
     18 hi(0, "@text.environment", { link = "Keyword" })
     19 hi(0, "@text.environment.name", { ctermfg = 95, fg = "#846154" })
     20 hi(0, "@text.reference", { ctermfg = 185, fg = "#e6c44b" })
     21 hi(0, "@text.strong", { bold = true })
     22 hi(0, "Bold", { bold = true })
     23 hi(0, "Boolean", { bold = true, ctermfg = 185, fg = "#e6c44b" })
     24 hi(0, "Char", { ctermfg = 71, fg = "#69bd6b" })
     25 hi(0, "ColorColumn", { bg = "#0e0200", ctermbg = 232 })
     26 hi(0, "Comment", { ctermfg = 95, fg = "#846154", italic = true })
     27 hi(0, "Conditional", { link = "Keyword" })
     28 hi(0, "Constant", { ctermfg = 185, fg = "#e6c44b", italic = true })
     29 hi(0, "CursorColumn", { bg = "#43251a", ctermbg = 236 })
     30 hi(0, "CursorLine", { bg = "#43251a", ctermbg = 236 })
     31 hi(0, "CursorLineNr", { bg = "#43251a", ctermbg = 236 })
     32 hi(0, "DiagnosticError", { ctermfg = 197, fg = "#fe394f" })
     33 hi(0, "DiagnosticHint", { ctermfg = 255, fg = "#ffebe2" })
     34 hi(0, "DiagnosticInfo", { ctermfg = 75, fg = "#53adfa" })
     35 hi(0, "DiagnosticUnderlineError", { sp = "#fe394f", underline = true })
     36 hi(0, "DiagnosticUnderlineHint", { sp = "#ffebe2", underline = true })
     37 hi(0, "DiagnosticUnderlineInfo", { sp = "#53adfa", underline = true })
     38 hi(0, "DiagnosticUnderlineWarn", { sp = "#e6c44b", underline = true })
     39 hi(0, "DiagnosticUnnecessary", { sp = "#ffebe2", underline = true })
     40 hi(0, "DiagnosticWarn", { ctermfg = 185, fg = "#e6c44b" })
     41 hi(0, "DiffAdd", { ctermfg = 71, fg = "#69bd6b" })
     42 hi(0, "DiffChange", { ctermfg = 185, fg = "#e6c44b" })
     43 hi(0, "DiffDelete", { ctermfg = 197, fg = "#fe394f" })
     44 hi(0, "Error", { ctermfg = 197, fg = "#fe394f" })
     45 hi(0, "ErrorMsg", { link = "Error" })
     46 hi(0, "Folded", { bg = "#43251a", ctermbg = 236 })
     47 hi(0, "Function", { ctermfg = 209, fg = "#ef855c" })
     48 hi(0, "Identifier", { link = "Normal" })
     49 hi(0, "Italic", { italic = true })
     50 hi(0, "Keyword", { ctermfg = 140, fg = "#af96e2" })
     51 hi(0, "LineNr", { ctermfg = 95, fg = "#846154" })
     52 hi(0, "LspInlayHint", { link = "Comment" })
     53 hi(0, "LspReferenceRead", { sp = "#ef855c", underline = true })
     54 hi(0, "LspReferenceText", { sp = "#ef855c", underline = true })
     55 hi(0, "LspReferenceWrite", { sp = "#ef855c", underline = true })
     56 hi(0, "Macro", { link = "Keyword" })
     57 hi(0, "MatchParen", { bg = "#43251a", ctermbg = 236 })
     58 hi(0, "NeogitDiffAddHighlight", { link = "DiffAdd" })
     59 hi(0, "NeogitDiffDeleteHighlight", { link = "DiffDelete" })
     60 hi(0, "NonText", { ctermfg = 236, fg = "#43251a" })
     61 hi(0, "Normal", { bg = "#0e0200", ctermbg = 232, ctermfg = 255, fg = "#ffebe2" })
     62 hi(0, "NormalFloat", { link = "Normal" })
     63 hi(0, "Number", { ctermfg = 185, fg = "#e6c44b" })
     64 hi(0, "Operator", { link = "Keyword" })
     65 hi(0, "Pmenu", { bg = "#43251a", ctermbg = 236 })
     66 hi(0, "PmenuSel", { bg = "#846154", ctermbg = 95 })
     67 hi(0, "PreProc", { link = "Keyword" })
     68 hi(0, "Search", { bg = "#ef855c", ctermbg = 209, ctermfg = 232, fg = "#0e0200" })
     69 hi(0, "SignColumn", { link = "Normal" })
     70 hi(0, "Special", { ctermfg = 255, fg = "#ffebe2" })
     71 hi(0, "SpecialChar", { ctermfg = 71, fg = "#69bd6b" })
     72 hi(0, "SpellBad", { sp = "#fe394f", undercurl = true })
     73 hi(0, "SpellCap", { sp = "#53adfa", undercurl = true })
     74 hi(0, "SpellLocal", { link = "SpellBad" })
     75 hi(0, "SpellRare", { sp = "#ef855c", undercurl = true })
     76 hi(0, "Statement", { link = "Keyword" })
     77 hi(0, "StatusLine", { bg = "#43251a", bold = true, ctermbg = 236, ctermfg = 255, fg = "#ffebe2" })
     78 hi(0, "StatusLineNC", { bg = "#43251a", ctermbg = 236, ctermfg = 255, fg = "#ffebe2" })
     79 hi(0, "String", { ctermfg = 37, fg = "#00bdbf" })
     80 hi(0, "TabLine", {})
     81 hi(0, "Title", { ctermfg = 209, fg = "#ef855c" })
     82 hi(0, "Todo", { link = "Normal" })
     83 hi(0, "Type", { ctermfg = 71, fg = "#69bd6b", italic = true })
     84 hi(0, "Underlined", { ctermfg = 255, fg = "#ffebe2", underline = true })
     85 hi(0, "Visual", { bg = "#43251a", ctermbg = 236 })
     86 hi(0, "WinSeparator", { ctermfg = 236, fg = "#43251a" })
     87 
     88 -- Terminal colors
     89 local g = vim.g
     90 
     91 g.terminal_color_0 = "#0e0200"
     92 g.terminal_color_1 = "#fe394f"
     93 g.terminal_color_2 = "#69bd6b"
     94 g.terminal_color_3 = "#e6c44b"
     95 g.terminal_color_4 = "#53adfa"
     96 g.terminal_color_5 = "#af96e2"
     97 g.terminal_color_6 = "#00bdbf"
     98 g.terminal_color_7 = "#ffebe2"
     99 g.terminal_color_8 = "#0e0200"
    100 g.terminal_color_9 = "#fe394f"
    101 g.terminal_color_10 = "#69bd6b"
    102 g.terminal_color_11 = "#e6c44b"
    103 g.terminal_color_12 = "#53adfa"
    104 g.terminal_color_13 = "#af96e2"
    105 g.terminal_color_14 = "#00bdbf"
    106 g.terminal_color_15 = "#ffebe2"