diff --git a/home/neovim/colors/Blaaark.vim b/home/neovim/colors/Blaaark.vim deleted file mode 100644 index 683654f..0000000 --- a/home/neovim/colors/Blaaark.vim +++ /dev/null @@ -1,320 +0,0 @@ -" Name: Blaaark -" Description: Iosvkem + Monosvkem + procrastination -" Author: neutaaaaan -" Maintainer: neutaaaaan -" Website: github.com/neutaaaaan/blaaark -" License: Vim License (see `:help license`) -" Last Updated: Mon 22 Apr 2019 10:34:25 AM CEST - -if !(has('termguicolors') && &termguicolors) && !has('gui_running') - \ && (!exists('&t_Co') || &t_Co < 256) - echoerr '[Blaaark] There are not enough colors.' - finish -endif - -set background=dark - -hi clear -if exists('syntax_on') - syntax reset -endif - -let g:colors_name = 'Blaaark' - -if !has('gui_running') && get(g:, 'Blaaark_transp_bg', 0) - hi Normal ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE gui=NONE - hi Terminal ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE gui=NONE -else - hi Normal ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE - hi Terminal ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE -endif -hi ColorColumn ctermfg=NONE ctermbg=234 guifg=NONE guibg=#161819 guisp=NONE cterm=NONE gui=NONE -hi Conceal ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi Cursor ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse -hi CursorColumn ctermfg=NONE ctermbg=236 guifg=NONE guibg=#303030 guisp=NONE cterm=NONE gui=NONE -hi CursorLine ctermfg=NONE ctermbg=236 guifg=NONE guibg=#303030 guisp=NONE cterm=NONE gui=NONE -hi CursorLineNr ctermfg=39 ctermbg=234 guifg=#20bbfc guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE -hi DiffAdd ctermfg=34 ctermbg=234 guifg=#40bb40 guibg=#1b1d1e guisp=NONE cterm=NONE,reverse gui=NONE,reverse -hi DiffChange ctermfg=110 ctermbg=234 guifg=#80aacc guibg=#1b1d1e guisp=NONE cterm=NONE,reverse gui=NONE,reverse -hi DiffDelete ctermfg=167 ctermbg=234 guifg=#cc4040 guibg=#1b1d1e guisp=NONE cterm=NONE,reverse gui=NONE,reverse -hi DiffText ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE,reverse gui=NONE,reverse -hi Directory ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE -hi EndOfBuffer ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE -hi ErrorMsg ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE,reverse gui=NONE,reverse -hi FoldColumn ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#161819 guisp=NONE cterm=NONE gui=NONE -hi Folded ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE,italic gui=NONE,italic -hi IncSearch ctermfg=214 ctermbg=234 guifg=#fcbb20 guibg=#1b1d1e guisp=NONE cterm=NONE,reverse gui=NONE,standout -hi LineNr ctermfg=239 ctermbg=234 guifg=#505050 guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE -hi MatchParen ctermfg=199 ctermbg=234 guifg=#fc20bb guibg=#1b1d1e guisp=NONE cterm=NONE,bold gui=NONE,bold -hi ModeMsg ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE -hi MoreMsg ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE -hi NonText ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE -hi Pmenu ctermfg=253 ctermbg=236 guifg=#dddddd guibg=#303030 guisp=NONE cterm=NONE gui=NONE -hi PmenuSbar ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE -hi PmenuSel ctermfg=199 ctermbg=236 guifg=#fc20bb guibg=#303030 guisp=NONE cterm=NONE,bold gui=NONE,bold -hi PmenuThumb ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE -hi Question ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE -hi! link QuickFixLine Search -hi Search ctermfg=39 ctermbg=234 guifg=#20bbfc guibg=#1b1d1e guisp=NONE cterm=NONE,reverse gui=NONE,standout -hi SignColumn ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#161819 guisp=NONE cterm=NONE gui=NONE -hi SpecialKey ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE -hi SpellBad ctermfg=199 ctermbg=234 guifg=#fc20bb guibg=#1b1d1e guisp=NONE cterm=NONE,underline gui=NONE,underline -hi SpellCap ctermfg=39 ctermbg=234 guifg=#20bbfc guibg=#1b1d1e guisp=NONE cterm=NONE,underline gui=NONE,underline -hi SpellLocal ctermfg=129 ctermbg=234 guifg=#bb20fc guibg=#1b1d1e guisp=NONE cterm=NONE,underline gui=NONE,underline -hi SpellRare ctermfg=49 ctermbg=234 guifg=#20fcbb guibg=#1b1d1e guisp=NONE cterm=NONE,underline gui=NONE,underline -hi StatusLine ctermfg=253 ctermbg=236 guifg=#dddddd guibg=#303030 guisp=NONE cterm=NONE gui=NONE -hi StatusLineNC ctermfg=239 ctermbg=234 guifg=#505050 guibg=#161819 guisp=NONE cterm=NONE gui=NONE -hi! link StatusLineTerm StatusLine -hi! link StatusLineTermNC StatusLineNC -hi TabLine ctermfg=253 ctermbg=236 guifg=#dddddd guibg=#303030 guisp=NONE cterm=NONE gui=NONE -hi TabLineFill ctermfg=253 ctermbg=236 guifg=#dddddd guibg=#303030 guisp=NONE cterm=NONE gui=NONE -hi TabLineSel ctermfg=253 ctermbg=239 guifg=#dddddd guibg=#505050 guisp=NONE cterm=NONE gui=NONE -hi Title ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE -hi VertSplit ctermfg=239 ctermbg=234 guifg=#505050 guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE -hi Visual ctermfg=NONE ctermbg=236 guifg=NONE guibg=#303030 guisp=NONE cterm=NONE gui=NONE -hi VisualNOS ctermfg=NONE ctermbg=236 guifg=NONE guibg=#303030 guisp=NONE cterm=NONE gui=NONE -hi WarningMsg ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE -hi WildMenu ctermfg=39 ctermbg=236 guifg=#20bbfc guibg=#303030 guisp=NONE cterm=NONE gui=NONE -hi! link Boolean Constant -hi! link Character Constant -hi Comment ctermfg=59 ctermbg=NONE guifg=#606060 guibg=NONE guisp=NONE cterm=NONE,italic gui=NONE,italic -hi! link Conditional Statement -hi Constant ctermfg=42 ctermbg=NONE guifg=#11c98e guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi! link Define PreProc -hi! link Debug Special -hi! link Delimiter Special -hi Error ctermfg=203 ctermbg=234 guifg=#ff2040 guibg=#1b1d1e guisp=NONE cterm=NONE,bold,reverse gui=NONE,bold,standout -hi! link Exception Statement -hi! link Float Constant -hi! link Function Identifier -hi Identifier ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi Ignore ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi! link Include PreProc -hi! link Keyword Statement -hi! link Label Statement -hi! link Macro PreProc -hi! link Number Constant -hi! link Operator Statement -hi! link PreCondit PreProc -hi PreProc ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi! link Repeat Statement -hi Special ctermfg=161 ctermbg=NONE guifg=#d13a6f guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi! link SpecialChar Special -hi! link SpecialComment Special -hi Statement ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold -hi! link StorageClass Type -hi String ctermfg=67 ctermbg=NONE guifg=#5e90b7 guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi! link Structure Type -hi! link Tag Special -hi Todo ctermfg=49 ctermbg=NONE guifg=#20fcbb guibg=NONE guisp=NONE cterm=NONE,bold,reverse gui=NONE,bold,standout -hi Type ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi! link Typedef Type -hi Underlined ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,underline gui=NONE,underline -hi! link lCursor Cursor -hi CursorIM ctermfg=NONE ctermbg=fg guifg=NONE guibg=fg guisp=NONE cterm=NONE gui=NONE -hi ToolbarLine ctermfg=NONE ctermbg=234 guifg=NONE guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE -hi ToolbarButton ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE,bold gui=NONE,bold -hi markdownH1 ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold -hi markdownH2 ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold -hi markdownH3 ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold -hi markdownH4 ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold -hi markdownH5 ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold -hi markdownH6 ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold -hi markdownLinkTextDelimiter ctermfg=161 ctermbg=NONE guifg=#d13a6f guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi markdownLinkDelimiter ctermfg=161 ctermbg=NONE guifg=#d13a6f guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi markdownListMarker ctermfg=134 ctermbg=NONE guifg=#a76fcb guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold -hi markdownLinkText ctermfg=74 ctermbg=NONE guifg=#57aadd guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi markdownUrl ctermfg=239 ctermbg=NONE guifg=#505050 guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi markdownRule ctermfg=161 ctermbg=NONE guifg=#d13a6f guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold -hi markdownId ctermfg=42 ctermbg=NONE guifg=#11c98e guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi markdownIdDeclaration ctermfg=42 ctermbg=NONE guifg=#11c98e guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi markdownBold ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold -hi markdownItalic ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,italic gui=NONE,italic -hi markdownBoldItalic ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold,italic gui=NONE,bold,italic -hi markdownBoldDelimiter ctermfg=161 ctermbg=NONE guifg=#d13a6f guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi markdownItalicDelimiter ctermfg=161 ctermbg=NONE guifg=#d13a6f guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi markdownBoldItalicDelimiter ctermfg=161 ctermbg=NONE guifg=#d13a6f guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi rstSections ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold -hi rstEmphasis ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,italic gui=NONE,italic -hi rstStrongEmphasis ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold -hi rstInterpretedTextOrHyperlinkReference ctermfg=134 ctermbg=NONE guifg=#a76fcb guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi rstStandAloneHyperlink ctermfg=74 ctermbg=NONE guifg=#57aadd guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi rstHyperlinktarget ctermfg=74 ctermbg=NONE guifg=#57aadd guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi rstCitationReference ctermfg=42 ctermbg=NONE guifg=#11c98e guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi diffFile ctermfg=67 ctermbg=NONE guifg=#5e90b7 guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi diffAdded ctermfg=42 ctermbg=NONE guifg=#11c98e guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi diffRemoved ctermfg=161 ctermbg=NONE guifg=#d13a6f guibg=NONE guisp=NONE cterm=NONE gui=NONE -hi diffLine ctermfg=134 ctermbg=NONE guifg=#a76fcb guibg=NONE guisp=NONE cterm=NONE gui=NONE -let g:terminal_ansi_colors = [ - \ '#1b1d1e', - \ '#d13a6f', - \ '#11c98e', - \ '#d08928', - \ '#5e90b7', - \ '#a76fcb', - \ '#20aabb', - \ '#dddddd', - \ '#606060', - \ '#d13a6f', - \ '#11c98e', - \ '#d08928', - \ '#5e90b7', - \ '#a76fcb', - \ '#20aabb', - \ '#ffffff' - \ ] -if get(g:, "Blaaark_disable_italic", 0) - hi Comment cterm=NONE - hi Folded cterm=NONE - hi rstEmphasis cterm=NONE - hi markdownItalic cterm=NONE - hi markdownBoldItalic cterm=bold -endif -finish - -" Background: dark -" Color: black #1b1d1e ~ -" Color: greyblack #505050 ~ -" Color: brightblack #606060 ~ -" Color: white #dddddd ~ -" Color: brightwhite #ffffff ~ -" Color: red #d13a6f ~ -" Color: green #11c98e ~ -" Color: yellow #d08928 ~ -" Color: blue #57aadd ~ -" Color: purple #a76fcb ~ -" Color: greyblue #5e90b7 ~ -" Color: teal #20aabb ~ -" Color: diffred #cc4040 ~ -" Color: diffgreen #40bb40 ~ -" Color: diffblue #80aacc ~ -" Color: uipink #fc20bb ~ -" Color: uilime #bbfc20 ~ -" Color: uiteal #20fcbb ~ -" Color: uiblue #20bbfc ~ -" Color: uipurple #bb20fc ~ -" Color: uiamber #fcbb20 ~ -" Color: uiblack #303030 ~ -" Color: unnecessarilyblack #161819 ~ -" Color: errorred #ff2040 ~ -" Normal white none -" Terminal white none -" Normal white black -" Terminal white black -" ColorColumn none unnecessarilyblack -" Conceal none none -" Cursor none none reverse -" CursorColumn none uiblack -" CursorLine none uiblack -" CursorLineNr uiblue black -" DiffAdd diffgreen black reverse -" DiffChange diffblue black reverse -" DiffDelete diffred black reverse -" DiffText white black reverse -" Directory white black -" EndOfBuffer white black -" ErrorMsg white black reverse -" FoldColumn white unnecessarilyblack -" Folded white black italic -" IncSearch uiamber black t=reverse g=standout -" LineNr greyblack black -" MatchParen uipink black t=bold g=bold -" ModeMsg white black -" MoreMsg white black -" NonText white black -" Pmenu white uiblack -" PmenuSbar white black -" PmenuSel uipink uiblack t=bold g=bold -" PmenuThumb white black -" Question white black -" QuickFixLine -> Search -" Search uiblue black t=reverse g=standout -" SignColumn white unnecessarilyblack -" SpecialKey white black -" SpellBad uipink black term=underline g=underline -" SpellCap uiblue black term=underline g=underline -" SpellLocal uipurple black term=underline g=underline -" SpellRare uiteal black term=underline g=underline -" StatusLine white uiblack -" StatusLineNC greyblack unnecessarilyblack -" StatusLineTerm -> StatusLine -" StatusLineTermNC -> StatusLineNC -" TabLine white uiblack -" TabLineFill white uiblack -" TabLineSel white greyblack -" Title white black -" VertSplit greyblack black -" Visual none uiblack -" VisualNOS none uiblack -" WarningMsg white black -" WildMenu uiblue uiblack -" Boolean -> Constant -" Character -> Constant -" Comment brightblack none t=italic g=italic -" Conditional -> Statement -" Constant green none -" Define -> PreProc -" Debug -> Special -" Delimiter -> Special -" Error errorred black t=reverse,bold g=standout,bold -" Exception -> Statement -" Float -> Constant -" Function -> Identifier -" Identifier white none -" Ignore white none -" Include -> PreProc -" Keyword -> Statement -" Label -> Statement -" Macro -> PreProc -" Number -> Constant -" Operator -> Statement -" PreCondit -> PreProc -" PreProc white none -" Repeat -> Statement -" Special red none -" SpecialChar -> Special -" SpecialComment -> Special -" Statement white none t=bold g=bold -" StorageClass -> Type -" String greyblue none -" Structure -> Type -" Tag -> Special -" Todo uiteal none t=reverse,bold g=standout,bold -" Type white none -" Typedef -> Type -" Underlined white none t=underline g=underline -" lCursor -> Cursor -" CursorIM none fg -" ToolbarLine none black -" ToolbarButton white black bold -" markdownH1 white none t=bold g=bold -" markdownH2 white none t=bold g=bold -" markdownH3 white none t=bold g=bold -" markdownH4 white none t=bold g=bold -" markdownH5 white none t=bold g=bold -" markdownH6 white none t=bold g=bold -" markdownLinkTextDelimiter red none -" markdownLinkDelimiter red none -" markdownListMarker purple none t=bold g=bold -" markdownLinkText blue none -" markdownUrl greyblack none -" markdownRule red none t=bold g=bold -" markdownId green none -" markdownIdDeclaration green none -" markdownBold white none t=bold g=bold -" markdownItalic white none t=italic g=italic -" markdownBoldItalic white none t=bold,italic g=bold,italic -" markdownBoldDelimiter red none -" markdownItalicDelimiter red none -" markdownBoldItalicDelimiter red none -" rstSections white none t=bold g=bold -" rstEmphasis white none t=italic g=italic -" rstStrongEmphasis white none t=bold g=bold -" rstInterpretedTextOrHyperlinkReference purple none -" rstStandAloneHyperlink blue none -" rstHyperlinktarget blue none -" rstCitationReference green none -" diffFile greyblue none -" diffAdded green none -" diffRemoved red none -" diffLine purple none diff --git a/home/neovim/colors/hashpunk-lapis.vim b/home/neovim/colors/hashpunk-lapis.vim deleted file mode 100644 index 3873bd7..0000000 --- a/home/neovim/colors/hashpunk-lapis.vim +++ /dev/null @@ -1,191 +0,0 @@ -" Name: hashpunk -" Author: abnt713 -" Maintainer: abnt713 -" License: MIT - -highlight clear - -if exists('syntax_on') - syntax reset -endif - -let g:colors_name = 'hashpunk-lapis' -set background=dark - -" Dark Meadow Legacy -let s:clear = ['NONE', 'NONE' ] -let s:DarkMagenta = ['90' , '#870087'] -let s:Purple4 = ['55' , '#5f00af'] -let s:SkyBlue1 = ['117' , '#87afff'] -let s:Magenta2 = ['165' , '#d700ff'] -let s:MediumOrchid1 = ['207' , '#ff5faf'] - -" Hashpunk -let s:MainColor = ['110', '#875fff'] -let s:ComplementaryColor = ['111', '#8787ff'] - -let s:Grey0 = ['16', '#000000'] -let s:Grey7 = ['233', '#121212'] -let s:Grey15 = ['235', '#262626'] -let s:Grey19 = ['236', '#303030'] -let s:Grey42 = ['242', '#6c6c6c'] -let s:Grey54 = ['245', '#505050'] -let s:Grey66 = ['248', '#a8a8a8'] -let s:Grey74 = ['250', '#bcbcbc'] -let s:Grey93 = ['255', '#eeeeee'] - -" Text style -let s:italic = 'italic' -let s:bold = 'bold' -let s:underline = 'underline' -let s:none = 'NONE' - -" Helper function to set up highlight executions -function! s:highlight(group, fg, bg, style) - exec "highlight " . a:group - \ . " ctermfg=" . a:fg[0] - \ . " ctermbg=" . a:bg[0] - \ . " cterm=" . a:style - \ . " guifg=" . a:fg[1] - \ . " guibg=" . a:bg[1] - \ . " gui=" . a:style -endfunction - -" Syntax highlighting groups -" -" For reference on what each group does, please refer to this: -" vimdoc.sourceforge.net/htmldoc/syntax.html -" -call s:highlight('Comment', s:Grey42, s:clear, s:italic) -call s:highlight('Constant', s:MainColor, s:clear, s:none) -call s:highlight('String', s:Grey93, s:clear, s:none) -call s:highlight('Character', s:Grey93, s:clear, s:none) -call s:highlight('Number', s:Grey93, s:clear, s:none) -call s:highlight('Boolean', s:ComplementaryColor, s:clear, s:none) -call s:highlight('Float', s:MainColor, s:clear, s:none) - -call s:highlight('Identifier', s:MainColor, s:clear, s:none) -call s:highlight('Function', s:MainColor, s:clear, s:none) - -call s:highlight('Statement', s:MainColor, s:clear, s:bold) -call s:highlight('Conditional', s:MainColor, s:clear, s:bold) -call s:highlight('Repeat', s:MainColor, s:clear, s:bold) -call s:highlight('Label', s:MainColor, s:clear, s:bold) -call s:highlight('Operator', s:MainColor, s:clear, s:none) -call s:highlight('Keyword', s:MainColor, s:clear, s:none) -call s:highlight('Exception', s:MainColor, s:clear, s:italic) - -call s:highlight('PreProc', s:Grey54, s:clear, s:italic) -call s:highlight('Include', s:Grey74, s:clear, s:italic) -call s:highlight('Define', s:Grey66, s:clear, s:italic) -call s:highlight('Macro', s:Grey66, s:clear, s:italic) -call s:highlight('PreCondit', s:MainColor, s:clear, s:italic) - -call s:highlight('Type', s:MainColor, s:clear, s:bold) -call s:highlight('StorageClass', s:MainColor, s:clear, s:bold) -call s:highlight('Structure', s:MainColor, s:clear, s:bold) -call s:highlight('Typedef', s:MainColor, s:clear, s:bold) - -call s:highlight('Special', s:Grey66, s:clear, s:none) -call s:highlight('SpecialChar', s:MainColor, s:clear, s:none) -call s:highlight('Delimiter', s:MainColor, s:clear, s:none) -call s:highlight('SpecialComment', s:Grey54, s:clear, s:none) -call s:highlight('Debug', s:MainColor, s:clear, s:none) -call s:highlight('Underlined', s:Grey54, s:clear, s:underline) -call s:highlight('Error', s:MainColor, s:clear, s:underline) -call s:highlight('Todo', s:MainColor, s:clear, s:none) - -call s:highlight('Directory', s:Grey93, s:clear, s:bold) -call s:highlight('CursorLine', s:MainColor, s:clear, s:bold) -call s:highlight('MatchParen', s:MainColor, s:Grey93, s:none) -call s:highlight('ColorColumn', s:MainColor, s:Grey15, s:none) - - -" Interface highlighting -call s:highlight('Normal', s:Grey93, s:Grey7, s:none) -call s:highlight('Visual', s:clear, s:Grey0, s:none) -call s:highlight('Cursor', s:clear, s:Grey0, s:none) -call s:highlight('iCursor', s:clear, s:Grey0, s:none) -call s:highlight('LineNr', s:Grey66, s:clear, s:none) -call s:highlight('NonText', s:Grey66, s:clear, s:none) -call s:highlight('CursorLineNr', s:Grey0, s:Grey7, s:none) -call s:highlight('VertSplit', s:Grey15, s:clear, s:none) - -" Pmenu -call s:highlight('Pmenu', s:Grey93, s:Grey19, s:none) -call s:highlight('PmenuSel', s:MainColor, s:Grey15, s:none) - -" Search -call s:highlight('Search', s:Grey93, s:MainColor, s:none) - -" GitDiff -call s:highlight('DiffAdd', s:MainColor, s:Grey93, s:none) -call s:highlight('DiffChange', s:Grey7, s:Grey93, s:none) -call s:highlight('DiffText', s:MainColor, s:Grey74, s:none) -call s:highlight('DiffDelete', s:Grey0, s:MainColor, s:none) - -" Git Gutter -call s:highlight('GitGutterAdd', s:Grey93, s:clear, s:none) -call s:highlight('GitGutterChange', s:Grey93, s:clear, s:none) -call s:highlight('GitGutterDelete', s:Grey93, s:clear, s:none) -call s:highlight('GitGutterChangeDelete', s:Grey93, s:clear, s:none) -call s:highlight('SignColumn', s:Grey93, s:clear, s:none) - - -" Java syntax highlighting -call s:highlight('javaParen', s:MainColor, s:clear, s:none) -call s:highlight('javaCommentTitle', s:Grey42, s:clear, s:none) -call s:highlight('javaDocParam', s:MainColor, s:clear, s:none) -call s:highlight('javaDocTags', s:Grey54, s:clear, s:none) -call s:highlight('javaScopeDecl', s:Grey54, s:clear, s:none) -call s:highlight('javaStorageClass', s:MainColor, s:clear, s:none) - - -" Python syntax highlighting -call s:highlight('pythonFunction', s:Grey93, s:clear, s:none) -call s:highlight('pythonBuiltin', s:Grey54, s:clear, s:italic) - - -" Vimscript syntax highlighting -call s:highlight('vimOption', s:Grey93, s:clear, s:none) - - -" NERDTree -call s:highlight('NERDTreeClosable', s:MainColor, s:clear, s:none) -call s:highlight('NERDTreeOpenable', s:MainColor, s:clear, s:none) - -" *NOTE* -" -" The following groups are plug specific and would require the following plugs -" from github in order for the groups to work. -" - -" Elm syntax highlighting -" Requires plug: ElmCast/Magenta2-vim -" -call s:highlight('Magenta2TypeDef', s:MediumOrchid1, s:clear, s:bold) -call s:highlight('Magenta2Alias', s:Grey66, s:clear, s:none) -call s:highlight('Magenta2TopLevelDecl', s:SkyBlue1, s:clear, s:bold) -call s:highlight('Magenta2Braces', s:DarkMagenta, s:clear, s:none) - - -" Elixir syntax highlighting -" Requires plug: elixir-editors/vim-elixir -" -call s:highlight('elixirAlias', s:Magenta2, s:clear, s:italic) -call s:highlight('elixirDefine', s:MediumOrchid1, s:clear, s:none) -call s:highlight('elixirBlockDefinition', s:MediumOrchid1, s:clear, s:none) -call s:highlight('elixirFunctionDeclaration', s:Grey66, s:clear, s:none) - - -" GOLang syntax highlighting -" Requires plug: fatih/vim-go -" -call s:highlight('goPackage', s:Magenta2, s:clear, s:italic) -call s:highlight('goImport', s:Purple4, s:clear, s:italic) - - -" Rust syntax highlighting -" Requires plug: rust-lang/rust.vim -" -call s:highlight('rustMacro', s:MediumOrchid1, s:clear, s:none) diff --git a/home/neovim/colors/monotonic.vim b/home/neovim/colors/monotonic.vim deleted file mode 100644 index 0f964a1..0000000 --- a/home/neovim/colors/monotonic.vim +++ /dev/null @@ -1,59 +0,0 @@ -" Vim color theme -" -" This file is generated, please check bin/generate.py. -" -" Name: monotonic -" Maintainer: Trey Cucco -" License: BSD - -hi clear -if exists('syntax_on') - syntax reset -endif - -let g:colors_name = 'monotonic' - -set background=dark -hi Normal ctermbg=234 ctermfg=252 cterm=None -hi Visual ctermbg=234 ctermfg=252 cterm=Reverse -hi Comment ctermbg=None ctermfg=244 cterm=None -hi Constant ctermbg=None ctermfg=None cterm=None -hi String ctermbg=None ctermfg=031 cterm=None -hi Character ctermbg=None ctermfg=031 cterm=None -hi Identifier ctermbg=None ctermfg=None cterm=None -hi Statement ctermbg=None ctermfg=254 cterm=Bold -hi PreProc ctermbg=None ctermfg=254 cterm=Bold -hi Type ctermbg=None ctermfg=254 cterm=Bold -hi Special ctermbg=None ctermfg=None cterm=None -hi Underlined ctermbg=None ctermfg=None cterm=Underline -hi Ignore ctermbg=None ctermfg=None cterm=None -hi Error ctermbg=160 ctermfg=None cterm=None -hi Todo ctermbg=226 ctermfg=234 cterm=None -hi ColorColumn ctermbg=235 ctermfg=252 cterm=None -hi Cursor ctermbg=None ctermfg=None cterm=Reverse -hi CursorLine ctermbg=235 ctermfg=None cterm=None -hi Directory ctermbg=234 ctermfg=252 cterm=Underline -hi ErrorMsg ctermbg=160 ctermfg=None cterm=None -hi VertSplit ctermbg=238 ctermfg=238 cterm=None -hi Folded ctermbg=None ctermfg=None cterm=None -hi FoldColumn ctermbg=None ctermfg=244 cterm=None -hi SignColumn ctermbg=None ctermfg=160 cterm=None -hi IncSearch ctermbg=039 ctermfg=234 cterm=None -hi LineNr ctermbg=None ctermfg=244 cterm=None -hi CursorLineNr ctermbg=None ctermfg=244 cterm=Bold -hi MatchParen ctermbg=None ctermfg=None cterm=Reverse -hi Pmenu ctermbg=235 ctermfg=039 cterm=None -hi PmenuSel ctermbg=235 ctermfg=039 cterm=Reverse -hi PmenuSbar ctermbg=235 ctermfg=235 cterm=None -hi PmenuThumb ctermbg=238 ctermfg=238 cterm=None -hi Search ctermbg=039 ctermfg=234 cterm=None -hi SpecialKey ctermbg=None ctermfg=039 cterm=None -hi SpellBad ctermbg=160 ctermfg=None cterm=None -hi SpellCap ctermbg=226 ctermfg=234 cterm=None -hi StatusLine ctermbg=238 ctermfg=015 cterm=Bold -hi StatusLineNC ctermbg=238 ctermfg=252 cterm=None -hi TabLine ctermbg=238 ctermfg=252 cterm=None -hi TabLineFill ctermbg=238 ctermfg=252 cterm=None -hi TabLineSel ctermbg=234 ctermfg=015 cterm=Bold -hi Title ctermbg=None ctermfg=None cterm=Bold -hi WarningMsg ctermbg=160 ctermfg=None cterm=None diff --git a/home/neovim/colors/nighted.vim b/home/neovim/colors/nighted.vim deleted file mode 100644 index e62d0b2..0000000 --- a/home/neovim/colors/nighted.vim +++ /dev/null @@ -1,82 +0,0 @@ -" Vim color scheme -" -" Name: nighted.vim -" Author: Takaaki Hirano -" Source: https://github.com/wolf-dog/nighted.vim - -set background=dark -highlight clear -if exists('syntax_on') - syntax reset -endif -let g:colors_name = 'nighted' - -" General colors -hi Normal ctermfg=251 ctermbg=234 cterm=none guifg=#c6c6c6 guibg=#1c1c1c gui=none -hi Visual ctermfg=none ctermbg=232 cterm=none guifg=NONE guibg=#121212 gui=none -hi Search ctermfg=234 ctermbg=75 cterm=none guifg=#1c1c1c guibg=#5fafff gui=none -hi IncSearch ctermfg=234 ctermbg=61 cterm=none guifg=#1c1c1c guibg=#5f5f5f gui=none -hi Folded ctermfg=147 ctermbg=232 cterm=none guifg=#afafff guibg=#121212 gui=none -hi StatusLine ctermfg=255 ctermbg=60 cterm=none guifg=#eeeeee guibg=#5f5f87 gui=none -hi StatusLineNC ctermfg=249 ctermbg=237 cterm=none guifg=#b2b2b2 guibg=#3a3a3a gui=none -hi TabLine ctermfg=253 ctermbg=239 cterm=none guifg=#dadada guibg=#4e4e4e gui=none -hi TabLineSel ctermfg=255 ctermbg=60 cterm=bold guifg=#eeeeee guibg=#5f5f87 gui=none -hi TabLineFill ctermfg=249 ctermbg=237 cterm=none guifg=#b2b2b2 guibg=#3a3a3a gui=none -hi VertSplit ctermfg=59 ctermbg=59 cterm=none guifg=#5f5f5f guibg=#5f5f5f gui=none -hi LineNr ctermfg=241 ctermbg=232 cterm=none guifg=#606060 guibg=#080808 gui=none -hi NonText ctermfg=236 ctermbg=none cterm=none guifg=#303030 guibg=NONE gui=none -hi ErrorMsg ctermfg=234 ctermbg=214 cterm=bold guifg=#1c1c1c guibg=#ffaf00 gui=bold -hi ModeMsg ctermfg=75 ctermbg=none cterm=bold guifg=#5fafff guibg=NONE gui=bold -hi WarningMsg ctermfg=214 ctermbg=none cterm=none guifg=#ffaf00 guibg=NONE gui=none -hi Title ctermfg=255 ctermbg=none cterm=bold guifg=#e0e0e0 guibg=NONE gui=bold -hi Cursor ctermfg=none ctermbg=214 cterm=none guifg=#1c1c1c guibg=#ffaf00 gui=none -hi CursorIM ctermfg=none ctermbg=214 cterm=none guifg=#1c1c1c guibg=#ffaf00 gui=none - -hi CursorLine ctermfg=none ctermbg=235 cterm=none guifg=NONE guibg=#262626 gui=none -hi CursorLineNr ctermfg=255 ctermbg=234 cterm=none guifg=#e0e0e0 guibg=#1c1c1c gui=none -hi ColorColumn ctermfg=none ctermbg=236 cterm=none guifg=NONE guibg=#303030 gui=none -hi MatchParen ctermfg=255 ctermbg=97 cterm=bold guifg=#e0e0e0 guibg=#875faf gui=bold -hi Pmenu ctermfg=255 ctermbg=60 cterm=none guifg=#e0e0e0 guibg=#5f5f87 gui=none -hi PmenuSel ctermfg=255 ctermbg=103 cterm=none guifg=#e0e0e0 guibg=#8787af gui=none -hi PmenuSbar ctermfg=none ctermbg=240 cterm=none guifg=NONE guibg=#585858 gui=none -hi PmenuThumb ctermfg=none ctermbg=110 cterm=none guifg=NONE guibg=#87afdf gui=none -hi WildMenu ctermfg=234 ctermbg=214 cterm=none guifg=#1c1c1c guibg=#ffaf00 gui=none -hi SpellBad ctermfg=255 ctermbg=161 cterm=undercurl guifg=#e0e0e0 guibg=#df005f gui=undercurl guisp=#e0e0e0 -hi SpellCap ctermfg=255 ctermbg=69 cterm=undercurl guifg=#e0e0e0 guibg=#5f87ff gui=undercurl guisp=#e0e0e0 -hi SpellRare ctermfg=255 ctermbg=61 cterm=undercurl guifg=#e0e0e0 guibg=#5f5faf gui=undercurl guisp=#e0e0e0 -hi SpellLocal ctermfg=255 ctermbg=59 cterm=undercurl guifg=#e0e0e0 guibg=#5f5f5f gui=undercurl guisp=#e0e0e0 - -" Diff highlighting -hi DiffAdd ctermfg=234 ctermbg=111 cterm=none guifg=#1c1c1c guibg=#87afff gui=none -hi DiffDelete ctermfg=234 ctermbg=68 cterm=none guifg=#1c1c1c guibg=#5f87df gui=none -hi DiffChange ctermfg=234 ctermbg=60 cterm=none guifg=#1c1c1c guibg=#5f5f87 gui=none -hi DiffText ctermfg=234 ctermbg=103 cterm=none guifg=#1c1c1c guibg=#8787af gui=none - -" Syntax highlighting -hi Comment ctermfg=59 ctermbg=none cterm=none guifg=#5f5f5f guibg=NONE gui=none -hi Constant ctermfg=60 ctermbg=none cterm=none guifg=#5f5f87 guibg=NONE gui=none -hi String ctermfg=147 ctermbg=none cterm=none guifg=#afafff guibg=NONE gui=none -hi Number ctermfg=153 ctermbg=none cterm=none guifg=#afdfff guibg=NONE gui=none -hi Identifier ctermfg=111 ctermbg=none cterm=none guifg=#87afff guibg=NONE gui=none -hi Function ctermfg=75 ctermbg=none cterm=none guifg=#5fafff guibg=NONE gui=none -hi Statement ctermfg=61 ctermbg=none cterm=none guifg=#5f5faf guibg=NONE gui=none -hi Keyword ctermfg=75 ctermbg=none cterm=none guifg=#5fafff guibg=NONE gui=none -hi PreProc ctermfg=153 ctermbg=none cterm=none guifg=#afdfff guibg=NONE gui=none -hi Type ctermfg=69 ctermbg=none cterm=none guifg=#5f87ff guibg=NONE gui=none -hi Special ctermfg=60 ctermbg=none cterm=bold guifg=#5f5f87 guibg=NONE gui=none -hi Underlined ctermfg=75 ctermbg=none cterm=underline guifg=#5fafff guibg=NONE gui=underline -hi Error ctermfg=234 ctermbg=161 cterm=bold guifg=#1c1c1c guibg=#df005f gui=none -hi Todo ctermfg=234 ctermbg=147 cterm=bold guifg=#1c1c1c guibg=#afafff gui=none - -" Links -hi! link Boolean Constant -hi! link SpecialChar Constant -hi! link Directory Identifier -hi! link Conceal Keyword -hi! link VisualNOS Visual -hi! link FoldColumn Folded -hi! link CursorColumn CursorLine -hi! link SpecialKey NonText -hi! link MoreMsg ModeMsg -hi! link Question Todo -hi! link SignColumn Normal diff --git a/home/neovim/colors/photon.vim b/home/neovim/colors/photon.vim deleted file mode 100644 index c5ec233..0000000 --- a/home/neovim/colors/photon.vim +++ /dev/null @@ -1,168 +0,0 @@ -" Name: photon.vim -" Author: Alex Vear -" Webpage: https://github.com/axvr/photon.vim -" Description: A minimal and elegant dark colour scheme for Vim. -" Licence: MIT (2019) - -hi clear - -if exists("syntax_on") - syntax reset -endif - -let colors_name = "photon" - -if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running") - hi Normal ctermbg=235 ctermfg=251 cterm=NONE guibg=#262626 guifg=#c6c6c6 gui=NONE - - set background=dark - - hi NonText ctermbg=bg ctermfg=237 cterm=NONE guibg=bg guifg=#3a3a3a gui=NONE - hi Comment ctermbg=bg ctermfg=241 cterm=NONE guibg=bg guifg=#626262 gui=NONE - hi Constant ctermbg=bg ctermfg=140 cterm=NONE guibg=bg guifg=#af87d7 gui=NONE - hi Identifier ctermbg=bg ctermfg=251 cterm=NONE guibg=bg guifg=#c6c6c6 gui=NONE - hi Statement ctermbg=bg ctermfg=243 cterm=NONE guibg=bg guifg=#767676 gui=NONE - hi Operator ctermbg=bg ctermfg=251 cterm=bold guibg=bg guifg=#c6c6c6 gui=bold - hi PreProc ctermbg=bg ctermfg=243 cterm=NONE guibg=bg guifg=#767676 gui=NONE - hi Type ctermbg=bg ctermfg=251 cterm=NONE guibg=bg guifg=#c6c6c6 gui=NONE - hi Special ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#767676 gui=NONE - hi Error ctermbg=NONE ctermfg=132 cterm=NONE guibg=NONE guifg=#af5f87 gui=NONE - hi Warning ctermbg=NONE ctermfg=136 cterm=NONE guibg=NONE guifg=#af8700 gui=NONE - hi ModeMsg ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#767676 gui=NONE - hi Todo ctermbg=NONE ctermfg=167 cterm=bold guibg=NONE guifg=#d75f5f gui=bold - hi Underlined ctermbg=NONE ctermfg=251 cterm=underline guibg=NONE guifg=#c6c6c6 gui=underline - hi StatusLine ctermbg=237 ctermfg=140 cterm=NONE guibg=#3a3a3a guifg=#af87d7 gui=NONE - hi StatusLineNC ctermbg=236 ctermfg=243 cterm=NONE guibg=#303030 guifg=#767676 gui=NONE - hi WildMenu ctermbg=236 ctermfg=167 cterm=NONE guibg=#303030 guifg=#d75f5f gui=NONE - hi VertSplit ctermbg=236 ctermfg=236 cterm=NONE guibg=#303030 guifg=#303030 gui=NONE - hi Title ctermbg=NONE ctermfg=243 cterm=bold guibg=NONE guifg=#767676 gui=bold - hi LineNr ctermbg=NONE ctermfg=241 cterm=NONE guibg=NONE guifg=#626262 gui=NONE - hi CursorLineNr ctermbg=236 ctermfg=140 cterm=NONE guibg=#303030 guifg=#af87d7 gui=NONE - hi Cursor ctermbg=140 ctermfg=251 cterm=NONE guibg=#af87d7 guifg=#c6c6c6 gui=NONE - hi CursorLine ctermbg=236 ctermfg=NONE cterm=NONE guibg=#303030 guifg=NONE gui=NONE - hi ColorColumn ctermbg=234 ctermfg=NONE cterm=NONE guibg=#1c1c1c guifg=NONE gui=NONE - hi SignColumn ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#767676 gui=NONE - hi Visual ctermbg=237 ctermfg=NONE cterm=NONE guibg=#3a3a3a guifg=NONE gui=NONE - hi VisualNOS ctermbg=238 ctermfg=NONE cterm=NONE guibg=#444444 guifg=NONE gui=NONE - hi Pmenu ctermbg=237 ctermfg=NONE cterm=NONE guibg=#3a3a3a guifg=NONE gui=NONE - hi PmenuSbar ctermbg=236 ctermfg=NONE cterm=NONE guibg=#303030 guifg=NONE gui=NONE - hi PmenuSel ctermbg=236 ctermfg=140 cterm=NONE guibg=#303030 guifg=#af87d7 gui=NONE - hi PmenuThumb ctermbg=167 ctermfg=NONE cterm=NONE guibg=#d75f5f guifg=NONE gui=NONE - hi FoldColumn ctermbg=NONE ctermfg=241 cterm=NONE guibg=NONE guifg=#626262 gui=NONE - hi Folded ctermbg=234 ctermfg=243 cterm=NONE guibg=#1c1c1c guifg=#767676 gui=NONE - hi SpecialKey ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#767676 gui=NONE - hi IncSearch ctermbg=167 ctermfg=235 cterm=NONE guibg=#d75f5f guifg=#262626 gui=NONE - hi Search ctermbg=140 ctermfg=235 cterm=NONE guibg=#af87d7 guifg=#262626 gui=NONE - hi Directory ctermbg=NONE ctermfg=140 cterm=NONE guibg=NONE guifg=#af87d7 gui=NONE - hi MatchParen ctermbg=NONE ctermfg=167 cterm=bold guibg=NONE guifg=#d75f5f gui=bold - hi SpellBad ctermbg=NONE ctermfg=132 cterm=underline guibg=NONE guifg=#af5f87 gui=underline - hi SpellCap ctermbg=NONE ctermfg=108 cterm=underline guibg=NONE guifg=#87af87 gui=underline - hi SpellLocal ctermbg=NONE ctermfg=68 cterm=underline guibg=NONE guifg=#5f87ff gui=underline - hi SpellRare ctermbg=NONE ctermfg=136 cterm=underline guibg=NONE guifg=#af8700 gui=underline - hi QuickFixLine ctermbg=234 ctermfg=NONE cterm=NONE guibg=#1c1c1c guifg=NONE gui=NONE - hi DiffAdd ctermbg=NONE ctermfg=108 cterm=NONE guibg=NONE guifg=#87af87 gui=NONE - hi DiffChange ctermbg=NONE ctermfg=136 cterm=NONE guibg=NONE guifg=#af8700 gui=NONE - hi DiffDelete ctermbg=NONE ctermfg=132 cterm=NONE guibg=NONE guifg=#af5f87 gui=NONE - hi DiffText ctermbg=NONE ctermfg=167 cterm=NONE guibg=NONE guifg=#d75f5f gui=NONE - -elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16 - set t_Co=16 - - hi Normal ctermbg=black ctermfg=white cterm=NONE - - set background=dark - - hi NonText ctermbg=bg ctermfg=darkgray cterm=NONE - hi Comment ctermbg=bg ctermfg=darkgray cterm=NONE - hi Constant ctermbg=bg ctermfg=darkmagenta cterm=NONE - hi Identifier ctermbg=bg ctermfg=white cterm=NONE - hi Statement ctermbg=bg ctermfg=darkgray cterm=NONE - hi Operator ctermbg=bg ctermfg=white cterm=bold - hi PreProc ctermbg=bg ctermfg=darkgray cterm=NONE - hi Type ctermbg=bg ctermfg=white cterm=NONE - hi Special ctermbg=NONE ctermfg=darkgray cterm=NONE - hi Error ctermbg=NONE ctermfg=darkred cterm=NONE - hi Warning ctermbg=NONE ctermfg=darkyellow cterm=NONE - hi ModeMsg ctermbg=NONE ctermfg=darkgray cterm=NONE - hi Todo ctermbg=NONE ctermfg=red cterm=bold - hi Underlined ctermbg=NONE ctermfg=white cterm=underline - hi StatusLine ctermbg=darkgray ctermfg=darkmagenta cterm=NONE - hi StatusLineNC ctermbg=darkgray ctermfg=darkgray cterm=NONE - hi WildMenu ctermbg=darkgray ctermfg=red cterm=NONE - hi VertSplit ctermbg=darkgray ctermfg=darkgray cterm=NONE - hi Title ctermbg=NONE ctermfg=darkgray cterm=bold - hi LineNr ctermbg=NONE ctermfg=darkgray cterm=NONE - hi CursorLineNr ctermbg=darkgray ctermfg=darkmagenta cterm=NONE - hi Cursor ctermbg=darkmagenta ctermfg=white cterm=NONE - hi CursorLine ctermbg=darkgray ctermfg=NONE cterm=NONE - hi ColorColumn ctermbg=black ctermfg=NONE cterm=NONE - hi SignColumn ctermbg=NONE ctermfg=darkgray cterm=NONE - hi Visual ctermbg=darkgray ctermfg=NONE cterm=NONE - hi VisualNOS ctermbg=darkgray ctermfg=NONE cterm=NONE - hi Pmenu ctermbg=darkgray ctermfg=NONE cterm=NONE - hi PmenuSbar ctermbg=darkgray ctermfg=NONE cterm=NONE - hi PmenuSel ctermbg=darkgray ctermfg=darkmagenta cterm=NONE - hi PmenuThumb ctermbg=red ctermfg=NONE cterm=NONE - hi FoldColumn ctermbg=NONE ctermfg=darkgray cterm=NONE - hi Folded ctermbg=black ctermfg=darkgray cterm=NONE - hi SpecialKey ctermbg=NONE ctermfg=darkgray cterm=NONE - hi IncSearch ctermbg=red ctermfg=black cterm=NONE - hi Search ctermbg=darkmagenta ctermfg=black cterm=NONE - hi Directory ctermbg=NONE ctermfg=darkmagenta cterm=NONE - hi MatchParen ctermbg=NONE ctermfg=red cterm=bold - hi SpellBad ctermbg=NONE ctermfg=darkred cterm=underline - hi SpellCap ctermbg=NONE ctermfg=darkgreen cterm=underline - hi SpellLocal ctermbg=NONE ctermfg=blue cterm=underline - hi SpellRare ctermbg=NONE ctermfg=darkyellow cterm=underline - hi QuickFixLine ctermbg=black ctermfg=NONE cterm=NONE - hi DiffAdd ctermbg=NONE ctermfg=darkgreen cterm=NONE - hi DiffChange ctermbg=NONE ctermfg=darkyellow cterm=NONE - hi DiffDelete ctermbg=NONE ctermfg=darkred cterm=NONE - hi DiffText ctermbg=NONE ctermfg=red cterm=NONE -endif - -let links = [ - \ ['Character', 'Constant'], - \ ['Number', 'Constant'], - \ ['Float', 'Number'], - \ ['Boolean', 'Constant'], - \ ['String', 'Constant'], - \ ['Function', 'Identifier'], - \ ['Conditonal', 'Statement'], - \ ['Repeat', 'Statement'], - \ ['Label', 'Statement'], - \ ['Keyword', 'Statement'], - \ ['Exception', 'Statement'], - \ ['Include', 'PreProc'], - \ ['Define', 'PreProc'], - \ ['Macro', 'PreProc'], - \ ['PreCondit', 'PreProc'], - \ ['StorageClass', 'Type'], - \ ['Structure', 'Type'], - \ ['Typedef', 'Type'], - \ ['SpecialChar', 'Special'], - \ ['Tag', 'Special'], - \ ['Delimiter', 'Special'], - \ ['SpecialComment', 'Special'], - \ ['Debug', 'Special'], - \ ['ErrorMsg', 'Error'], - \ ['WarningMsg', 'Warning'], - \ ['MoreMsg', 'ModeMsg'], - \ ['Question', 'ModeMsg'], - \ ['Ignore', 'NonText'], - \ ['StatusLineTerm', 'StatusLine'], - \ ['StatusLineTermNC', 'StatusLineNC'], - \ ['TabLine', 'StatusLineNC'], - \ ['TabLineFill', 'StatusLineNC'], - \ ['TabLineSel', 'StatusLine'], - \ ['CursorColumn', 'CursorLine'], - \ ['diffAdded', 'DiffAdd'], - \ ['diffRemoved', 'DiffDelete'], - \ ] - -augroup photon - autocmd! - autocmd ColorScheme * if expand("") == "photon" | for link in links | execute 'hi! link' link[0] link[1] | endfor | else | for link in links | execute 'hi link' link[0] 'NONE' | endfor | endif -augroup END - -" Generated with RNB (https://gist.github.com/romainl/5cd2f4ec222805f49eca) diff --git a/home/neovim/colors/spartan.vim b/home/neovim/colors/spartan.vim deleted file mode 100644 index 65f33e9..0000000 --- a/home/neovim/colors/spartan.vim +++ /dev/null @@ -1,245 +0,0 @@ -set background=dark -highlight clear -if exists("syntax_on") - syntax reset -endif -let g:colors_name="spartan" - -" System colors -" 0 1 2 3 4 5 6 7 -" 8 9 10 11 12 13 14 15 -" -" 6x6x6 color cube -" 16 17 18 19 20 21 | 88 89 90 91 92 93 | 160 161 162 163 164 165 -" 22 23 24 25 26 27 | 94 95 96 97 98 99 | 166 167 168 169 170 171 -" 28 29 30 31 32 33 | 100 101 102 103 104 105 | 172 173 174 175 176 177 -" 34 35 36 37 38 39 | 106 107 108 109 110 111 | 178 179 180 181 182 183 -" 40 41 42 43 44 45 | 112 113 114 115 116 117 | 184 185 186 187 188 189 -" 46 47 48 49 50 51 | 118 119 120 121 122 123 | 190 191 192 193 194 195 -" 82 83 84 85 86 87 | 154 155 156 157 158 159 | 226 227 228 229 230 231 -" 76 77 78 79 80 81 | 148 149 150 151 152 153 | 220 221 222 223 224 225 -" 70 71 72 73 74 75 | 142 143 144 145 146 147 | 214 215 216 217 218 219 -" 64 65 66 67 68 69 | 136 137 138 139 140 141 | 208 209 210 211 212 213 -" 58 59 60 61 62 63 | 130 131 132 133 134 135 | 202 203 204 205 206 207 -" 52 53 54 55 56 57 | 124 125 126 127 128 129 | 196 197 198 199 200 201 -" -" -" Grayscale -" 232 233 234 235 236 237 238 239 240 241 242 243 -" 244 245 246 247 248 249 250 251 252 253 254 255 256 - -" Color palette -" 234 245 239 236 66 58 255 29 88 101 -let defaultBackground = 234 -let defaultForeground = 245 -let gray = 239 -let smoke = 236 -let persian = 66 -let messenger = 101 " 58 60 95 -let white = 255 -let arcadian = 29 -let leonidas = 88 -let dilios = 58 - -let s:colormap={255: '#EEEEEE', 234: '#1c1c1c', 239: '#4e4e4e', 245: '#8a8a8a', 236: '#303030', 66: '#5F8787', 101: '#87875F', 29: '#00875F', 88: '#870000', 58: '#5F5F00', 'none': 'NONE'} - -function! s:HL(item, fgColor, bgColor, style) - execute 'hi ' . a:item . ' ctermfg=' . a:fgColor . ' ctermbg=' . a:bgColor . ' guifg= ' . s:colormap[a:fgColor] . ' guibg= ' . s:colormap[a:bgColor] . ' cterm=' . a:style -endfunction - -call s:HL('Normal', defaultForeground, defaultBackground, 'none') " Normal text -call s:HL('Cursor', defaultBackground, defaultForeground, 'none') " The character under the cursor -call s:HL('CursorLine', 'none', smoke, 'none') " Line the cursor is on when 'cursorcolumn' set used in quickfix / unite -call s:HL('CursorColumn', 'none', smoke, 'none') " The screen column that the cursor is in when 'cursorcolumn' is set -call s:HL('SignColumn', persian, smoke, 'none') " The gutter where signs are displayed -call s:HL('Folded', defaultForeground, smoke, 'none') " The coloring used for folded lines -call s:HL('VertSplit', smoke, smoke, 'none') " The column separating vertically split windows -call s:HL('Search', white, 'none', 'bold') " The highlighting for the last search pattern -call s:HL('IncSearch', smoke, arcadian, 'underline') " The highlighting for in criminal searching and for find and replace -call s:HL('StatusLine', smoke, messenger, 'reverse') " The status line of the current window -call s:HL('StatusLineNC', smoke, defaultForeground, 'reverse') " The status line of the noncurrent windows -call s:HL('WildMenu', smoke, arcadian, 'none') " The current match in wildmenu completion -call s:HL('MatchParen', 'none', gray, 'none') " The opening or closing sibling of the currently highlighted bracket -call s:HL('Visual', defaultBackground, gray, 'none') " The visual mode selection -call s:HL('NonText', smoke, 'none', 'none') " For characters that did not really exist in the text -call s:HL('Todo', smoke, defaultBackground, 'bold') " Keywords like; TODO, FIXME, XXX -call s:HL('Underlined', persian, 'none', 'underline') " HTML anchor tag -call s:HL('Error', white, leonidas, 'none') " Error highlighting -call s:HL('ErrorMsg', white, leonidas, 'none') " Error messages on the command line -call s:HL('WarningMsg', leonidas, 'none', 'none') " Warning message used in status line -call s:HL('SpecialKey', smoke, 'none', 'none') " More for non- printable text tabs and such -call s:HL('LineNr', dilios, 'none', 'none') " Line number used in quick fix window - -" :help group-name -call s:HL('Consmessengert', 'none', 'none', 'none') -call s:HL('String', messenger, 'none', 'none') -call s:HL('Character', 'none', 'none', 'none') -call s:HL('Number', 'none', 'none', 'none') -call s:HL('Boolean', 'none', 'none', 'none') -call s:HL('Float', 'none', 'none', 'none') -call s:HL('Identifier', 'none', 'none', 'none') -call s:HL('Function', 'none', 'none', 'none') -call s:HL('Statement', 'none', 'none', 'none') -call s:HL('Conditional', 'none', 'none', 'none') -call s:HL('Repeat', 'none', 'none', 'none') -call s:HL('Label', 'none', 'none', 'none') -call s:HL('Operator', 'none', 'none', 'none') -call s:HL('Keyword', 'none', 'none', 'none') -call s:HL('Exception', 'none', 'none', 'none') -call s:HL('Special', 'none', 'none', 'none') -call s:HL('SpecialChar', 'none', 'none', 'none') -call s:HL('Tag', 'none', 'none', 'none') -call s:HL('Delimiter', 'none', 'none', 'none') -call s:HL('SpecialComment', 'none', 'none', 'none') -call s:HL('Debug', 'none', 'none', 'none') -call s:HL('Directory', persian, 'none', 'none') -call s:HL('Comment', gray, 'none', 'none') -call s:HL('PreProc', persian, 'none', 'none') -call s:HL('Constant', persian, 'none', 'none') -call s:HL('Type', defaultForeground, 'none', 'none') - -" Placeholder characters substituted for concealed text -call s:HL('Conceal', defaultForeground, gray, 'none') - -" Highlighting for VimDiff -call s:HL('DiffAdd', persian, smoke, 'bold') -call s:HL('DiffChange', 'none', smoke, 'none') -call s:HL('DiffDelete', smoke, gray, 'none') -call s:HL('DiffText', leonidas, smoke, 'bold') - -" Popup menu styles -call s:HL('Pmenu', defaultForeground, smoke, 'none') -call s:HL('PmenuSel', defaultForeground, smoke, 'reverse') -call s:HL('PmenuSbar', defaultForeground, 'none', 'none') -call s:HL('PmenuThumb', leonidas, 'none', 'none') - -" Spelling -call s:HL('SpellBad', white, leonidas, 'underline') -call s:HL('SpellCap', persian, smoke, 'underline') -call s:HL('SpellLocal', persian, smoke, 'underline') -call s:HL('SpellRare', persian, smoke, 'underline') - -" Python specific highlighting -call s:HL('pythonStatement', defaultForeground, defaultBackground, 'none') -call s:HL('pythonFunction', defaultForeground, defaultBackground, 'none') -call s:HL('pythonConditional', defaultForeground, defaultBackground, 'none') -call s:HL('pythonRepeat', defaultForeground, defaultBackground, 'none') -call s:HL('pythonException', defaultForeground, defaultBackground, 'none') -call s:HL('pythonInclude', defaultForeground, defaultBackground, 'none') -call s:HL('pythonPreCondit', defaultForeground, defaultBackground, 'none') -call s:HL('pythonExClass', defaultForeground, defaultBackground, 'none') -call s:HL('pythonDecorator', defaultForeground, defaultBackground, 'none') - -" Javascript specific highlighting -call s:HL('jsFunction', defaultForeground, defaultBackground, 'none') -call s:HL('jsFuncCall', defaultForeground, defaultBackground, 'none') -call s:HL('jsConditional', defaultForeground, defaultBackground, 'none') -call s:HL('jsRepeat', defaultForeground, defaultBackground, 'none') -call s:HL('jsNumber', defaultForeground, defaultBackground, 'none') -call s:HL('jsMember', defaultForeground, defaultBackground, 'none') -call s:HL('jsModules', defaultForeground, defaultBackground, 'none') -call s:HL('jsModuleWords', defaultForeground, defaultBackground, 'none') - -" Html specific highlighting -call s:HL('htmlTag', defaultForeground, defaultBackground, 'none') -call s:HL('htmlTagName', defaultForeground, defaultBackground, 'none') -call s:HL('htmlArg', defaultForeground, defaultBackground, 'none') -call s:HL('htmlScriptTag', defaultForeground, defaultBackground, 'none') -call s:HL('htmlH', defaultForeground, defaultBackground, 'none') -call s:HL('htmlH1', defaultForeground, defaultBackground, 'none') -call s:HL('htmlH2', defaultForeground, defaultBackground, 'none') -call s:HL('htmlH3', defaultForeground, defaultBackground, 'none') -call s:HL('htmlH4', defaultForeground, defaultBackground, 'none') -call s:HL('htmlHead', defaultForeground, defaultBackground, 'none') -call s:HL('htmlTitle', defaultForeground, defaultBackground, 'none') - -" CSS specific highlighting -call s:HL('cssDefinition', defaultForeground, defaultBackground, 'none') -call s:HL('cssAttrRegion', defaultForeground, defaultBackground, 'none') -call s:HL('cssCommonAttr', defaultForeground, defaultBackground, 'none') -call s:HL('cssAttr', defaultForeground, defaultBackground, 'none') -call s:HL('lessDefinition', defaultForeground, defaultBackground, 'none') -call s:HL('lessNestedSelector', defaultForeground, defaultBackground, 'none') -call s:HL('lessClass', defaultForeground, defaultBackground, 'none') -call s:HL('cssPseudoClass', defaultForeground, defaultBackground, 'none') -call s:HL('cssPseudoClassId', defaultForeground, defaultBackground, 'none') -call s:HL('cssColor', defaultForeground, defaultBackground, 'none') -call s:HL('lessVariableValue', defaultForeground, defaultBackground, 'none') -call s:HL('cssInclude', defaultForeground, defaultBackground, 'none') -call s:HL('cssIncludeKeyword', defaultForeground, defaultBackground, 'none') -call s:HL('cssVendor', defaultForeground, defaultBackground, 'none') - -" Clojure specific highlighting -call s:HL('clojureConsmessengert', defaultForeground, defaultBackground, 'none') -call s:HL('clojureBoolean', defaultForeground, defaultBackground, 'none') -call s:HL('clojureCharacter', defaultForeground, defaultBackground, 'none') -call s:HL('clojureKeyword', defaultForeground, defaultBackground, 'none') -call s:HL('clojureNumber', defaultForeground, defaultBackground, 'none') -call s:HL('clojureString', messenger, defaultBackground, 'none') -call s:HL('clojureRegexp', messenger, defaultBackground, 'none') -call s:HL('clojureParen', defaultForeground, defaultBackground, 'none') -call s:HL('clojureVariable', defaultForeground, defaultBackground, 'none') -call s:HL('clojureCond', defaultForeground, defaultBackground, 'none') -call s:HL('clojuleonidasefine', defaultForeground, defaultBackground, 'none') -call s:HL('clojureException', defaultForeground, defaultBackground, 'none') -call s:HL('clojureFunc', defaultForeground, defaultBackground, 'none') -call s:HL('clojureMacro', defaultForeground, defaultBackground, 'none') -call s:HL('clojureRepeat', defaultForeground, defaultBackground, 'none') -call s:HL('clojureSpecial', defaultForeground, defaultBackground, 'none') -call s:HL('clojureQuote', defaultForeground, defaultBackground, 'none') -call s:HL('clojureUnquote', defaultForeground, defaultBackground, 'none') -call s:HL('clojureMeta', defaultForeground, defaultBackground, 'none') -call s:HL('clojuleonidaseref', defaultForeground, defaultBackground, 'none') -call s:HL('clojureAnonArg', defaultForeground, defaultBackground, 'none') -call s:HL('clojuleonidasispatch', defaultForeground, defaultBackground, 'none') -call s:HL('clojureConstant', defaultForeground, defaultBackground, 'none') -call s:HL('clojureDefine', defaultForeground, defaultBackground, 'none') - -" Ruby specific highlighting -call s:HL('rubyClass', defaultForeground, defaultBackground, 'none') -call s:HL('rubyKeyword', defaultForeground, defaultBackground, 'none') -call s:HL('rubyOperator', defaultForeground, defaultBackground, 'none') -call s:HL('rubyDefine', defaultForeground, defaultBackground, 'none') -call s:HL('rubyIdentifier', defaultForeground, defaultBackground, 'none') -call s:HL('rubyInclude', defaultForeground, defaultBackground, 'none') -call s:HL('rubySymbol', defaultForeground, defaultBackground, 'none') -call s:HL('rubyKeyword', defaultForeground, defaultBackground, 'none') - -" SQL specific highlighting -call s:HL('sqlKeyword', defaultForeground, defaultBackground, 'none') -call s:HL('sqlFunction', defaultForeground, defaultBackground, 'none') -call s:HL('sqlStatement', defaultForeground, defaultBackground, 'none') -call s:HL('sqlSpecial', defaultForeground, defaultBackground, 'none') - -" Bash specific highlighting -call s:HL('shIf', defaultForeground, defaultBackground, 'none') -call s:HL('shDerefSimple', defaultForeground, defaultBackground, 'none') -call s:HL('shDeref', defaultForeground, defaultBackground, 'none') -call s:HL('zshDeref', defaultForeground, defaultBackground, 'none') -call s:HL('shShellVariables', defaultForeground, defaultBackground, 'none') -call s:HL('zshString', defaultForeground, defaultBackground, 'none') -call s:HL('zshSubst', defaultForeground, defaultBackground, 'none') -call s:HL('zshSubstDelim', defaultForeground, defaultBackground, 'none') - - -" Used for wiki plugin -call s:HL('WikiLink', persian, 'none', 'underline') -call s:HL('markdownLinkText', leonidas, 'none', 'underline') - -" Markdown -call s:HL('markdownH1', persian, 'none', 'none') -call s:HL('markdownH2', persian, 'none', 'none') -call s:HL('markdownH3', persian, 'none', 'none') -call s:HL('markdownH4', persian, 'none', 'none') -call s:HL('markdownH5', persian, 'none', 'none') -call s:HL('markdownH6', persian, 'none', 'none') - -" Vimfiler -call s:HL('vimfilerOpenedFile', persian, 'none', 'none') -call s:HL('vimfilerClosedFile', persian, 'none', 'none') -call s:HL('uniteExrenameModified', defaultForeground, defaultBackground, 'none') - -" Sneak plugin specific highlighting -call s:HL('SneakPluginTarget', persian, defaultBackground, 'underline') -call s:HL('SneakStreakTarget', smoke, persian, 'none') -call s:HL('SneakStreakMask', persian, persian, 'none') diff --git a/home/neovim/config/ale.vim b/home/neovim/config/ale.vim deleted file mode 100644 index 117381d..0000000 --- a/home/neovim/config/ale.vim +++ /dev/null @@ -1,7 +0,0 @@ -let g:ale_linters = { - \ 'javascript': ['eslint', 'jshint', 'standard', 'tsserver'], - \} - -let g:ale_set_ballons=1 -let g:ale_floating_preview=1 -let g:ale_hover_to_floating_preview=1 diff --git a/home/neovim/config/aliases.vim b/home/neovim/config/aliases.vim deleted file mode 100644 index 5196bda..0000000 --- a/home/neovim/config/aliases.vim +++ /dev/null @@ -1,34 +0,0 @@ -" Resize control -nmap :vertical resize -5 -nmap :resize -5 -nmap :resize +5 -nmap :vertical resize +5 - -" Tabs -map k :tabr -map t :tabnew -map h :tabp -map l :tabn -map 1 :tabn1 -map 2 :tabn2 - -" Keyboard shortcuts -noremap h -noremap j -noremap k -noremap l - -" Find files using Telescope command-line sugar. -nnoremap f Telescope find_files -nnoremap b Telescope buffers -nnoremap h Telescope help_tags - -" go to Normal mode on integrated terminal -tnoremap - -" vim-test -nmap t :TestNearest -nmap T :TestFile -nmap a :TestSuite -nmap l :TestLast -nmap g :TestVisit diff --git a/home/neovim/config/bundles.vim b/home/neovim/config/bundles.vim deleted file mode 100644 index 179399e..0000000 --- a/home/neovim/config/bundles.vim +++ /dev/null @@ -1,29 +0,0 @@ -" Brief help -" :PluginList - lists configured plugins -" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate -" :PluginSearch foo - searches for foo; append `!` to refresh local cache -" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal -" -" see :h vundle for more details or wiki for FAQ -" Put your non-Plugin stuff after this line - - -" let Vundle manage Vundle, required -Plugin 'VundleVim/Vundle.vim' - -Plugin 'tpope/vim-fugitive' -Plugin 'scrooloose/nerdtree' -Plugin 'townk/vim-autoclose' -Plugin 'editorconfig/editorconfig-vim' -Plugin 'pangloss/vim-javascript' -Plugin 'w0rp/ale' -Plugin 'itchyny/lightline.vim' -Plugin 'leafgarland/typescript-vim' -Plugin 'rust-lang/rust.vim' -Plugin 'airblade/vim-gitgutter' -Plugin 'nvim-lua/plenary.nvim' -Plugin 'nvim-telescope/telescope.nvim' -Plugin 'neoclide/coc.nvim', {'branch': 'release'} -Plugin 'vim-test/vim-test' -Plugin 'catppuccin/vim', { 'as': 'catppuccin' } - diff --git a/home/neovim/config/coc.vim b/home/neovim/config/coc.vim deleted file mode 100644 index da70c71..0000000 --- a/home/neovim/config/coc.vim +++ /dev/null @@ -1,4 +0,0 @@ -inoremap coc#refresh() - -inoremap pumvisible() ? "\" : "\" -inoremap pumvisible() ? "\" : "\" diff --git a/home/neovim/config/filetypes.vim b/home/neovim/config/filetypes.vim deleted file mode 100644 index 56151b6..0000000 --- a/home/neovim/config/filetypes.vim +++ /dev/null @@ -1,18 +0,0 @@ -" commands to compile in specific typefile -autocmd FileType markdown,md,rmd map :! (echo 'require("rmarkdown"); render("'%'");' R --vanilla) - -" Python -autocmd FileType python map :!python3.8 % - -" C/C++ -autocmd FileType c map :!gcc % && ./a.out -autocmd FileType cpp map :!g++ % && ./a.out - -" TexFiles -autocmd FileType tex map :!xelatex % && biber %:r && xelatex % -autocmd FileType tex map :!xelatex % - -" JS -autocmd FileType javascript map :!npm run test % -- --coverage=false -autocmd FileType javascript compiler eslint -autocmd FileType javascript setlocal makeprg=npm\ run\ lint\ --\ --format\ compact diff --git a/home/neovim/config/nerdtree.vim b/home/neovim/config/nerdtree.vim deleted file mode 100644 index 0f7028b..0000000 --- a/home/neovim/config/nerdtree.vim +++ /dev/null @@ -1,27 +0,0 @@ -" NERDTree -autocmd StdinReadPre * let s:std_in=1 -autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | endif -map :NERDTreeToggle - -" NERDTress File highlighting -function! NERDTreeHighlightFile(extension, fg, bg, guifg, guibg) - exec 'autocmd filetype nerdtree highlight ' . a:extension .' ctermbg='. a:bg .' ctermfg='. a:fg .' guibg='. a:guibg .' guifg='. a:guifg - exec 'autocmd filetype nerdtree syn match ' . a:extension .' #^\s\+.*'. a:extension .'$#' -endfunction - -call NERDTreeHighlightFile('jade', 'green', 'none', 'green', '#151515') -call NERDTreeHighlightFile('ini', 'yellow', 'none', 'yellow', '#151515') -call NERDTreeHighlightFile('md', 'blue', 'none', '#3366FF', '#151515') -call NERDTreeHighlightFile('yml', 'yellow', 'none', 'yellow', '#151515') -call NERDTreeHighlightFile('config', 'yellow', 'none', 'yellow', '#151515') -call NERDTreeHighlightFile('conf', 'yellow', 'none', 'yellow', '#151515') -call NERDTreeHighlightFile('json', 'yellow', 'none', 'yellow', '#151515') -call NERDTreeHighlightFile('html', 'yellow', 'none', 'yellow', '#151515') -call NERDTreeHighlightFile('styl', 'cyan', 'none', 'cyan', '#151515') -call NERDTreeHighlightFile('css', 'cyan', 'none', 'cyan', '#151515') -call NERDTreeHighlightFile('coffee', 'Red', 'none', 'red', '#151515') -call NERDTreeHighlightFile('js', 'Red', 'none', '#ffa500', '#151515') -call NERDTreeHighlightFile('jsx', 'Red', 'none', '#ffa500', '#151515') -call NERDTreeHighlightFile('typescript', 'Red', 'none', '#ffa500', '#151515') -call NERDTreeHighlightFile('php', 'Magenta', 'none', '#ff00ff', '#151515') - diff --git a/home/neovim/config/skeletons.vim b/home/neovim/config/skeletons.vim deleted file mode 100644 index 6b82d2d..0000000 --- a/home/neovim/config/skeletons.vim +++ /dev/null @@ -1,6 +0,0 @@ -" custom skeletons -nnoremap ,html :-1read $HOME/.vim/.skeleton.html -nnoremap ,py :-1read $HOME/.vim/.skeleton.py -nnoremap ,tex :-1read $HOME/.vim/.skeleton.tex -nnoremap ,vue :-1read $HOME/.vim/.skeleton.vue.test - diff --git a/home/neovim/config/test.vim b/home/neovim/config/test.vim deleted file mode 100644 index 5d4265b..0000000 --- a/home/neovim/config/test.vim +++ /dev/null @@ -1,3 +0,0 @@ -let g:test#javascript#runner = 'jest' -let test#strategy = 'neovim' - diff --git a/home/neovim/default.nix b/home/neovim/default.nix index 6184d94..f3572a1 100644 --- a/home/neovim/default.nix +++ b/home/neovim/default.nix @@ -44,10 +44,5 @@ source = ./lua; recursive = true; }; - - ".vim/.skeleton.html".source = ./skeletons/.skeleton.html; - ".vim/.skeleton.py".source = ./skeletons/.skeleton.py; - ".vim/.skeleton.tex".source = ./skeletons/.skeleton.tex; - ".vim/.skeleton.vue.test".source = ./skeletons/.skeleton.vue.test; }; } diff --git a/home/neovim/skeletons/.skeleton.html b/home/neovim/skeletons/.skeleton.html deleted file mode 100644 index d1ecdfd..0000000 --- a/home/neovim/skeletons/.skeleton.html +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/home/neovim/skeletons/.skeleton.py b/home/neovim/skeletons/.skeleton.py deleted file mode 100644 index b073807..0000000 --- a/home/neovim/skeletons/.skeleton.py +++ /dev/null @@ -1,2 +0,0 @@ -if __name__ == '__main__': - diff --git a/home/neovim/skeletons/.skeleton.tex b/home/neovim/skeletons/.skeleton.tex deleted file mode 100644 index e480b21..0000000 --- a/home/neovim/skeletons/.skeleton.tex +++ /dev/null @@ -1,17 +0,0 @@ -\documentclass{article} - -\usepackage[backend=biber]{biblatex} -\addbibresource{bibliography.bib} - -\usepackage{indentfirst} -\usepackage[brazilian]{babel} - -\usepackage{blindtext} - -%enconding -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} - -\begin{document} - -\end{document} diff --git a/home/neovim/skeletons/.skeleton.vue.test b/home/neovim/skeletons/.skeleton.vue.test deleted file mode 100644 index 16d3328..0000000 --- a/home/neovim/skeletons/.skeleton.vue.test +++ /dev/null @@ -1,17 +0,0 @@ -import { mount } from '@vue/test-utils'; - -import _ from '' - -describe('', () => { - it('[RENDER] Check vue instance', () => { - const wrapper = mount() - - expect(wrapper.isVueInstance()).toBeTruthy(); - }); - - it('[SNAPSHOT] Check structure', () => { - const wrapper = mount() - - expect(wrapper.html()).toMatchSnapshot(); - }); -}); diff --git a/home/neovim/vimrc b/home/neovim/vimrc deleted file mode 100644 index 666fdd4..0000000 --- a/home/neovim/vimrc +++ /dev/null @@ -1,108 +0,0 @@ -set autoread " reload files when changed on disk -set number " display line numbers on the left side -set relativenumber " set numbers to be relativer to actual position -set laststatus=2 " always display the status line -set showtabline=2 -set splitbelow " new splits will be at the bottom or to the right side of the screen -set splitright -set wildchar= wildmenu wildmode=full " set TAB the be the autocomplete -set wildignore+=**/node_modules/** " when using :find, should ignore files in node_modules -set path+=** " set current path to be searchable -set list " show trailing space -set listchars=tab:\|.,trail:.,extends:»,precedes:«,nbsp:× -set tabstop=2 " tab use 2 spaces -set expandtab " use space instead of tabs -set shiftwidth=2 " when using the >> or << commands, shift lines by 2 spaces -set guicursor= " makes vim to not change cursor shape - -set updatetime=100 " set time for vim to trigger events updates - -set t_Co=256 " enable 256 colors -set background=dark " set background - -set mouse=a " add mouse suport -syntax enable " enable syntax highlighting -set autoindent -set cursorline " highlights current line -set showmatch " show the matching part of the pair for [] {} and () -set directory-=. " don't store swapfiles in the current directory - -set foldmethod=indent -set nofoldenable -set foldlevel=5 - -set updatetime=100 " controls the delay that vim can write swap files - -let mapleader = "," - -" set autochdir " set the working directory to be the same as the file that is been edited - -ino ' '' " set autoclose of single quote - - -if filereadable(expand("~/.config/vim/aliases.vim")) - source ~/.config/vim/aliases.vim -endif - -if filereadable(expand("~/.config/vim/filetypes.vim")) - source ~/.config/vim/filetypes.vim -endif - - -if filereadable(expand("~/.config/vim/skeletons.vim")) - source ~/.config/vim/skeletons.vim -endif - -if filereadable(expand("~/.config/vim/coc.vim")) - source ~/.config/vim/coc.vim -endif - -set nocompatible " be iMproved, required -filetype plugin on - - -" Vundle configuration and plugins -" -" set the runtime path to include Vundle and initialize -set rtp+=~/.vim/bundle/Vundle.vim -call vundle#begin() - -" install Vundle bundles -if filereadable(expand("~/.config/vim/bundles.vim")) - source ~/.config/vim/bundles.vim -endif - -call vundle#end() " required - -filetype plugin indent on " required - -if filereadable(expand("~/.config/vim/nerdtree.vim")) - source ~/.config/vim/nerdtree.vim -endif - -if filereadable(expand("~/.config/vim/ale.vim")) - source ~/.config/vim/ale.vim -endif - -if filereadable(expand("~/.config/vim/test.vim")) - source ~/.config/vim/test.vim -endif - -" enable all Python syntax highlighting features -let python_highlight_all = 1 - -let g:lightline = { - \ 'colorscheme': 'deus', - \} - -if &term =~ '256color' - " disable background color erase so that color schemes - " render properly when inside 256-color tmux and GNU screen - set t_ut= -endif - -set noshowmode " remove insert info - -if has('nvim') || has('termguicolors') - set termguicolors -endif