dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

acme.lua (1951B) [raw]


      1 -- acme.vim -- acme-inspired colors
      2 --
      3 -- currently only tested on st(1) with the following colorname[]:
      4 --
      5 --    /* 8 normal colors */
      6 --    "#000000",
      7 --    "#ad4f4f",
      8 --    "#468747",
      9 --    "#8f7734",
     10 --    "#268bd2",
     11 --    "#888aca",
     12 --    "#6aa7a8",
     13 --    "#f3f3d3",
     14 --    
     15 --    /* 8 bright colors */
     16 --    "#878781",
     17 --    "#ffdddd",
     18 --    "#ebffeb",
     19 --    "#edeea5",
     20 --    "#ebffff",
     21 --    "#96d197",
     22 --    "#a1eeed",
     23 --    "#ffffeb",
     24 
     25 vim.cmd [[syntax off]]
     26 vim.opt.background = 'light'
     27 
     28 vim.api.nvim_set_hl(0, 'Normal', { ctermbg = 15, ctermfg = 0 })
     29 vim.api.nvim_set_hl(0, 'StatusLine', { ctermbg = 14, ctermfg = 0 })
     30 vim.api.nvim_set_hl(0, 'StatusLineNC', { ctermbg = 12, ctermfg = 0  })
     31 vim.api.nvim_set_hl(0, 'TabLineFill', { ctermbg = 12, ctermfg = 0  })
     32 vim.api.nvim_set_hl(0, 'VertSplit', { ctermbg = 15, ctermfg = 14  })
     33 vim.api.nvim_set_hl(0, 'Visual', { ctermbg = 11, ctermfg = 0  })
     34 vim.api.nvim_set_hl(0, 'LineNr', { ctermbg = 15, ctermfg = 8  })
     35 vim.api.nvim_set_hl(0, 'LineNr', { ctermbg = 15, ctermfg = 8  })
     36 vim.api.nvim_set_hl(0, 'NonText', { ctermbg = 15, ctermfg = 8  })
     37 vim.api.nvim_set_hl(0, 'Pmenu', { ctermbg = 10, ctermfg = 0  })
     38 vim.api.nvim_set_hl(0, 'PmenuSel', { ctermbg = 11, ctermfg = 0  })
     39 
     40 -- Even though we have syn off, we need to set these for LSP
     41 vim.api.nvim_set_hl(0, 'Statement', { ctermbg = 15, ctermfg = 0 })
     42 vim.api.nvim_set_hl(0, 'Identifier', { ctermbg = 15, ctermfg = 0 })
     43 vim.api.nvim_set_hl(0, 'Type', { ctermbg = 15, ctermfg = 0 })
     44 vim.api.nvim_set_hl(0, 'PreProc', { ctermbg = 15, ctermfg = 0 })
     45 vim.api.nvim_set_hl(0, 'Constant', { ctermbg = 15, ctermfg = 0 })
     46 vim.api.nvim_set_hl(0, 'Comment', { ctermbg = 15, ctermfg = 0 })
     47 vim.api.nvim_set_hl(0, 'Special', { ctermbg = 15, ctermfg = 0 })
     48 vim.api.nvim_set_hl(0, 'SpecialKey', { ctermbg = 15, ctermfg = 0 })
     49 vim.api.nvim_set_hl(0, 'NonText', { ctermbg = 15, ctermfg = 0 })
     50 vim.api.nvim_set_hl(0, 'Directory', { ctermbg = 15, ctermfg = 0 })