diff options
-rw-r--r-- | after/plugin/cfg.vim | 4 | ||||
-rw-r--r-- | colors/monochrome.vim | 180 | ||||
-rw-r--r-- | colors/vacme.vim | 230 | ||||
-rw-r--r-- | init.lua | 1 |
4 files changed, 3 insertions, 412 deletions
diff --git a/after/plugin/cfg.vim b/after/plugin/cfg.vim index 3fb0433..981a4d3 100644 --- a/after/plugin/cfg.vim +++ b/after/plugin/cfg.vim @@ -16,7 +16,7 @@ set gfn=Fira\ Code:h12 set noshowmode if has('gui_running') - colorscheme dim -else colorscheme monochrome +else + colorscheme wtf endif diff --git a/colors/monochrome.vim b/colors/monochrome.vim deleted file mode 100644 index 0b6716b..0000000 --- a/colors/monochrome.vim +++ /dev/null @@ -1,180 +0,0 @@ -" Vim color scheme -" -" Name: monochrome.vim -" Maintainer: Xavier Noria <fxn@hashref.com> -" Modifications: Michael Smith <mikesmiffy128@gmail.com> -" License: MIT - -set bg=dark - -" TODO: make non-C stuff even less colourful - -hi clear -if exists('syntax_on') - syntax reset -endif - -let g:colors_name = 'monochrome' - -let s:white = ['White', 15] -let s:black = ['#06060a', 16] -let s:bgray = ['#181818', 233] -let s:lgray = ['LightGray', 255] -let s:cgray = ['#737373', 243] -let s:dgray = ['DarkGray', 248] -let s:sblue = ['#778899', 67] -let s:sgreen = ['#669988', 67] -let s:yellow = ['Yellow', 226] -let s:red = ['#b6403a', 160] -let s:green = ['#478226', 28] -let s:purple = ['#a652c6', 28] - -let s:italic = 'italic' -let s:bold = 'bold' -let s:underline = 'underline' -let s:none = 'NONE' -let s:cnone = [s:none, s:none] - -let s:default_fg = s:lgray -" For slight terminal transparency, configure the terminal background to be the -" same - or whatever is actually desired. -" let s:default_bg = s:cnone -let s:default_bg = s:black - -function! s:hi(...) - let group = a:1 - let fg = get(a:, 2, s:cnone) - let bg = get(a:, 3, s:cnone) - let attr = get(a:, 4, s:none) - let cmd = ['hi', group] - call add(cmd, 'guifg='.fg[0]) - call add(cmd, 'ctermfg='.fg[1]) - call add(cmd, 'guibg='.bg[0]) - call add(cmd, 'ctermbg='.bg[1]) - call add(cmd, 'gui='.attr) - call add(cmd, 'cterm='.attr) - exec join(cmd, ' ') -endfunction - -" Vim interface -call s:hi('Normal', s:default_fg, s:default_bg) -call s:hi('Cursor', s:black, s:lgray) -call s:hi('CursorLine', s:cnone, s:bgray) -call s:hi('CursorLineNr', s:white, s:default_bg, s:bold) -call s:hi('ColorColumn', s:cnone, s:bgray) -call s:hi('Search', s:white, s:sblue) -call s:hi('Visual', s:white, s:sblue) -call s:hi('ErrorMsg', s:white, s:red) -call s:hi('NonText', s:sblue) -call s:hi('FoldColumn', s:dgray) -call s:hi('Folded') -call s:hi('LineNr', s:dgray) -call s:hi('SpecialKey', s:sblue, s:default_bg, s:bold) -call s:hi('Directory', s:white, s:default_bg, s:bold) -call s:hi('helpSpecial') -call s:hi('helpHyperTextJump', s:sblue, s:default_bg, s:underline) -call s:hi('helpNote') -call s:hi('Pmenu', s:white, s:sblue) -call s:hi('PmenuSel', s:sblue, s:white) -call s:hi('Todo', s:white, s:cnone, s:bold.','.s:italic) -call s:hi('SignColumn', s:black, s:bgray) -call s:hi('VertSplit') -call s:hi('Pmenu', s:default_fg, s:bgray) - -" Programming languages -call s:hi('Statement', s:cnone, s:cnone, s:bold) -call s:hi('PreProc', s:cnone, s:cnone, s:italic) -call s:hi('String', s:sgreen) -call s:hi('Comment', s:white, s:default_bg, s:bold) -call s:hi('Constant', s:cnone, s:cnone, s:bold) -call s:hi('Type') -call s:hi('Function') -call s:hi('Identifier') -call s:hi('Special') -call s:hi('MatchParen', s:cnone, s:sblue) - -" VimL -call s:hi('vimOption') -call s:hi('vimGroup') -call s:hi('vimHiClear') -call s:hi('vimHiGroup') -call s:hi('vimHiAttrib') -call s:hi('vimHiGui') -call s:hi('vimHiGuiFgBg') -call s:hi('vimHiCTerm') -call s:hi('vimHiCTermFgBg') -call s:hi('vimSynType') -hi link vimCommentTitle Comment - -" Ruby -call s:hi('rubyConstant') -call s:hi('rubySharpBang', s:cgray) -call s:hi('rubyStringDelimiter', s:sblue) -call s:hi('rubyStringEscape', s:sblue) -call s:hi('rubyRegexpEscape', s:sblue) -call s:hi('rubyRegexpAnchor', s:sblue) -call s:hi('rubyRegexpSpecial', s:sblue) - -" Elixir -call s:hi('elixirAlias') -call s:hi('elixirDelimiter', s:sblue) -call s:hi('elixirSelf') -call s:hi('elixirOperator') " For ||, ->, etc. -hi link elixirVariable Statement " Module attributes like @doc or @type. -" While rendered as comments in other languages, docstrings are strings, -" experimental. -hi link elixirDocString String -hi link elixirDocTest String -hi link elixirStringDelimiter String - -" Perl -call s:hi('perlSharpBang', s:cgray) -call s:hi('perlStringStartEnd', s:sblue) -call s:hi('perlStringEscape', s:sblue) -call s:hi('perlMatchStartEnd', s:sblue) - -" Python -call s:hi('pythonEscape', s:sblue) - -" JavaScript -call s:hi('javaScriptFunction', s:white, s:default_bg, s:bold) - -" Diffs and Signify columns -call s:hi('diffFile', s:cgray) -call s:hi('diffNewFile', s:cgray) -call s:hi('diffIndexLine', s:cgray) -call s:hi('diffLine', s:cgray) -call s:hi('diffSubname', s:cgray) -call s:hi('diffAdded', s:white, s:green) -call s:hi('DiffAdd', s:white, s:green) -call s:hi('diffRemoved', s:white, s:red) -call s:hi('DiffDelete', s:white, s:red) -call s:hi('DiffChange', s:white, s:purple) - -" Markdown -call s:hi('Title', s:white, s:default_bg, s:bold) -call s:hi('markdownHeadingDelimiter', s:white, s:default_bg, s:bold) -call s:hi('markdownHeadingRule', s:white, s:default_bg, s:bold) -call s:hi('markdownLinkText', s:sblue, s:default_bg, s:underline) - -" vim-fugitive -call s:hi('gitcommitComment', s:default_fg, s:default_bg) -call s:hi('gitcommitOnBranch', s:default_fg, s:default_bg) -call s:hi('gitcommitBranch', s:sblue, s:default_bg) -call s:hi('gitcommitHeader', s:white, s:default_bg, s:bold) -call s:hi('gitcommitSelected', s:default_fg, s:default_bg) -call s:hi('gitcommitDiscarded', s:default_fg, s:default_bg) -call s:hi('gitcommitSelectedType', s:default_fg, s:default_bg) -call s:hi('gitcommitDiscardedType', s:default_fg, s:default_bg) - -" NeoMake -call s:hi('NeomakeMessageSign') -call s:hi('NeomakeWarningSign', s:sblue) -call s:hi('NeomakeErrorSign', s:yellow) -call s:hi('NeomakeInfoSign') -call s:hi('NeomakeError', s:yellow) -call s:hi('NeomakeInfo', s:default_fg, s:default_bg, s:bold) -call s:hi('NeomakeMessage') -call s:hi('NeomakeWarning', s:yellow) - -" vi: sw=4 ts=4 noet tw=80 cc=80 diff --git a/colors/vacme.vim b/colors/vacme.vim deleted file mode 100644 index 3992a73..0000000 --- a/colors/vacme.vim +++ /dev/null @@ -1,230 +0,0 @@ -hi clear -syntax reset -let g:colors_name = "vacme" - -" This scheme is based on Acme & Plan9. -" In keeping with Acme, it doesn't do syntax highlighting. -" Instead, colors are (almost) only used to define vim's interface. -" Made by Oliver Taylor <olivertaylor.net>. -" -" It requires your terminal theme to be set to matching colors. -" -" The general philosophy for terminal colors -" is that the 2 darkest shades are handled by your terminal -" (which can typically do true colors) -" and the lightest are handled in 256. - -" {{{ Define colors -" ********************************************************* - -" This is where the colors are defined -" 1 is the lightest value, 3 or 4 are the darkest values - -" SHADES OF WHITE - let s:W1 = '#FFFFEC' - let s:W2 = '#EEEEA7' - let s:W3 = '#999957' - let s:W4 = '#424242' - let s:WC1 = '15' - let s:WC2 = '08' - let s:WC3 = '07' - let s:WC4 = '238' - -" SHADES OF RED - let s:R1 = '#F8E7E7' - let s:R2 = '#F2ACAA' - let s:R3 = '#B85C57' - let s:RC1 = '224' - let s:RC2 = '09' - let s:RC3 = '01' - -" SHADES OF GREEN - let s:G1 = '#EFFEEC' - let s:G2 = '#98CE8F' - let s:G3 = '#57864E' - let s:GC1 = '194' - let s:GC2 = '10' - let s:GC3 = '02' - -" SHADES OF YELLOW (which is really brown in this context) - let s:Y1 = '#EAEBDB' - let s:Y2 = '#B7B19C' - let s:Y3 = '#8F7634' - let s:YC1 = '187' - let s:YC2 = '11' - let s:YC3 = '03' - -" SHADES OF BLUE - let s:B1 = '#E2F1F8' - let s:B2 = '#A6DCF8' - let s:B3 = '#2A8DC5' - let s:BC1 = '195' - let s:BC2 = '12' - let s:BC3 = '04' - -" SHADES OF MAGENTA - let s:M2 = '#D0D0F7' - let s:M3 = '#8888C7' - let s:MC2 = '13' - let s:MC3 = '05' - -" SHADES OF CYAN - let s:C1 = '#EEFEFF' - let s:C2 = '#B0ECED' - let s:C3 = '#6AA7A8' - let s:CC1 = '195' - let s:CC2 = '14' - let s:CC3 = '06' - -" ACCENT COLORS - " DEEP BLUE: - let s:A1 = '#030093' - let s:AC1 = '18' - -" }}} -" {{{ Reset Highlight Groups -" ********************************************************* - -" These are the default syntax highlighting groups. -" If you don't reset them here they will inherit default values -" Even after 'hilight clear' - -hi! Comment term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! Constant term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! Special term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! Identifier term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! Statement term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! PreProc term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! Type term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! Underlined term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! Ignore term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! Error term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! Todo term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! NonText term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! Directory term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! ErrorMsg term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! IncSearch term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! Search term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! MoreMsg term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! ModeMsg term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! LineNr term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! CursorLineNr term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! Question term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! StatusLine term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! StatusLineNC term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! VertSplit term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! Title term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! Visual term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! VisualNOS term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! WarningMsg term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! WildMenu term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! Folded term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! FoldColumn term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! DiffAdd term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! DiffChange term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! DiffDelete term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! DiffText term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! SignColumn term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! Conceal term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! SpellBad term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! SpellCap term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! SpellRare term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! SpellLocal term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! Pmenu term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! PmenuSel term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! PmenuSbar term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! PmenuThumb term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! TabLine term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! TabLineSel term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! TabLineFill term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! CursorColumn term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! CursorLine term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! ColorColumn term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -hi! MatchParen term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE - -" }}} -" {{{ Interface Colors -" ********************************************************* - -exe "hi! Normal" ." guifg=".s:W4 ." ctermfg=".s:WC4 ." guibg=".s:W1 ." ctermbg=".s:WC1 -exe "hi! Visual" ." guifg=".s:W4 ." ctermfg=".s:WC4 ." guibg=".s:W2 ." ctermbg=".s:WC2 -exe "hi! NonText" ." guifg=".s:W3 ." ctermfg=".s:WC3 -exe "hi! StatusLine" ." guifg=".s:W4 ." ctermfg=".s:WC4 ." guibg=".s:C1 ." ctermbg=".s:CC1 ." cterm=bold,underline" ." gui=bold,underline" -exe "hi! StatusLineNC" ." guifg=".s:W4 ." ctermfg=".s:WC4 ." guibg=".s:C1 ." ctermbg=".s:CC1 -exe "hi! LineNr" ." guifg=".s:W3 ." ctermfg=".s:WC3 ." guibg=".s:Y1 ." ctermbg=".s:WC1 -exe "hi! CursorLineNr" ." guifg=".s:W1 ." ctermfg=".s:WC1 ." guibg=".s:M3 ." ctermbg=".s:MC3 -exe "hi! VertSplit" ." guifg=".s:W4 ." ctermfg=".s:WC4 ." guibg=".s:C1 ." ctermbg=".s:CC1 -exe "hi! Folded" ." guifg=".s:Y3 ." ctermfg=".s:YC3 -exe "hi! FoldColumn" ." guifg=".s:Y2 ." ctermfg=".s:YC2 ." guibg=".s:Y1 ." ctermbg=".s:YC1 -exe "hi! TabLineSel" ." guifg=".s:W1 ." ctermfg=".s:WC1 ." guibg=".s:M3 ." ctermbg=".s:MC3 - -exe "hi! Search" ." guifg=".s:W4 ." ctermfg=".s:WC4 ." guibg=".s:W2 ." ctermbg=".s:WC2 -exe "hi! IncSearch" ." guifg=".s:W1 ." ctermfg=".s:WC1 ." guibg=".s:M3 ." ctermbg=".s:MC3 - -exe "hi! WildMenu" ." guifg=".s:W1 ." ctermfg=".s:WC1 ." guibg=".s:M3 ." ctermbg=".s:MC3 -exe "hi! Pmenu" ." guifg=".s:G3 ." ctermfg=".s:GC3 ." guibg=".s:G1 ." ctermbg=".s:GC1 -exe "hi! PmenuSel" ." guifg=".s:W4 ." ctermfg=".s:WC4 ." guibg=".s:G2 ." ctermbg=".s:GC2 -exe "hi! PmenuSbar" ." guifg=".s:G1 ." ctermfg=".s:GC1 ." guibg=".s:G3 ." ctermbg=".s:GC3 -exe "hi! PmenuThumb" ." guifg=".s:G1 ." ctermfg=".s:GC1 ." guibg=".s:W4 ." ctermbg=".s:WC4 - -exe "hi! CursorColumn" ." guibg=".s:G1 ." ctermbg=".s:GC1 -exe "hi! CursorLine" ." guibg=".s:G1 ." ctermbg=".s:GC1 - -hi! link TabLine StatusLineNC -hi! link TabLineFill StatusLineNC -hi! link SignColumn LineNr - -" ColorColumn -" Cursor -" CursorIM - -" VisualNOS -" Conceal -" EndOfBuffer - -" DiffAdd -" DiffChange -" DiffDelete -" DiffText - -exe "hi! ErrorMsg" ." cterm=bold" -exe "hi! ModeMsg" ." cterm=bold" -exe "hi! MoreMsg" ." cterm=bold" -exe "hi! WarningMsg" ." cterm=bold" -exe "hi! Directory" ." cterm=bold" - -" }}} -" {{{ Syntax highlighting -" ********************************************************* - -" I know I said this colorscheme doesn't do syntax highlighting, I lied. - -exe "hi! Comment" ." cterm=bold" -exe "hi! Underlined" ." cterm=underline" ." gui=underline" -exe "hi! Title" ." cterm=bold" - -exe "hi! SpellBad" ." guifg=".s:R3 ." ctermfg=".s:RC3 ." cterm=underline" ." gui=underline" -exe "hi! SpellCap" ." cterm=underline" ." gui=underline" -exe "hi! SpellLocal" ." cterm=underline" ." gui=underline" -exe "hi! SpellRare" ." cterm=underline" ." gui=underline" - -exe "hi! htmlBold" ." cterm=bold" -exe "hi! htmlItalic" ." cterm=italic" ." gui=italic" - -exe "hi! Ignore" ." cterm=bold" -exe "hi! Error" ." guifg=".s:W1 ." ctermfg=".s:WC1 ." guibg=".s:R3 ." ctermbg=".s:RC3 -exe "hi! Todo" ." cterm=bold" - -exe "hi! Special" ." cterm=italic" -exe "hi! MatchParen" ." cterm=bold" -exe "hi! SpecialKey" ." cterm=bold" -exe "hi! Ignore" ." cterm=bold" -" exe "hi! String" ." cterm=italic" -exe "hi! todo" ." cterm=bold" -exe "hi! MatchParen" ." cterm=bold" - -exe "hi! helpHyperTextJump" ." cterm=bold" -exe "hi! helpHyperTextEntry" ." cterm=bold" - - -" }}} @@ -16,6 +16,7 @@ vim.cmd("let g:vimtex_view_method = \"zathura\"") -- Plugin manager require("lazy").setup({ + "sstallion/vim-wtf", "lervag/vimtex", "tpope/vim-fugitive", "jeffkreeftmeijer/vim-dim", |