Mercurial > ec-dotfiles
changeset 739:2cf87b7ca09a default tip
Update vendored stuff
author | nanaya <me@nanaya.net> |
---|---|
date | Thu, 09 Jan 2025 03:28:23 +0900 |
parents | 687d9ee4a5c9 |
children | |
files | vendor/vim-packs/ctrlp.vim/autoload/ctrlp.vim vendor/vim-packs/ctrlp.vim/doc/ctrlp.txt vendor/vim-packs/srcery-vim/after/plugin/srcery.vim vendor/vim-packs/srcery-vim/after/syntax/c.vim vendor/vim-packs/srcery-vim/after/syntax/coffee.vim vendor/vim-packs/srcery-vim/after/syntax/css.vim vendor/vim-packs/srcery-vim/after/syntax/elixir.vim vendor/vim-packs/srcery-vim/after/syntax/flow.vim vendor/vim-packs/srcery-vim/after/syntax/gitcommit.vim vendor/vim-packs/srcery-vim/after/syntax/go.vim vendor/vim-packs/srcery-vim/after/syntax/haskell.vim vendor/vim-packs/srcery-vim/after/syntax/html.vim vendor/vim-packs/srcery-vim/after/syntax/java.vim vendor/vim-packs/srcery-vim/after/syntax/javascript.vim vendor/vim-packs/srcery-vim/after/syntax/javascriptreact.vim vendor/vim-packs/srcery-vim/after/syntax/json.vim vendor/vim-packs/srcery-vim/after/syntax/jsonc.vim vendor/vim-packs/srcery-vim/after/syntax/lisp.vim vendor/vim-packs/srcery-vim/after/syntax/lua.vim vendor/vim-packs/srcery-vim/after/syntax/make.vim vendor/vim-packs/srcery-vim/after/syntax/markdown.vim vendor/vim-packs/srcery-vim/after/syntax/moon.vim vendor/vim-packs/srcery-vim/after/syntax/objc.vim vendor/vim-packs/srcery-vim/after/syntax/python.vim vendor/vim-packs/srcery-vim/after/syntax/ruby.vim vendor/vim-packs/srcery-vim/after/syntax/rust.vim vendor/vim-packs/srcery-vim/after/syntax/scala.vim vendor/vim-packs/srcery-vim/after/syntax/scss.vim vendor/vim-packs/srcery-vim/after/syntax/sh.vim vendor/vim-packs/srcery-vim/after/syntax/typescript.vim vendor/vim-packs/srcery-vim/after/syntax/typescriptreact.vim vendor/vim-packs/srcery-vim/after/syntax/vim.vim vendor/vim-packs/srcery-vim/after/syntax/xml.vim vendor/vim-packs/srcery-vim/autoload/srcery.vim vendor/vim-packs/srcery-vim/autoload/srcery/helper.vim vendor/vim-packs/srcery-vim/colors/srcery.vim |
diffstat | 36 files changed, 990 insertions(+), 1304 deletions(-) [+] |
line wrap: on
line diff
--- a/vendor/vim-packs/ctrlp.vim/autoload/ctrlp.vim Thu Jan 09 03:22:45 2025 +0900 +++ b/vendor/vim-packs/ctrlp.vim/autoload/ctrlp.vim Thu Jan 09 03:28:23 2025 +0900 @@ -641,6 +641,9 @@ retu ids el let bufs = [[], []] + if s:matcher != {} && !s:matchcrfile + call filter(ids, 'v:val != s:crbufnr') + en for id in ids let bname = bufname(id) let ebname = bname == '' @@ -2179,7 +2182,7 @@ endf fu! s:bufnrfilpath(line) - if s:isabs(a:line) || a:line =~ '^\~[/\\]' || a:line =~ '^\w\+:\/\/' + if s:isabs(a:line) || a:line =~ '^\~[/\\]' || a:line =~ '^\w\+:\/\/' let filpath = a:line el let filpath = s:dyncwd.s:lash().a:line
--- a/vendor/vim-packs/ctrlp.vim/doc/ctrlp.txt Thu Jan 09 03:22:45 2025 +0900 +++ b/vendor/vim-packs/ctrlp.vim/doc/ctrlp.txt Thu Jan 09 03:28:23 2025 +0900 @@ -449,14 +449,15 @@ By default, the current file is excluded from the list. -Note: does not apply when |g:ctrlp_match_func| is used. +Note: With the exception of |:CtrlPMRU|, does not apply when +|g:ctrlp_match_func| is used. *'g:ctrlp_types'* Set this to list of names to customize core types: > let g:ctrlp_types = ['mru', 'fil'] By default, the types are: > - let g:ctrlp_types = ['fil', 'buf', 'mru']. + let g:ctrlp_types = ['fil', 'buf', 'mru'] *'g:ctrlp_abbrev'* Define input abbreviations that can be expanded (either internally or visibly)
--- a/vendor/vim-packs/srcery-vim/after/plugin/srcery.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,301 +0,0 @@ -if srcery#helper#ShouldAbort() - finish -endif - -" Palette {{{ - -let s:none = g:srcery#palette.none - -" 16 base colors -let s:black = g:srcery#palette.black -let s:red = g:srcery#palette.red -let s:green = g:srcery#palette.green -let s:yellow = g:srcery#palette.yellow -let s:blue = g:srcery#palette.blue -let s:magenta = g:srcery#palette.magenta -let s:cyan = g:srcery#palette.cyan -let s:white = g:srcery#palette.white -let s:bright_black = g:srcery#palette.bright_black -let s:bright_red = g:srcery#palette.bright_red -let s:bright_green = g:srcery#palette.bright_green -let s:bright_yellow = g:srcery#palette.bright_yellow -let s:bright_blue = g:srcery#palette.bright_blue -let s:bright_magenta = g:srcery#palette.bright_magenta -let s:bright_cyan = g:srcery#palette.bright_cyan -let s:bright_white = g:srcery#palette.bright_white - -" xterm colors -let s:orange = g:srcery#palette.orange -let s:bright_orange = g:srcery#palette.bright_orange -let s:hard_black = g:srcery#palette.hard_black -let s:xgray1 = g:srcery#palette.xgray1 -let s:xgray2 = g:srcery#palette.xgray2 -let s:xgray3 = g:srcery#palette.xgray3 -let s:xgray4 = g:srcery#palette.xgray4 -let s:xgray5 = g:srcery#palette.xgray5 -let s:xgray6 = g:srcery#palette.xgray6 - -"}}} -" Setup Emphasis: {{{ - -let s:bold = g:srcery#palette.bold -let s:italic = g:srcery#palette.italic -let s:underline = g:srcery#palette.underline -let s:undercurl = g:srcery#palette.undercurl -let s:inverse = g:srcery#palette.inverse -let s:strikethrough = g:srcery#palette.strikethrough - -" }}} -" Sneak: {{{ - -if exists('g:loaded_sneak_plugin') - hi! link Sneak Search - call srcery#helper#Highlight('SneakScope', s:none, s:hard_black) - hi! link SneakLabel Search -endif - -" }}} -" Rainbow Parentheses: {{{ - -if !exists('g:rbpt_colorpairs') - let g:rbpt_colorpairs = - \ [ - \ ['blue', '#2C78BF'], ['202', '#FF5F00'], - \ ['red', '#EF2F27'], ['magenta', '#E02C6D'] - \ ] -endif - -let g:rainbow_guifgs = [ '#E02C6D', '#EF2F27', '#D75F00', '#2C78BF'] -let g:rainbow_ctermfgs = [ 'magenta', 'red', '202', 'blue' ] - -if !exists('g:rainbow_conf') - let g:rainbow_conf = {} -endif -if !has_key(g:rainbow_conf, 'guifgs') - let g:rainbow_conf['guifgs'] = g:rainbow_guifgs -endif -if !has_key(g:rainbow_conf, 'ctermfgs') - let g:rainbow_conf['ctermfgs'] = g:rainbow_ctermfgs -endif - -let g:niji_dark_colours = g:rbpt_colorpairs -let g:niji_light_colours = g:rbpt_colorpairs - -"}}} -" GitGutter: {{{ - -if exists('g:loaded_gitgutter') - hi! link GitGutterAdd SrceryGreen - hi! link GitGutterChange SrceryYellow - hi! link GitGutterDelete SrceryRed - hi! link GitGutterChangeDelete SrceryYellow -endif - -" }}} -" Asynchronous Lint Engine: {{{ - -if exists('g:ale_enabled') - call srcery#helper#Highlight('ALEError', s:none, s:none, s:undercurl, s:red) - call srcery#helper#Highlight('ALEWarning', s:none, s:none, s:undercurl, s:yellow) - call srcery#helper#Highlight('ALEInfo', s:none, s:none, s:undercurl, s:blue) - - hi! link ALEErrorSign SrceryRed - hi! link ALEWarningSign SrceryYellow - hi! link ALEInfoSign SrceryBlue -endif - -" }}} - -" vim-indent-guides: {{{ -if exists('g:loaded_indent_guides') - call srcery#helper#Highlight('IndentGuidesEven', s:none, s:xgray3) - call srcery#helper#Highlight('IndentGuidesOdd', s:none, s:xgray4) -endif - -" }}} -" vim-startify: {{{ - -if exists('g:loaded_startify') - hi! link StartifyNumber Statement - hi! link StartifyFile Normal - hi! link StartifyPath String - hi! link StartifySlash Normal - hi! link StartifyBracket Comment - hi! link StartifyHeader Type - hi! link StartifyFooter Normal - hi! link StartifySpecial Comment - hi! link StartifySection Identifier -endif - -" }}} -" fzf: {{{ - -if exists('g:loaded_fzf') - call srcery#helper#Highlight('fzf1', s:magenta, s:xgray2) - call srcery#helper#Highlight('fzf2', s:bright_green, s:xgray2) - call srcery#helper#Highlight('fzf3', s:bright_white, s:xgray2) -endif - -"}}} - -" Netrw: {{{ - -hi! link netrwDir SrceryBlue -hi! link netrwClassify SrceryCyan -hi! link netrwLink SrceryBrightBlack -hi! link netrwSymLink SrceryCyan -hi! link netrwExe SrceryYellow -hi! link netrwComment SrceryBrightBlack -hi! link netrwList SrceryBrightBlue -hi! link netrwTreeBar SrceryBrightBlack -hi! link netrwHelpCmd SrceryCyan -hi! link netrwVersion SrceryGreen -hi! link netrwCmdSep SrceryBrightBlack - -"}}} -" coc.nvim: {{{ - -if exists('g:did_coc_loaded') - hi! link CocErrorSign SrceryRed - hi! link CocWarningSign SrceryBrightOrange - hi! link CocInfoSign SrceryYellow - hi! link CocHintSign SrceryBlue - hi! link CocErrorFloat SrceryRed - hi! link CocWarningFloat SrceryOrange - hi! link CocInfoFloat SrceryYellow - hi! link CocHintFloat SrceryBlue - hi! link CocDiagnosticsError SrceryRed - hi! link CocDiagnosticsWarning SrceryOrange - hi! link CocDiagnosticsInfo SrceryYellow - hi! link CocDiagnosticsHint SrceryBlue - - hi! link CocSelectedText SrceryRed - hi! link CocCodeLens SrceryWhite - - call srcery#helper#Highlight('CocErrorHighlight', s:none, s:none, s:undercurl, s:red) - call srcery#helper#Highlight('CocWarningHighlight', s:none, s:none, s:undercurl, s:bright_orange) - call srcery#helper#Highlight('CocInfoHighlight', s:none, s:none, s:undercurl, s:yellow) - call srcery#helper#Highlight('CocHintHighlight', s:none, s:none, s:undercurl, s:blue) -endif - -" }}} -" CtrlP: "{{{ - -if exists('g:loaded_ctrlp') - hi! link CtrlPMatch SrceryMagenta - hi! link CtrlPLinePre SrceryBrightGreen - call srcery#helper#Highlight('CtrlPMode1', s:bright_white, s:xgray3) - call srcery#helper#Highlight('CtrlPMode2', s:bright_white, s:xgray5) - call srcery#helper#Highlight('CtrlPStats', s:yellow, s:xgray2) -endif - -" }}} -" NERDTree: "{{{ - -if exists('g:loaded_nerd_tree') - hi! link NERDTreeDir SrceryBlue - hi! link NERDTreeDirSlash SrceryCyan - hi! link NERDTreeOpenable SrceryBlue - hi! link NERDTreeClosable SrceryBlue - hi! link NERDTreeFile SrceryWhite - hi! link NERDTreeExecFile SrceryYellow - hi! link NERDTreeUp SrceryOrange - hi! link NERDTreeCWD SrceryGreen - hi! link NERDTreeHelp SrceryCyan - hi! link NERDTreeFlags SrceryCyan - hi! link NERDTreeLinkFile SrceryBrightBlack - hi! link NERDTreeLinkTarget SrceryBrightBlack -endif - -" }}} -" Telescope: "{{{ - -if exists('g:loaded_telescope') - call srcery#helper#Highlight('TelescopeNormal', s:white, s:none) - call srcery#helper#Highlight('TelescopeSelection', s:green, s:none, s:bold) - call srcery#helper#Highlight('TelescopeMatching', s:magenta) - call srcery#helper#Highlight('TelescopeSelectionCaret', s:magenta) - call srcery#helper#Highlight('TelescopePromptPrefix', s:bright_yellow) -endif - -" }}} -" nvim-cmp: "{{{ - -if exists('g:loaded_cmp') - hi! link CmpItemAbbr Pmenu - hi! link CmpItemAbbrDeprecated Comment - hi! link CmpItemAbbrMatch Pmenu - hi! link CmpItemAbbrMatchFuzzy Pmenu - hi! link CmpItemKind Special - hi! link CmpItemMenu Pmenu -endif - -" }}} -" nvim: {{{ - -if has('nvim') - - " nvim-treesitter: {{{ - - if exists('g:loaded_nvim_treesitter') - " This is deprecated in new nvim releases - call srcery#helper#Highlight('TSStrong', s:none, s:none, s:bold) - call srcery#helper#Highlight('TSEmphasis', s:none, s:none, s:bold) - call srcery#helper#Highlight('TSUnderline', s:none, s:none, s:underline) - - highlight! link TSWarning SrceryOrangeBold - highlight! link TSDanger SrceryRedBold - highlight! link TSConstBuiltin SrceryCyan - highlight! link TSField SrceryGreen - highlight! link TSFuncBuiltin SrceryYellow - highlight! link TSFuncMacro SrceryOrange - highlight! link TSFunction SrceryYellow - call srcery#helper#Highlight('TSNamespace', s:white, s:none, s:italic) - call srcery#helper#Highlight('TSParameter', s:cyan, s:none, s:italic) - highlight! link TSProperty SrceryBrightBlue - highlight! link TSSymbol SrceryBlue - highlight! link TSTag SrceryBlue - highlight! link TSTagAttribute SrceryYellow - highlight! link TSVariableBuiltin SrceryCyan - highlight! link TSType SrceryWhite - highlight! link TSDelimiter SrceryWhite - highlight! link TSURI SrceryGreen - highlight! link TSVariable SrceryBrightWhite - - if has('nvim-0.8') - highlight! link @text.strong TSStrong - highlight! link @text.emphasis TSEmphasis - highlight! link @text.underline TSUnderline - highlight! link @text.warning TSWarning - highlight! link @text.danger TSDanger - highlight! link @constant.builtin TSConstBuiltin - highlight! link @field TSField - highlight! link @function.builtin TSFuncBuiltin - highlight! link @function.macro TSFuncMacro - highlight! link @function TSFunction - highlight! link @namespace TSNamespace - highlight! link @parameter TSParameter - highlight! link @property TSProperty - highlight! link @symbol TSSymbol - highlight! link @tag TSTag - highlight! link @tag.attribute TSTagAttribute - highlight! link @variable.builtin TSVariableBuiltin - highlight! link @type TSType - highlight! link @delimiter TSDelimiter - highlight! link @text.uri TSURI - highlight! link @variable TSVariable - - call srcery#helper#Highlight('@markup.strong', s:none, s:none, s:bold) - call srcery#helper#Highlight('@markup.italic', s:none, s:none, s:italic) - call srcery#helper#Highlight('@markup.underline', s:none, s:none, s:underline) - call srcery#helper#Highlight('@markup.strikethrough', s:none, s:none, s:strikethrough) - - endif - endif - - " }}} -endif - -" }}} - -" vim: fdm=marker ts=2 sts=2 sw=2 fdl=0:
--- a/vendor/vim-packs/srcery-vim/after/syntax/c.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -if srcery#helper#ShouldAbort('c') - finish -endif - -" C: {{{ - -hi! link cOperator SrceryMagenta -hi! link cStructure SrceryYellow - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/coffee.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,13 +0,0 @@ -if srcery#helper#ShouldAbort('coffee') - finish -endif - -" CoffeeScript: {{{ - -hi! link coffeeExtendedOp SrceryBrightWhite -hi! link coffeeSpecialOp SrceryBrightWhite -hi! link coffeeCurly SrceryYellow -hi! link coffeeParen SrceryBrightWhite -hi! link coffeeBracket SrceryYellow - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/css.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,44 +0,0 @@ -if srcery#helper#ShouldAbort('css') - finish -endif - -" CSS: {{{ - -hi! link cssBraces SrceryBrightWhite -hi! link cssFunctionName SrceryYellow -hi! link cssIdentifier SrceryBlue -hi! link cssClassName SrceryBlue -hi! link cssClassNameDot SrceryBlue -hi! link cssColor SrceryBrightMagenta -hi! link cssSelectorOp SrceryBlue -hi! link cssSelectorOp2 SrceryBlue -hi! link cssImportant SrceryGreen -hi! link cssVendor SrceryBlue -hi! link cssMediaProp SrceryYellow -hi! link cssBorderProp SrceryYellow -hi! link cssAttrComma SrceryBrightWhite - -hi! link cssTextProp SrceryYellow -hi! link cssAnimationProp SrceryYellow -hi! link cssUIProp SrceryYellow -hi! link cssTransformProp SrceryYellow -hi! link cssTransitionProp SrceryYellow -hi! link cssPrintProp SrceryYellow -hi! link cssPositioningProp SrceryYellow -hi! link cssBoxProp SrceryYellow -hi! link cssFontDescriptorProp SrceryYellow -hi! link cssFlexibleBoxProp SrceryYellow -hi! link cssBorderOutlineProp SrceryYellow -hi! link cssBackgroundProp SrceryYellow -hi! link cssMarginProp SrceryYellow -hi! link cssListProp SrceryYellow -hi! link cssTableProp SrceryYellow -hi! link cssFontProp SrceryYellow -hi! link cssPaddingProp SrceryYellow -hi! link cssDimensionProp SrceryYellow -hi! link cssRenderProp SrceryYellow -hi! link cssColorProp SrceryYellow -hi! link cssGeneratedContentProp SrceryYellow -hi! link cssTagName SrceryBrightBlue - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/elixir.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -if srcery#helper#ShouldAbort('elixir') - finish -endif - -" Elixir: {{{ - -hi! link elixirDocString Comment - -hi! link elixirStringDelimiter SrceryGreen -hi! link elixirInterpolationDelimiter SrceryCyan - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/flow.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -if srcery#helper#ShouldAbort('flow') - finish -endif - -runtime! syntax/javascript.vim
--- a/vendor/vim-packs/srcery-vim/after/syntax/gitcommit.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -if srcery#helper#ShouldAbort('gitcommit') - finish -endif - -" GitCommit: "{{{ - -hi! link gitcommitSelectedFile SrceryGreen -hi! link gitcommitDiscardedFile SrceryRed - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/go.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -if srcery#helper#ShouldAbort('go') - finish -endif -" Go: {{{ - -hi! link goDirective SrceryCyan -hi! link goConstants SrceryMagenta -hi! link goDeclaration SrceryRed -hi! link goDeclType SrceryBlue -hi! link goBuiltins SrceryYellow - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/haskell.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,38 +0,0 @@ -if srcery#helper#ShouldAbort('haskell') - finish -endif - -" Haskell: {{{ - -" hi! link haskellType SrceryYellow -" hi! link haskellOperators SrceryYellow -" hi! link haskellConditional SrceryCyan -" hi! link haskellLet SrceryYellow - -hi! link haskellType SrceryBlue -hi! link haskellIdentifier SrceryBlue -hi! link haskellSeparator SrceryBlue -hi! link haskellDelimiter SrceryBrightWhite -hi! link haskellOperators SrceryBlue - -hi! link haskellBacktick SrceryYellow -hi! link haskellStatement SrceryYellow -hi! link haskellConditional SrceryYellow - -hi! link haskellLet SrceryCyan -hi! link haskellDefault SrceryCyan -hi! link haskellWhere SrceryCyan -hi! link haskellBottom SrceryCyan -hi! link haskellBlockKeywords SrceryCyan -hi! link haskellImportKeywords SrceryCyan -hi! link haskellDeclKeyword SrceryCyan -hi! link haskellDeriving SrceryCyan -hi! link haskellAssocType SrceryCyan - -hi! link haskellNumber SrceryMagenta -hi! link haskellPragma SrceryMagenta - -hi! link haskellString SrceryGreen -hi! link haskellChar SrceryGreen - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/html.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,39 +0,0 @@ -if srcery#helper#ShouldAbort('html') - finish -endif - -let s:none = g:srcery#palette.none -let s:black = g:srcery#palette.black -let s:bright_white = g:srcery#palette.bright_white - -let s:bold = g:srcery#palette.bold -let s:italic = g:srcery#palette.italic -let s:underline = g:srcery#palette.underline - -" HTML: {{{ - - -hi! link htmlTagName SrceryBlue -hi! link htmlTag SrceryBrightBlack -hi! link htmlEndTag SrceryBrightBlack -hi! link htmlArg SrceryYellow - -hi! link htmlScriptTag SrceryRed -hi! link htmlTagN SrceryBlue -hi! link htmlSpecialTagName SrceryBlue - -hi! link javaScript Normal - -call srcery#helper#Highlight('htmlLink', s:bright_white, s:none, s:underline) - -hi! link htmlSpecialChar SrceryYellow - -call srcery#helper#Highlight('htmlBold', s:bright_white, g:srcery_bg, s:bold) -call srcery#helper#Highlight('htmlBoldUnderline', s:bright_white, g:srcery_bg, s:bold . s:underline) -call srcery#helper#Highlight('htmlBoldItalic', s:bright_white, g:srcery_bg, s:bold . s:italic) -call srcery#helper#Highlight('htmlBoldUnderlineItalic', s:bright_white, g:srcery_bg, s:bold . s:underline . s:italic) -call srcery#helper#Highlight('htmlUnderline', s:bright_white, g:srcery_bg, s:underline) -call srcery#helper#Highlight('htmlUnderlineItalic', s:bright_white, g:srcery_bg, s:underline . s:italic) -call srcery#helper#Highlight('htmlItalic', s:bright_white, g:srcery_bg, s:italic) - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/java.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -if srcery#helper#ShouldAbort('java') - finish -endif - -" Java: {{{ - -hi! link javaAnnotation SrceryBlue -hi! link javaDocTags SrceryCyan -hi! link javaCommentTitle vimCommentTitle -hi! link javaParen SrceryBrightWhite -hi! link javaParen1 SrceryBrightWhite -hi! link javaParen2 SrceryBrightWhite -hi! link javaParen3 SrceryBrightWhite -hi! link javaParen4 SrceryBrightWhite -hi! link javaParen5 SrceryBrightWhite -hi! link javaOperator SrceryYellow - -hi! link javaVarArg SrceryGreen - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/javascript.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,45 +0,0 @@ -if srcery#helper#ShouldAbort('javascript') - finish -endif - -" JavaScript: {{{ - -hi! link javaScriptMember SrceryBlue -hi! link javaScriptNull SrceryMagenta -hi! link javasCriptParens SrceryWhite -hi! link javaScriptBraces SrceryWhite -hi! link javaScriptReserved SrceryOrange - -" }}} -" YAJS: {{{ - -hi! link javascriptFuncArg Normal -hi! link javascriptDocComment SrceryGreen -hi! link javascriptArrayMethod Function -hi! link javascriptReflectMethod Function -hi! link javascriptStringMethod Function -hi! link javascriptObjectMethod Function -hi! link javascriptObjectStaticMethod Function -hi! link javascriptObjectLabel SrceryBlue -hi! link javascriptProp SrceryBlue -hi! link javascriptVariable SrceryBrightBlue -hi! link javascriptFuncKeyword SrceryBrightRed -hi! link javascriptFunctionMethod SrceryYellow -hi! link javascriptReturn SrceryBrightRed -hi! link javascriptEndColons SrceryWhite - -" }}} -" pangloss/vim-javascript {{{ - -hi! link jsFunction SrceryRed -hi! link jsImport SrceryRed -hi! link jsObjectSeparator SrceryWhite -hi! link jsParens SrceryWhite -hi! link jsFuncParens SrceryWhite -hi! link jsNoise SrceryWhite -hi! link jsEnvComment SrceryBrightBlack -hi! link jsOperator SrceryBrightCyan - -" }}} - -" vim: set ts=2 sw=2 tw=78 fdm=marker et :
--- a/vendor/vim-packs/srcery-vim/after/syntax/javascriptreact.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -if srcery#helper#ShouldAbort('javascriptreact') - finish -endif - -runtime! syntax/javascript.vim
--- a/vendor/vim-packs/srcery-vim/after/syntax/json.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -if srcery#helper#ShouldAbort('json') - finish -endif - -" JSON: {{{ - -hi! link jsonKeyword SrceryGreen -hi! link jsonQuote SrceryGreen -hi! link jsonBraces SrceryBlue -hi! link jsonString SrceryBlue - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/jsonc.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -if srcery#helper#ShouldAbort('jsonc') - finish -endif - -runtime! syntax/json.vim
--- a/vendor/vim-packs/srcery-vim/after/syntax/lisp.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,45 +0,0 @@ -if srcery#helper#ShouldAbort('lisp') - finish -endif - -let s:none = g:srcery#palette.none -let s:bright_white = g:srcery#palette.bright_white -let s:bold = g:srcery#palette.bold - -" Lisp dialects: {{{ - -if g:srcery_dim_lisp_paren == 1 - hi! link schemeParentheses SrceryXgray6 - hi! link clojureParen SrceryXgray6 -else - hi! link schemeParentheses SrceryWhite - hi! link clojureParen SrceryWhite -endif - -hi! link clojureKeyword SrceryBlue -hi! link clojureCond SrceryRed -hi! link clojureSpecial SrceryRed -hi! link clojureDefine SrceryRed - -hi! link clojureFunc SrceryYellow -hi! link clojureRepeat SrceryYellow -hi! link clojureCharacter SrceryCyan -hi! link clojureStringEscape SrceryCyan -hi! link clojureException SrceryRed - -hi! link clojureRegexp SrceryCyan -hi! link clojureRegexpEscape SrceryCyan -call srcery#helper#Highlight('clojureRegexpCharClass', s:bright_white, s:none, s:bold) -hi! link clojureRegexpMod clojureRegexpCharClass -hi! link clojureRegexpQuantifier clojureRegexpCharClass - -hi! link clojureAnonArg SrceryYellow -hi! link clojureVariable SrceryBlue -hi! link clojureMacro SrceryOrangeBold - -hi! link clojureMeta SrceryYellow -hi! link clojureDeref SrceryYellow -hi! link clojureQuote SrceryYellow -hi! link clojureUnquote SrceryYellow - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/lua.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -if srcery#helper#ShouldAbort('lua') - finish -endif - -" Lua: {{{ - -hi! link luaIn SrceryRed -hi! link luaFunction SrceryCyan -hi! link luaTable SrceryYellow - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/make.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -if srcery#helper#ShouldAbort('make') - finish -endif - -" Make: {{{ - -hi! link makePreCondit SrceryRed -hi! link makeCommands SrceryBrightWhite -hi! link makeTarget SrceryYellow - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/markdown.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,44 +0,0 @@ -if srcery#helper#ShouldAbort('markdown') - finish -endif - -let s:none = g:srcery#palette.none -let s:bright_white = g:srcery#palette.bright_white -let s:bold = g:srcery#palette.bold -let s:italic = g:srcery#palette.italic -let s:underline = g:srcery#palette.underline - -" Markdown: {{{ - -call srcery#helper#Highlight('markdownBold', s:bright_white, s:none, s:bold) -call srcery#helper#Highlight('markdownItalic', s:bright_white, s:none, s:italic) - -hi! link markdownH1 SrceryBrightBlueBold -hi! link markdownH2 SrceryBrightBlueBold -hi! link markdownH3 SrceryBrightYellowBold -hi! link markdownH4 SrceryBrightYellowBold -hi! link markdownH5 SrceryYellowBold -hi! link markdownH6 SrceryYellowBold - -hi! link markdownCode SrceryWhite -hi! link markdownCodeBlock SrceryWhite -hi! link markdownCodeDelimiter SrceryWhite - -hi! link markdownBlockquote SrceryBrightBlack -hi! link markdownListMarker SrceryBrightBlack -hi! link markdownOrderedListMarker SrceryBrightBlack -hi! link markdownRule SrceryBrightBlack -hi! link markdownHeadingRule SrceryBrightBlack - -hi! link markdownUrlDelimiter SrceryBrightBlack -hi! link markdownLinkDelimiter SrceryBrightBlack -hi! link markdownLinkTextDelimiter SrceryBrightBlack - -hi! link markdownHeadingDelimiter SrceryBrightBlack -hi! link markdownUrl SrceryBrightGreen -hi! link markdownUrlTitleDelimiter SrceryGreen - -call srcery#helper#Highlight('markdownLinkText', s:bright_white, s:none, s:underline) -hi! link markdownIdDeclaration markdownLinkText - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/moon.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -if srcery#helper#ShouldAbort('moon') - finish -endif - -" MoonScript: {{{ - -hi! link moonSpecialOp SrceryBrightWhite -hi! link moonExtendedOp SrceryBrightWhite -hi! link moonFunction SrceryBrightWhite -hi! link moonObject SrceryYellow - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/objc.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -if srcery#helper#ShouldAbort('objc') - finish - -endif -" ObjectiveC: {{{ - -hi! link objcTypeModifier SrceryRed -hi! link objcDirective SrceryBlue - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/python.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -if srcery#helper#ShouldAbort('python') - finish -endif - -" Python: {{{ - -hi! link pythonBuiltin SrceryYellow -hi! link pythonBuiltinObj SrceryYellow -hi! link pythonBuiltinFunc SrceryYellow -hi! link pythonFunction SrceryCyan -hi! link pythonDecorator SrceryRed -hi! link pythonInclude SrceryBlue -hi! link pythonImport SrceryBlue -hi! link pythonRun SrceryBlue -hi! link pythonCoding SrceryBlue -hi! link pythonOperator SrceryRed -hi! link pythonExceptions SrceryMagenta -hi! link pythonBoolean SrceryMagenta -hi! link pythonDot SrceryBrightWhite - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/ruby.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -if srcery#helper#ShouldAbort('ruby') - finish -endif - -" Ruby: {{{ - -hi! link rubyStringDelimiter SrceryGreen -hi! link rubyInterpolationDelimiter SrceryCyan -hi! link rubyDefine Keyword - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/rust.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -if srcery#helper#ShouldAbort('rust') - finish -endif - -" Rust: {{{ - -"https://github.com/rust-lang/rust.vim/blob/master/syntax/rust.vim -hi! link rustCommentLineDoc SrceryGreen -hi! link rustModPathSep SrceryBrightBlack - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/scala.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -if srcery#helper#ShouldAbort('scala') - finish -endif - -" Scala: {{{ - -" NB: scala vim syntax file is kinda horrible -hi! link scalaNameDefinition SrceryBlue -hi! link scalaCaseFollowing SrceryBlue -hi! link scalaCapitalWord SrceryBlue -hi! link scalaTypeExtension SrceryBlue - -hi! link scalaKeyword SrceryRed -hi! link scalaKeywordModifier SrceryRed - -hi! link scalaSpecial SrceryCyan -hi! link scalaOperator SrceryBlue - -hi! link scalaTypeDeclaration SrceryYellow -hi! link scalaTypeTypePostDeclaration SrceryYellow - -hi! link scalaInstanceDeclaration SrceryBlue -hi! link scalaInterpolation SrceryCyan - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/scss.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -if srcery#helper#ShouldAbort('scss') - finish -endif - -runtime! syntax/css.vim - -" SASS: {{{ - -hi! link sassClass SrceryBlue -hi! link sassClassChar SrceryBlue -hi! link sassVariable SrceryCyan -hi! link sassIdChar SrceryBrightBlue -hi! link sassId SrceryBrightBlue - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/sh.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -if srcery#helper#ShouldAbort('sh') - finish -endif - -let s:bright_red = g:srcery#palette.bright_red -let s:bright_white = g:srcery#palette.bright_white - -" shellscript: {{{ - -call srcery#helper#Highlight('shParenError', s:bright_white, s:bright_red) -hi! link shCmdSubRegion SrceryWhite -hi! link shArithRegion SrceryWhite -hi! link shArithRegion SrceryWhite -hi! link shQuote SrceryWhite -hi! link shRedir SrceryMagenta -hi! link shOption SrceryBrightYellow -hi! link shCommandSub SrceryBrightRed - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/typescript.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -if srcery#helper#ShouldAbort('typescript') - finish -endif - -runtime! syntax/javascript.vim
--- a/vendor/vim-packs/srcery-vim/after/syntax/typescriptreact.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -if srcery#helper#ShouldAbort('typescriptreact') - finish -endif - -runtime! syntax/javascriptreact.vim
--- a/vendor/vim-packs/srcery-vim/after/syntax/vim.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -if srcery#helper#ShouldAbort('vim') - finish -endif - -let s:none = g:srcery#palette.none -let s:bright_white = g:srcery#palette.bright_white -let s:bold = g:srcery#palette.bold -let s:italic = g:srcery#palette.italic - -" Vim: {{{ - -call srcery#helper#Highlight('vimCommentTitle', s:bright_white, s:none, s:bold . s:italic) - -hi! link vimNotation SrceryYellow -hi! link vimBracket SrceryYellow -hi! link vimMapModKey SrceryYellow -hi! link vimFuncSID SrceryBrightWhite -hi! link vimSetSep SrceryBrightWhite -hi! link vimSep SrceryBrightWhite -hi! link vimContinue SrceryBrightWhite - -" }}}
--- a/vendor/vim-packs/srcery-vim/after/syntax/xml.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -if srcery#helper#ShouldAbort('xml') - finish -endif - -" XML: {{{ - -hi! link xmlTag SrceryBlue -hi! link xmlEndTag SrceryBlue -hi! link xmlTagName SrceryBlue -hi! link xmlEqual SrceryBlue -hi! link docbkKeyword SrceryCyanBold - -hi! link xmlDocTypeDecl SrceryBrightBlack -hi! link xmlDocTypeKeyword SrceryMagenta -hi! link xmlCdataStart SrceryBrightBlack -hi! link xmlCdataCdata SrceryMagenta -hi! link dtdFunction SrceryBrightBlack -hi! link dtdTagName SrceryMagenta - -hi! link xmlAttrib SrceryCyan -hi! link xmlProcessingDelim SrceryBrightBlack -hi! link dtdParamEntityPunct SrceryBrightBlack -hi! link dtdParamEntityDPunct SrceryBrightBlack -hi! link xmlAttribPunct SrceryBrightBlack - -hi! link xmlEntity SrceryYellow -hi! link xmlEntityPunct SrceryYellow - -" }}}
--- a/vendor/vim-packs/srcery-vim/autoload/srcery.vim Thu Jan 09 03:22:45 2025 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,342 +0,0 @@ -" Setup Variables: {{{ -" Colors {{{ - -if !exists('g:srcery_black') - let g:srcery_black='#1C1B19' -endif - -if !exists('g:srcery_red') - let g:srcery_red='#EF2F27' -endif - -if !exists('g:srcery_green') - let g:srcery_green='#519F50' -endif - -if !exists('g:srcery_yellow') - let g:srcery_yellow='#FBB829' -endif - -if !exists('g:srcery_blue') - let g:srcery_blue='#2C78BF' -endif - -if !exists('g:srcery_magenta') - let g:srcery_magenta='#E02C6D' -endif - -if !exists('g:srcery_cyan') - let g:srcery_cyan='#0AAEB3' -endif - -if !exists('g:srcery_white') - let g:srcery_white='#BAA67F' -endif - -if !exists('g:srcery_bright_black') - let g:srcery_bright_black='#918175' -endif - -if !exists('g:srcery_bright_red') - let g:srcery_bright_red='#F75341' -endif - -if !exists('g:srcery_bright_green') - let g:srcery_bright_green='#98BC37' -endif - -if !exists('g:srcery_bright_yellow') - let g:srcery_bright_yellow='#FED06E' -endif - -if !exists('g:srcery_bright_blue') - let g:srcery_bright_blue='#68A8E4' -endif - -if !exists('g:srcery_bright_magenta') - let g:srcery_bright_magenta='#FF5C8F' -endif - -if !exists('g:srcery_bright_cyan') - let g:srcery_bright_cyan='#2BE4D0' -endif - -if !exists('g:srcery_bright_white') - let g:srcery_bright_white='#FCE8C3' -endif - -if !exists('g:srcery_orange') - let g:srcery_orange='#FF5F00' -endif - -if !exists('g:srcery_orange_cterm') - let g:srcery_orange_cterm=202 -endif - -if !exists('g:srcery_bright_orange') - let g:srcery_bright_orange='#FF8700' -endif - -if !exists('g:srcery_bright_orange_cterm') - let g:srcery_bright_orange_cterm=208 -endif - -if !exists('g:srcery_hard_black') - let g:srcery_hard_black='#121212' -endif - -if !exists('g:srcery_hard_black_cterm') - let g:srcery_hard_black_cterm=233 -endif - -if !exists('g:srcery_xgray1') - let g:srcery_xgray1='#262626' -endif - -if !exists('g:srcery_xgray1_cterm') - let g:srcery_xgray1_cterm=235 -endif - -if !exists('g:srcery_xgray2') - let g:srcery_xgray2='#303030' -endif - -if !exists('g:srcery_xgray2_cterm') - let g:srcery_xgray2_cterm=236 -endif - -if !exists('g:srcery_xgray3') - let g:srcery_xgray3='#3A3A3A' -endif - -if !exists('g:srcery_xgray3_cterm') - let g:srcery_xgray3_cterm=237 -endif - -if !exists('g:srcery_xgray4') - let g:srcery_xgray4='#444444' -endif - -if !exists('g:srcery_xgray4_cterm') - let g:srcery_xgray4_cterm=238 -endif - -if !exists('g:srcery_xgray5') - let g:srcery_xgray5='#4E4E4E' -endif - -if !exists('g:srcery_xgray5_cterm') - let g:srcery_xgray5_cterm=239 -endif - -if !exists('g:srcery_xgray6') - let g:srcery_xgray6='#585858' -endif - -if !exists('g:srcery_xgray6_cterm') - let g:srcery_xgray6_cterm=240 -endif - -" }}} -" Options {{{ - -if !exists('g:srcery_bold') - let g:srcery_bold=1 -endif - -if !exists('g:srcery_italic') - if has('gui_running') || $TERM_ITALICS ==? 'true' - let g:srcery_italic=1 - else - let g:srcery_italic=0 - endif -endif - -if !exists('g:srcery_undercurl') - let g:srcery_undercurl=1 -endif - -if !exists('g:srcery_underline') - let g:srcery_underline=1 -endif - -if !exists('g:srcery_strikethrough') - let g:srcery_strikethrough=1 -endif - -if !exists('g:srcery_inverse') - let g:srcery_inverse=1 -endif - -if !exists('g:srcery_inverse_matches') - let g:srcery_inverse_matches=0 -endif - -if !exists('g:srcery_inverse_match_paren') - let g:srcery_inverse_match_paren=0 -endif - -if !exists('g:srcery_dim_lisp_paren') - let g:srcery_dim_lisp_paren=0 -endif - -if !exists('g:srcery_guisp_fallback') || index(['fg', 'bg'], g:srcery_guisp_fallback) == -1 - let g:srcery_guisp_fallback='NONE' -endif - -if !exists('g:srcery_italic_types') - let g:srcery_italic_types=0 -endif - -if !exists('g:srcery_bg') - "Sets the default color for both guisp and cterm backgrounds. - let g:srcery_bg=[g:srcery_black, 0] -elseif (index(g:srcery_bg, 'DEFAULT') >= 0) || (index(g:srcery_bg, 'NONE') >= 0 && has('gui_running')) - "Defaults should be set if the user specifies it, or if the background is set as 'NONE' whilst the gui is running. - for i in [0, 1] - if g:srcery_bg[i] ==# 'DEFAULT' || (g:srcery_bg[i] ==# 'NONE' && has('gui_running')) - let g:srcery_bg[i] = (i==1 ? 0 : g:srcery_black) - endif - endfor -endif - -if !exists('g:srcery_hard_black_terminal_bg') - let g:srcery_hard_black_terminal_bg=1 -endif - -" }}} -" }}} -" Palette: {{{ - -let g:srcery#palette = {} -let g:srcery#palette.none = ['NONE', 'NONE'] - -" 16 base colors -let g:srcery#palette.black = [g:srcery_black, 0] -let g:srcery#palette.red = [g:srcery_red, 1] -let g:srcery#palette.green = [g:srcery_green, 2] -let g:srcery#palette.yellow = [g:srcery_yellow, 3] -let g:srcery#palette.blue = [g:srcery_blue, 4] -let g:srcery#palette.magenta = [g:srcery_magenta, 5] -let g:srcery#palette.cyan = [g:srcery_cyan, 6] -let g:srcery#palette.white = [g:srcery_white, 7] -let g:srcery#palette.bright_black = [g:srcery_bright_black, 8] -let g:srcery#palette.bright_red = [g:srcery_bright_red, 9] -let g:srcery#palette.bright_green = [g:srcery_bright_green, 10] -let g:srcery#palette.bright_yellow = [g:srcery_bright_yellow, 11] -let g:srcery#palette.bright_blue = [g:srcery_bright_blue, 12] -let g:srcery#palette.bright_magenta = [g:srcery_bright_magenta, 13] -let g:srcery#palette.bright_cyan = [g:srcery_bright_cyan, 14] -let g:srcery#palette.bright_white = [g:srcery_bright_white, 15] - -" xterm colors -let g:srcery#palette.orange = [g:srcery_orange, - \ g:srcery_orange_cterm] -let g:srcery#palette.bright_orange = [g:srcery_bright_orange, - \ g:srcery_bright_orange_cterm] -let g:srcery#palette.hard_black = [g:srcery_hard_black, - \ g:srcery_hard_black_cterm] -let g:srcery#palette.xgray1 = [g:srcery_xgray1, g:srcery_xgray1_cterm] -let g:srcery#palette.xgray2 = [g:srcery_xgray2, g:srcery_xgray2_cterm] -let g:srcery#palette.xgray3 = [g:srcery_xgray3, g:srcery_xgray3_cterm] -let g:srcery#palette.xgray4 = [g:srcery_xgray4, g:srcery_xgray4_cterm] -let g:srcery#palette.xgray5 = [g:srcery_xgray5, g:srcery_xgray5_cterm] -let g:srcery#palette.xgray6 = [g:srcery_xgray6, g:srcery_xgray6_cterm] - -" }}} -" Setup Emphasis: {{{ - -let g:srcery#palette.bold = 'bold,' -if g:srcery_bold == 0 - let g:srcery#palette.bold = '' -endif - -let g:srcery#palette.italic = 'italic,' -if g:srcery_italic == 0 - let g:srcery#palette.italic = '' -endif - -let g:srcery#palette.underline = 'underline,' -if g:srcery_underline == 0 - let g:srcery#palette.underline = '' -endif - -let g:srcery#palette.undercurl = 'undercurl,' -if g:srcery_undercurl == 0 - let g:srcery#palette.undercurl = '' -endif - -let g:srcery#palette.inverse = 'inverse,' -if g:srcery_inverse == 0 - let g:srcery#palette.inverse = '' -endif - -let g:srcery#palette.strikethrough = 'strikethrough,' -if g:srcery_strikethrough == 0 - let g:srcery#palette.strikethrough = '' -endif - -" }}} - -" Setup Terminal Colors For Neovim: {{{ - -if has('nvim') - let g:terminal_color_0 = g:srcery#palette.black[0] - let g:terminal_color_8 = g:srcery#palette.bright_black[0] - - let g:terminal_color_1 = g:srcery#palette.red[0] - let g:terminal_color_9 = g:srcery#palette.bright_red[0] - - let g:terminal_color_2 = g:srcery#palette.green[0] - let g:terminal_color_10 = g:srcery#palette.bright_green[0] - - let g:terminal_color_3 = g:srcery#palette.yellow[0] - let g:terminal_color_11 = g:srcery#palette.bright_yellow[0] - - let g:terminal_color_4 = g:srcery#palette.blue[0] - let g:terminal_color_12 = g:srcery#palette.bright_blue[0] - - let g:terminal_color_5 = g:srcery#palette.magenta[0] - let g:terminal_color_13 = g:srcery#palette.bright_magenta[0] - - let g:terminal_color_6 = g:srcery#palette.cyan[0] - let g:terminal_color_14 = g:srcery#palette.bright_cyan[0] - - let g:terminal_color_7 = g:srcery#palette.white[0] - let g:terminal_color_15 = g:srcery#palette.bright_white[0] -endif - -" }}} -" Setup Terminal Colors For Vim with termguicolors: {{{ - -if exists('*term_setansicolors') - let g:terminal_ansi_colors = repeat([0], 16) - - let g:terminal_ansi_colors[0] = g:srcery#palette.black[0] - let g:terminal_ansi_colors[8] = g:srcery#palette.bright_black[0] - - let g:terminal_ansi_colors[1] = g:srcery#palette.red[0] - let g:terminal_ansi_colors[9] = g:srcery#palette.bright_red[0] - - let g:terminal_ansi_colors[2] = g:srcery#palette.green[0] - let g:terminal_ansi_colors[10] = g:srcery#palette.bright_green[0] - - let g:terminal_ansi_colors[3] = g:srcery#palette.yellow[0] - let g:terminal_ansi_colors[11] = g:srcery#palette.bright_yellow[0] - - let g:terminal_ansi_colors[4] = g:srcery#palette.blue[0] - let g:terminal_ansi_colors[12] = g:srcery#palette.bright_blue[0] - - let g:terminal_ansi_colors[5] = g:srcery#palette.magenta[0] - let g:terminal_ansi_colors[13] = g:srcery#palette.bright_magenta[0] - - let g:terminal_ansi_colors[6] = g:srcery#palette.cyan[0] - let g:terminal_ansi_colors[14] = g:srcery#palette.bright_cyan[0] - - let g:terminal_ansi_colors[7] = g:srcery#palette.white[0] - let g:terminal_ansi_colors[15] = g:srcery#palette.bright_white[0] -endif - -" }}} - -" vim: fdm=marker ts=2 sts=2 sw=2 fdl=0:
--- a/vendor/vim-packs/srcery-vim/autoload/srcery/helper.vim Thu Jan 09 03:22:45 2025 +0900 +++ b/vendor/vim-packs/srcery-vim/autoload/srcery/helper.vim Thu Jan 09 03:28:23 2025 +0900 @@ -22,62 +22,4 @@ return [ l:gui_color, l:term_color ] endfunction -" With the help of dracula! -" Helper function that takes a variadic list of filetypes as args and returns -" whether or not the execution of the ftplugin should be aborted. -function! srcery#helper#ShouldAbort(...) abort - if ! exists('g:colors_name') || g:colors_name !=# 'srcery' - return 1 - elseif a:0 > 0 && (! exists('b:current_syntax') || index(a:000, b:current_syntax) == -1) - return 1 - endif - return 0 -endfunction - -function! srcery#helper#Highlight(group, fg, ...) abort - " Arguments: group, guifg, guibg, gui, guisp - - " foreground - let l:fg = a:fg - - " background - if a:0 >= 1 - let l:bg = a:1 - else - let l:bg = g:srcery#palette.none - endif - - " emphasis - if a:0 >= 2 && strlen(a:2) - let l:emstr = a:2 - else - let l:emstr = 'NONE,' - endif - - " special fallback - if a:0 >= 3 - if g:srcery_guisp_fallback !=# 'NONE' - let fg = a:3 - endif - - " bg fallback mode should invert higlighting - if g:srcery_guisp_fallback ==# 'bg' - let emstr .= 'inverse,' - endif - endif - - let l:histring = [ 'hi', a:group, - \ 'guifg=' . l:fg[0], 'ctermfg=' . l:fg[1], - \ 'guibg=' . l:bg[0], 'ctermbg=' . l:bg[1], - \ 'gui=' . l:emstr[:-2], 'cterm=' . l:emstr[:-2] - \ ] - - " special - if a:0 >= 3 - call add(l:histring, 'guisp=' . a:3[0]) - endif - - execute join(l:histring, ' ') -endfunction - " vim: fdm=marker ts=2 sts=2 sw=2 fdl=0:
--- a/vendor/vim-packs/srcery-vim/colors/srcery.vim Thu Jan 09 03:22:45 2025 +0900 +++ b/vendor/vim-packs/srcery-vim/colors/srcery.vim Thu Jan 09 03:28:23 2025 +0900 @@ -20,47 +20,283 @@ finish endif +" Setup Variables: {{{ + +" Colors {{{ + +if !exists('g:srcery_black') + let g:srcery_black='#1C1B19' +endif + +if !exists('g:srcery_red') + let g:srcery_red='#EF2F27' +endif + +if !exists('g:srcery_green') + let g:srcery_green='#519F50' +endif + +if !exists('g:srcery_yellow') + let g:srcery_yellow='#FBB829' +endif + +if !exists('g:srcery_blue') + let g:srcery_blue='#2C78BF' +endif + +if !exists('g:srcery_magenta') + let g:srcery_magenta='#E02C6D' +endif + +if !exists('g:srcery_cyan') + let g:srcery_cyan='#0AAEB3' +endif + +if !exists('g:srcery_white') + let g:srcery_white='#BAA67F' +endif + +if !exists('g:srcery_bright_black') + let g:srcery_bright_black='#918175' +endif + +if !exists('g:srcery_bright_red') + let g:srcery_bright_red='#F75341' +endif + +if !exists('g:srcery_bright_green') + let g:srcery_bright_green='#98BC37' +endif + +if !exists('g:srcery_bright_yellow') + let g:srcery_bright_yellow='#FED06E' +endif + +if !exists('g:srcery_bright_blue') + let g:srcery_bright_blue='#68A8E4' +endif + +if !exists('g:srcery_bright_magenta') + let g:srcery_bright_magenta='#FF5C8F' +endif + +if !exists('g:srcery_bright_cyan') + let g:srcery_bright_cyan='#2BE4D0' +endif + +if !exists('g:srcery_bright_white') + let g:srcery_bright_white='#FCE8C3' +endif + +if !exists('g:srcery_orange') + let g:srcery_orange='#FF5F00' +endif + +if !exists('g:srcery_orange_cterm') + let g:srcery_orange_cterm=202 +endif + +if !exists('g:srcery_bright_orange') + let g:srcery_bright_orange='#FF8700' +endif + +if !exists('g:srcery_bright_orange_cterm') + let g:srcery_bright_orange_cterm=208 +endif + +if !exists('g:srcery_hard_black') + let g:srcery_hard_black='#121212' +endif + +if !exists('g:srcery_hard_black_cterm') + let g:srcery_hard_black_cterm=233 +endif + +if !exists('g:srcery_xgray1') + let g:srcery_xgray1='#262626' +endif + +if !exists('g:srcery_xgray1_cterm') + let g:srcery_xgray1_cterm=235 +endif + +if !exists('g:srcery_xgray2') + let g:srcery_xgray2='#303030' +endif + +if !exists('g:srcery_xgray2_cterm') + let g:srcery_xgray2_cterm=236 +endif + +if !exists('g:srcery_xgray3') + let g:srcery_xgray3='#3A3A3A' +endif + +if !exists('g:srcery_xgray3_cterm') + let g:srcery_xgray3_cterm=237 +endif + +if !exists('g:srcery_xgray4') + let g:srcery_xgray4='#444444' +endif + +if !exists('g:srcery_xgray4_cterm') + let g:srcery_xgray4_cterm=238 +endif + +if !exists('g:srcery_xgray5') + let g:srcery_xgray5='#4E4E4E' +endif + +if !exists('g:srcery_xgray5_cterm') + let g:srcery_xgray5_cterm=239 +endif + +if !exists('g:srcery_xgray6') + let g:srcery_xgray6='#585858' +endif + +if !exists('g:srcery_xgray6_cterm') + let g:srcery_xgray6_cterm=240 +endif + +" }}} +" Options {{{ + +if !exists('g:srcery_bold') + let g:srcery_bold=1 +endif + +if !exists('g:srcery_italic') + if has('gui_running') || $TERM_ITALICS ==? 'true' + let g:srcery_italic=1 + else + let g:srcery_italic=0 + endif +endif + +if !exists('g:srcery_undercurl') + let g:srcery_undercurl=1 +endif + +if !exists('g:srcery_underline') + let g:srcery_underline=1 +endif + +if !exists('g:srcery_strikethrough') + let g:srcery_strikethrough=1 +endif + +if !exists('g:srcery_inverse') + let g:srcery_inverse=1 +endif + +if !exists('g:srcery_inverse_matches') + let g:srcery_inverse_matches=0 +endif + +if !exists('g:srcery_inverse_match_paren') + let g:srcery_inverse_match_paren=0 +endif + +if !exists('g:srcery_dim_lisp_paren') + let g:srcery_dim_lisp_paren=0 +endif + +if !exists('g:srcery_guisp_fallback') || index(['fg', 'bg'], g:srcery_guisp_fallback) == -1 + let g:srcery_guisp_fallback='NONE' +endif + +if !exists('g:srcery_italic_types') + let g:srcery_italic_types=0 +endif + +if !exists('g:srcery_bg') + "Sets the default color for both guisp and cterm backgrounds. + let g:srcery_bg=[g:srcery_black, 0] +elseif (index(g:srcery_bg, 'DEFAULT') >= 0) || (index(g:srcery_bg, 'NONE') >= 0 && has('gui_running')) + "Defaults should be set if the user specifies it, or if the background is set as 'NONE' whilst the gui is running. + for i in [0, 1] + if g:srcery_bg[i] ==# 'DEFAULT' || (g:srcery_bg[i] ==# 'NONE' && has('gui_running')) + let g:srcery_bg[i] = (i==1 ? 0 : g:srcery_black) + endif + endfor +endif + +if !exists('g:srcery_hard_black_terminal_bg') + let g:srcery_hard_black_terminal_bg=1 +endif + +" }}} + +" }}} + " Palette {{{ -let s:none = g:srcery#palette.none +let s:none = ['NONE', 'NONE'] " 16 base colors -let s:black = g:srcery#palette.black -let s:red = g:srcery#palette.red -let s:green = g:srcery#palette.green -let s:yellow = g:srcery#palette.yellow -let s:blue = g:srcery#palette.blue -let s:magenta = g:srcery#palette.magenta -let s:cyan = g:srcery#palette.cyan -let s:white = g:srcery#palette.white -let s:bright_black = g:srcery#palette.bright_black -let s:bright_red = g:srcery#palette.bright_red -let s:bright_green = g:srcery#palette.bright_green -let s:bright_yellow = g:srcery#palette.bright_yellow -let s:bright_blue = g:srcery#palette.bright_blue -let s:bright_magenta = g:srcery#palette.bright_magenta -let s:bright_cyan = g:srcery#palette.bright_cyan -let s:bright_white = g:srcery#palette.bright_white +let s:black = [g:srcery_black, 0] +let s:red = [g:srcery_red, 1] +let s:green = [g:srcery_green, 2] +let s:yellow = [g:srcery_yellow, 3] +let s:blue = [g:srcery_blue, 4] +let s:magenta = [g:srcery_magenta, 5] +let s:cyan = [g:srcery_cyan, 6] +let s:white = [g:srcery_white, 7] +let s:bright_black = [g:srcery_bright_black, 8] +let s:bright_red = [g:srcery_bright_red, 9] +let s:bright_green = [g:srcery_bright_green, 10] +let s:bright_yellow = [g:srcery_bright_yellow, 11] +let s:bright_blue = [g:srcery_bright_blue, 12] +let s:bright_magenta = [g:srcery_bright_magenta, 13] +let s:bright_cyan = [g:srcery_bright_cyan, 14] +let s:bright_white = [g:srcery_bright_white, 15] " xterm colors -let s:orange = g:srcery#palette.orange -let s:bright_orange = g:srcery#palette.bright_orange -let s:hard_black = g:srcery#palette.hard_black -let s:xgray1 = g:srcery#palette.xgray1 -let s:xgray2 = g:srcery#palette.xgray2 -let s:xgray3 = g:srcery#palette.xgray3 -let s:xgray4 = g:srcery#palette.xgray4 -let s:xgray5 = g:srcery#palette.xgray5 -let s:xgray6 = g:srcery#palette.xgray6 +let s:orange = [g:srcery_orange, g:srcery_orange_cterm] +let s:bright_orange = [g:srcery_bright_orange, g:srcery_bright_orange_cterm] +let s:hard_black = [g:srcery_hard_black, g:srcery_hard_black_cterm] +let s:xgray1 = [g:srcery_xgray1, g:srcery_xgray1_cterm] +let s:xgray2 = [g:srcery_xgray2, g:srcery_xgray2_cterm] +let s:xgray3 = [g:srcery_xgray3, g:srcery_xgray3_cterm] +let s:xgray4 = [g:srcery_xgray4, g:srcery_xgray4_cterm] +let s:xgray5 = [g:srcery_xgray5, g:srcery_xgray5_cterm] +let s:xgray6 = [g:srcery_xgray6, g:srcery_xgray6_cterm] "}}} + " Setup Emphasis: {{{ -let s:bold = g:srcery#palette.bold -let s:italic = g:srcery#palette.italic -let s:underline = g:srcery#palette.underline -let s:undercurl = g:srcery#palette.undercurl -let s:inverse = g:srcery#palette.inverse +let s:bold = 'bold,' +if g:srcery_bold == 0 + let s:bold = '' +endif + +let s:italic = 'italic,' +if g:srcery_italic == 0 + let s:italic = '' +endif + +let s:underline = 'underline,' +if g:srcery_underline == 0 + let s:underline = '' +endif + +let s:undercurl = 'undercurl,' +if g:srcery_undercurl == 0 + let s:undercurl = '' +endif + +let s:inverse = 'inverse,' +if g:srcery_inverse == 0 + let s:inverse = '' +endif + +let s:strikethrough = 'strikethrough,' +if g:srcery_strikethrough == 0 + let s:strikethrough = '' +endif " }}} @@ -113,6 +349,7 @@ endfunction "}}} + " Srcery Hi Groups: {{{ " memoize common hi groups @@ -166,7 +403,70 @@ " }}} -" Vanilla colorscheme --------------------------------------------------------- +" Setup Terminal Colors For Neovim: {{{ + +if has('nvim') + let g:terminal_color_0 = s:black[0] + let g:terminal_color_8 = s:bright_black[0] + + let g:terminal_color_1 = s:red[0] + let g:terminal_color_9 = s:bright_red[0] + + let g:terminal_color_2 = s:green[0] + let g:terminal_color_10 = s:bright_green[0] + + let g:terminal_color_3 = s:yellow[0] + let g:terminal_color_11 = s:bright_yellow[0] + + let g:terminal_color_4 = s:blue[0] + let g:terminal_color_12 = s:bright_blue[0] + + let g:terminal_color_5 = s:magenta[0] + let g:terminal_color_13 = s:bright_magenta[0] + + let g:terminal_color_6 = s:cyan[0] + let g:terminal_color_14 = s:bright_cyan[0] + + let g:terminal_color_7 = s:white[0] + let g:terminal_color_15 = s:bright_white[0] +endif + +" }}} + +" Setup Terminal Colors For Vim with termguicolors: {{{ + +if exists('*term_setansicolors') + let g:terminal_ansi_colors = repeat([0], 16) + + let g:terminal_ansi_colors[0] = s:black[0] + let g:terminal_ansi_colors[8] = s:bright_black[0] + + let g:terminal_ansi_colors[1] = s:red[0] + let g:terminal_ansi_colors[9] = s:bright_red[0] + + let g:terminal_ansi_colors[2] = s:green[0] + let g:terminal_ansi_colors[10] = s:bright_green[0] + + let g:terminal_ansi_colors[3] = s:yellow[0] + let g:terminal_ansi_colors[11] = s:bright_yellow[0] + + let g:terminal_ansi_colors[4] = s:blue[0] + let g:terminal_ansi_colors[12] = s:bright_blue[0] + + let g:terminal_ansi_colors[5] = s:magenta[0] + let g:terminal_ansi_colors[13] = s:bright_magenta[0] + + let g:terminal_ansi_colors[6] = s:cyan[0] + let g:terminal_ansi_colors[14] = s:bright_cyan[0] + + let g:terminal_ansi_colors[7] = s:white[0] + let g:terminal_ansi_colors[15] = s:bright_white[0] +endif + +" }}} + +" Vanilla Colorscheme: {{{ + " General UI: {{{ " Normal text @@ -430,7 +730,82 @@ " }}} -" Filetype specific ----------------------------------------------------------- +" }}} + +" Languages: {{{ + +" C: {{{ + +hi! link cOperator SrceryMagenta +hi! link cStructure SrceryYellow + +" }}} +" CoffeeScript: {{{ + +hi! link coffeeExtendedOp SrceryBrightWhite +hi! link coffeeSpecialOp SrceryBrightWhite +hi! link coffeeCurly SrceryYellow +hi! link coffeeParen SrceryBrightWhite +hi! link coffeeBracket SrceryYellow + +" }}} +" CSS: {{{ + +hi! link cssBraces SrceryBrightWhite +hi! link cssFunctionName SrceryYellow +hi! link cssIdentifier SrceryBlue +hi! link cssClassName SrceryBlue +hi! link cssClassNameDot SrceryBlue +hi! link cssColor SrceryBrightMagenta +hi! link cssSelectorOp SrceryBlue +hi! link cssSelectorOp2 SrceryBlue +hi! link cssImportant SrceryGreen +hi! link cssVendor SrceryBlue +hi! link cssMediaProp SrceryYellow +hi! link cssBorderProp SrceryYellow +hi! link cssAttrComma SrceryBrightWhite + +hi! link cssTextProp SrceryYellow +hi! link cssAnimationProp SrceryYellow +hi! link cssUIProp SrceryYellow +hi! link cssTransformProp SrceryYellow +hi! link cssTransitionProp SrceryYellow +hi! link cssPrintProp SrceryYellow +hi! link cssPositioningProp SrceryYellow +hi! link cssBoxProp SrceryYellow +hi! link cssFontDescriptorProp SrceryYellow +hi! link cssFlexibleBoxProp SrceryYellow +hi! link cssBorderOutlineProp SrceryYellow +hi! link cssBackgroundProp SrceryYellow +hi! link cssMarginProp SrceryYellow +hi! link cssListProp SrceryYellow +hi! link cssTableProp SrceryYellow +hi! link cssFontProp SrceryYellow +hi! link cssPaddingProp SrceryYellow +hi! link cssDimensionProp SrceryYellow +hi! link cssRenderProp SrceryYellow +hi! link cssColorProp SrceryYellow +hi! link cssGeneratedContentProp SrceryYellow +hi! link cssTagName SrceryBrightBlue + +" }}} +" Elixir: {{{ + +hi! link elixirDocString Comment + +hi! link elixirStringDelimiter SrceryGreen +hi! link elixirInterpolationDelimiter SrceryCyan + +" }}} +" Go: {{{ + +hi! link goDirective SrceryCyan +hi! link goConstants SrceryMagenta +hi! link goDeclaration SrceryRed +hi! link goDeclType SrceryBlue +hi! link goBuiltins SrceryYellow + +" }}} " Diff: {{{ hi! link diffAdded SrceryGreen @@ -443,9 +818,583 @@ hi! link diffLine SrceryBlue " }}} -" Misc: {{{ +" Haskell: {{{ + +" hi! link haskellType SrceryYellow +" hi! link haskellOperators SrceryYellow +" hi! link haskellConditional SrceryCyan +" hi! link haskellLet SrceryYellow + +hi! link haskellType SrceryBlue +hi! link haskellIdentifier SrceryBlue +hi! link haskellSeparator SrceryBlue +hi! link haskellDelimiter SrceryBrightWhite +hi! link haskellOperators SrceryBlue + +hi! link haskellBacktick SrceryYellow +hi! link haskellStatement SrceryYellow +hi! link haskellConditional SrceryYellow + +hi! link haskellLet SrceryCyan +hi! link haskellDefault SrceryCyan +hi! link haskellWhere SrceryCyan +hi! link haskellBottom SrceryCyan +hi! link haskellBlockKeywords SrceryCyan +hi! link haskellImportKeywords SrceryCyan +hi! link haskellDeclKeyword SrceryCyan +hi! link haskellDeriving SrceryCyan +hi! link haskellAssocType SrceryCyan + +hi! link haskellNumber SrceryMagenta +hi! link haskellPragma SrceryMagenta + +hi! link haskellString SrceryGreen +hi! link haskellChar SrceryGreen + +" }}} +" HTML: {{{ + +hi! link htmlTagName SrceryBlue +hi! link htmlTag SrceryBrightBlack +hi! link htmlEndTag SrceryBrightBlack +hi! link htmlArg SrceryYellow + +hi! link htmlScriptTag SrceryRed +hi! link htmlTagN SrceryBlue +hi! link htmlSpecialTagName SrceryBlue + +hi! link javaScript Normal + +call s:HL('htmlLink', s:bright_white, s:none, s:underline) + +hi! link htmlSpecialChar SrceryYellow + +call s:HL('htmlBold', s:bright_white, g:srcery_bg, s:bold) +call s:HL('htmlBoldUnderline', s:bright_white, g:srcery_bg, s:bold . s:underline) +call s:HL('htmlBoldItalic', s:bright_white, g:srcery_bg, s:bold . s:italic) +call s:HL('htmlBoldUnderlineItalic', s:bright_white, g:srcery_bg, s:bold . s:underline . s:italic) +call s:HL('htmlUnderline', s:bright_white, g:srcery_bg, s:underline) +call s:HL('htmlUnderlineItalic', s:bright_white, g:srcery_bg, s:underline . s:italic) +call s:HL('htmlItalic', s:bright_white, g:srcery_bg, s:italic) + +" }}} +" Java: {{{ + +hi! link javaAnnotation SrceryBlue +hi! link javaDocTags SrceryCyan +hi! link javaCommentTitle vimCommentTitle +hi! link javaParen SrceryBrightWhite +hi! link javaParen1 SrceryBrightWhite +hi! link javaParen2 SrceryBrightWhite +hi! link javaParen3 SrceryBrightWhite +hi! link javaParen4 SrceryBrightWhite +hi! link javaParen5 SrceryBrightWhite +hi! link javaOperator SrceryYellow + +hi! link javaVarArg SrceryGreen + +" }}} +" JavaScript: {{{ + +" Vanilla +" ------- +hi! link javaScriptMember SrceryBlue +hi! link javaScriptNull SrceryMagenta +hi! link javasCriptParens SrceryWhite +hi! link javaScriptBraces SrceryWhite +hi! link javaScriptReserved SrceryOrange + +" YAJS +" ---- +hi! link javascriptFuncArg Normal +hi! link javascriptDocComment SrceryGreen +hi! link javascriptArrayMethod Function +hi! link javascriptReflectMethod Function +hi! link javascriptStringMethod Function +hi! link javascriptObjectMethod Function +hi! link javascriptObjectStaticMethod Function +hi! link javascriptObjectLabel SrceryBlue +hi! link javascriptProp SrceryBlue +hi! link javascriptVariable SrceryBrightBlue +hi! link javascriptFuncKeyword SrceryBrightRed +hi! link javascriptFunctionMethod SrceryYellow +hi! link javascriptReturn SrceryBrightRed +hi! link javascriptEndColons SrceryWhite + +" pangloss/vim-javascript +" ----------------------- +hi! link jsFunction SrceryRed +hi! link jsImport SrceryRed +hi! link jsObjectSeparator SrceryWhite +hi! link jsParens SrceryWhite +hi! link jsFuncParens SrceryWhite +hi! link jsNoise SrceryWhite +hi! link jsEnvComment SrceryBrightBlack +hi! link jsOperator SrceryBrightCyan + +" }}} +" JSON: {{{ + +hi! link jsonKeyword SrceryGreen +hi! link jsonQuote SrceryGreen +hi! link jsonBraces SrceryBlue +hi! link jsonString SrceryBlue + +" }}} +" Lisp Dialects: {{{ + +if g:srcery_dim_lisp_paren == 1 + hi! link schemeParentheses SrceryXgray6 + hi! link clojureParen SrceryXgray6 +else + hi! link schemeParentheses SrceryWhite + hi! link clojureParen SrceryWhite +endif + +hi! link clojureKeyword SrceryBlue +hi! link clojureCond SrceryRed +hi! link clojureSpecial SrceryRed +hi! link clojureDefine SrceryRed + +hi! link clojureFunc SrceryYellow +hi! link clojureRepeat SrceryYellow +hi! link clojureCharacter SrceryCyan +hi! link clojureStringEscape SrceryCyan +hi! link clojureException SrceryRed + +hi! link clojureRegexp SrceryCyan +hi! link clojureRegexpEscape SrceryCyan +call s:HL('clojureRegexpCharClass', s:bright_white, s:none, s:bold) +hi! link clojureRegexpMod clojureRegexpCharClass +hi! link clojureRegexpQuantifier clojureRegexpCharClass + +hi! link clojureAnonArg SrceryYellow +hi! link clojureVariable SrceryBlue +hi! link clojureMacro SrceryOrangeBold + +hi! link clojureMeta SrceryYellow +hi! link clojureDeref SrceryYellow +hi! link clojureQuote SrceryYellow +hi! link clojureUnquote SrceryYellow + +" }}} +" Lua: {{{ + +hi! link luain srceryred +hi! link luafunction srcerycyan +hi! link luatable srceryyellow + +" }}} +" Make: {{{ + +hi! link makePreCondit SrceryRed +hi! link makeCommands SrceryBrightWhite +hi! link makeTarget SrceryYellow + +" }}} +" Markdown: {{{ + +call s:HL('markdownBold', s:bright_white, s:none, s:bold) +call s:HL('markdownItalic', s:bright_white, s:none, s:italic) + +hi! link markdownH1 SrceryBrightBlueBold +hi! link markdownH2 SrceryBrightBlueBold +hi! link markdownH3 SrceryBrightYellowBold +hi! link markdownH4 SrceryBrightYellowBold +hi! link markdownH5 SrceryYellowBold +hi! link markdownH6 SrceryYellowBold + +hi! link markdownCode SrceryWhite +hi! link markdownCodeBlock SrceryWhite +hi! link markdownCodeDelimiter SrceryWhite + +hi! link markdownBlockquote SrceryBrightBlack +hi! link markdownListMarker SrceryBrightBlack +hi! link markdownOrderedListMarker SrceryBrightBlack +hi! link markdownRule SrceryBrightBlack +hi! link markdownHeadingRule SrceryBrightBlack + +hi! link markdownUrlDelimiter SrceryBrightBlack +hi! link markdownLinkDelimiter SrceryBrightBlack +hi! link markdownLinkTextDelimiter SrceryBrightBlack + +hi! link markdownHeadingDelimiter SrceryBrightBlack +hi! link markdownUrl SrceryBrightGreen +hi! link markdownUrlTitleDelimiter SrceryGreen + +call s:HL('markdownLinkText', s:bright_white, s:none, s:underline) +hi! link markdownIdDeclaration markdownLinkText + +" }}} +" MoonScript: {{{ + +hi! link moonSpecialOp SrceryBrightWhite +hi! link moonExtendedOp SrceryBrightWhite +hi! link moonFunction SrceryBrightWhite +hi! link moonObject SrceryYellow + +" }}} +" ObjectiveC: {{{ + +hi! link objcTypeModifier SrceryRed +hi! link objcDirective SrceryBlue + +" }}} +" Python: {{{ + +hi! link pythonBuiltin SrceryYellow +hi! link pythonBuiltinObj SrceryYellow +hi! link pythonBuiltinFunc SrceryYellow +hi! link pythonFunction SrceryCyan +hi! link pythonDecorator SrceryRed +hi! link pythonInclude SrceryBlue +hi! link pythonImport SrceryBlue +hi! link pythonRun SrceryBlue +hi! link pythonCoding SrceryBlue +hi! link pythonOperator SrceryRed +hi! link pythonExceptions SrceryMagenta +hi! link pythonBoolean SrceryMagenta +hi! link pythonDot SrceryBrightWhite + +" }}} +" Ruby: {{{ + +hi! link rubyStringDelimiter SrceryGreen +hi! link rubyInterpolationDelimiter SrceryCyan +hi! link rubyDefine Keyword + +" }}} +" Rust: {{{ + +"https://github.com/rust-lang/rust.vim/blob/master/syntax/rust.vim +hi! link rustCommentLineDoc SrceryGreen +hi! link rustModPathSep SrceryBrightBlack + +" }}} +" Scala: {{{ + +" NB: scala vim syntax file is kinda horrible +hi! link scalaNameDefinition SrceryBlue +hi! link scalaCaseFollowing SrceryBlue +hi! link scalaCapitalWord SrceryBlue +hi! link scalaTypeExtension SrceryBlue + +hi! link scalaKeyword SrceryRed +hi! link scalaKeywordModifier SrceryRed + +hi! link scalaSpecial SrceryCyan +hi! link scalaOperator SrceryBlue + +hi! link scalaTypeDeclaration SrceryYellow +hi! link scalaTypeTypePostDeclaration SrceryYellow + +hi! link scalaInstanceDeclaration SrceryBlue +hi! link scalaInterpolation SrceryCyan + +" }}} +" SASS: {{{ + +hi! link sassClass SrceryBlue +hi! link sassClassChar SrceryBlue +hi! link sassVariable SrceryCyan +hi! link sassIdChar SrceryBrightBlue +hi! link sassId SrceryBrightBlue + +" }}} +" Shellscript: {{{ + +call s:HL('shParenError', s:bright_white, s:bright_red) +hi! link shCmdSubRegion SrceryWhite +hi! link shArithRegion SrceryWhite +hi! link shArithRegion SrceryWhite +hi! link shQuote SrceryWhite +hi! link shRedir SrceryMagenta +hi! link shOption SrceryBrightYellow +hi! link shCommandSub SrceryBrightRed + +" }}} +" Vim: {{{ + +call s:HL('vimCommentTitle', s:bright_white, s:none, s:bold . s:italic) + +hi! link vimNotation SrceryYellow +hi! link vimBracket SrceryYellow +hi! link vimMapModKey SrceryYellow +hi! link vimFuncSID SrceryBrightWhite +hi! link vimSetSep SrceryBrightWhite +hi! link vimSep SrceryBrightWhite +hi! link vimContinue SrceryBrightWhite + +" }}} +" XML: {{{ + +hi! link xmlTag SrceryBlue +hi! link xmlEndTag SrceryBlue +hi! link xmlTagName SrceryBlue +hi! link xmlEqual SrceryBlue +hi! link docbkKeyword SrceryCyanBold + +hi! link xmlDocTypeDecl SrceryBrightBlack +hi! link xmlDocTypeKeyword SrceryMagenta +hi! link xmlCdataStart SrceryBrightBlack +hi! link xmlCdataCdata SrceryMagenta +hi! link dtdFunction SrceryBrightBlack +hi! link dtdTagName SrceryMagenta + +hi! link xmlAttrib SrceryCyan +hi! link xmlProcessingDelim SrceryBrightBlack +hi! link dtdParamEntityPunct SrceryBrightBlack +hi! link dtdParamEntityDPunct SrceryBrightBlack +hi! link xmlAttribPunct SrceryBrightBlack + +hi! link xmlEntity SrceryYellow +hi! link xmlEntityPunct SrceryYellow + +" }}} + +" }}} + +" Plugins: {{{ + +" Sneak: {{{ + +hi! link Sneak Search +call s:HL('SneakScope', s:none, s:hard_black) +hi! link SneakLabel Search + +" }}} +" Rainbow Parentheses: {{{ + +if !exists('g:rbpt_colorpairs') + let g:rbpt_colorpairs = + \ [ + \ ['blue', '#2C78BF'], ['202', '#FF5F00'], + \ ['red', '#EF2F27'], ['magenta', '#E02C6D'] + \ ] +endif + +let g:rainbow_guifgs = [ '#E02C6D', '#EF2F27', '#D75F00', '#2C78BF'] +let g:rainbow_ctermfgs = [ 'magenta', 'red', '202', 'blue' ] + +if !exists('g:rainbow_conf') + let g:rainbow_conf = {} +endif +if !has_key(g:rainbow_conf, 'guifgs') + let g:rainbow_conf['guifgs'] = g:rainbow_guifgs +endif +if !has_key(g:rainbow_conf, 'ctermfgs') + let g:rainbow_conf['ctermfgs'] = g:rainbow_ctermfgs +endif + +let g:niji_dark_colours = g:rbpt_colorpairs +let g:niji_light_colours = g:rbpt_colorpairs + +"}}} +" GitGutter: {{{ + +hi! link GitGutterAdd SrceryGreen +hi! link GitGutterChange SrceryYellow +hi! link GitGutterDelete SrceryRed +hi! link GitGutterChangeDelete SrceryYellow + +" }}} +" Asynchronous Lint Engine: {{{ + +call s:HL('ALEError', s:none, s:none, s:undercurl, s:red) +call s:HL('ALEWarning', s:none, s:none, s:undercurl, s:yellow) +call s:HL('ALEInfo', s:none, s:none, s:undercurl, s:blue) + +hi! link ALEErrorSign SrceryRed +hi! link ALEWarningSign SrceryYellow +hi! link ALEInfoSign SrceryBlue + +" }}} + +" vim-indent-guides: {{{ +call s:HL('IndentGuidesEven', s:none, s:xgray3) +call s:HL('IndentGuidesOdd', s:none, s:xgray4) + +" }}} +" vim-startify: {{{ + +hi! link StartifyNumber Statement +hi! link StartifyFile Normal +hi! link StartifyPath String +hi! link StartifySlash Normal +hi! link StartifyBracket Comment +hi! link StartifyHeader Type +hi! link StartifyFooter Normal +hi! link StartifySpecial Comment +hi! link StartifySection Identifier + +" }}} +" fzf: {{{ + +call s:HL('fzf1', s:magenta, s:xgray2) +call s:HL('fzf2', s:bright_green, s:xgray2) +call s:HL('fzf3', s:bright_white, s:xgray2) + +"}}} + +" Netrw: {{{ + +hi! link netrwDir SrceryBlue +hi! link netrwClassify SrceryCyan +hi! link netrwLink SrceryBrightBlack +hi! link netrwSymLink SrceryCyan +hi! link netrwExe SrceryYellow +hi! link netrwComment SrceryBrightBlack +hi! link netrwList SrceryBrightBlue +hi! link netrwTreeBar SrceryBrightBlack +hi! link netrwHelpCmd SrceryCyan +hi! link netrwVersion SrceryGreen +hi! link netrwCmdSep SrceryBrightBlack + +"}}} +" coc.nvim: {{{ + +hi! link CocErrorSign SrceryRed +hi! link CocWarningSign SrceryBrightOrange +hi! link CocInfoSign SrceryYellow +hi! link CocHintSign SrceryBlue +hi! link CocErrorFloat SrceryRed +hi! link CocWarningFloat SrceryOrange +hi! link CocInfoFloat SrceryYellow +hi! link CocHintFloat SrceryBlue +hi! link CocDiagnosticsError SrceryRed +hi! link CocDiagnosticsWarning SrceryOrange +hi! link CocDiagnosticsInfo SrceryYellow +hi! link CocDiagnosticsHint SrceryBlue + +hi! link CocSelectedText SrceryRed +hi! link CocCodeLens SrceryWhite + +call s:HL('CocErrorHighlight', s:none, s:none, s:undercurl, s:red) +call s:HL('CocWarningHighlight', s:none, s:none, s:undercurl, s:bright_orange) +call s:HL('CocInfoHighlight', s:none, s:none, s:undercurl, s:yellow) +call s:HL('CocHintHighlight', s:none, s:none, s:undercurl, s:blue) + +" }}} +" CtrlP: "{{{ + +hi! link CtrlPMatch SrceryMagenta +hi! link CtrlPLinePre SrceryBrightGreen +call s:HL('CtrlPMode1', s:bright_white, s:xgray3) +call s:HL('CtrlPMode2', s:bright_white, s:xgray5) +call s:HL('CtrlPStats', s:yellow, s:xgray2) + +" }}} +" NERDTree: "{{{ + +hi! link NERDTreeDir SrceryBlue +hi! link NERDTreeDirSlash SrceryCyan +hi! link NERDTreeOpenable SrceryBlue +hi! link NERDTreeClosable SrceryBlue +hi! link NERDTreeFile SrceryWhite +hi! link NERDTreeExecFile SrceryYellow +hi! link NERDTreeUp SrceryOrange +hi! link NERDTreeCWD SrceryGreen +hi! link NERDTreeHelp SrceryCyan +hi! link NERDTreeFlags SrceryCyan +hi! link NERDTreeLinkFile SrceryBrightBlack +hi! link NERDTreeLinkTarget SrceryBrightBlack + +" }}} +" Telescope: "{{{ + +call s:HL('TelescopeNormal', s:white, s:none) +call s:HL('TelescopeSelection', s:green, s:none, s:bold) +call s:HL('TelescopeMatching', s:magenta) +call s:HL('TelescopeSelectionCaret', s:magenta) +call s:HL('TelescopePromptPrefix', s:bright_yellow) + +" }}} +" nvim-cmp: "{{{ + +hi! link CmpItemAbbr Pmenu +hi! link CmpItemAbbrDeprecated Comment +hi! link CmpItemAbbrMatch Pmenu +hi! link CmpItemAbbrMatchFuzzy Pmenu +hi! link CmpItemKind Special +hi! link CmpItemMenu Pmenu + +" }}} +" nvim: {{{ + +if has('nvim') + " nvim-treesitter: {{{ + + " This is deprecated in new nvim releases + call s:HL('TSStrong', s:none, s:none, s:bold) + call s:HL('TSEmphasis', s:none, s:none, s:bold) + call s:HL('TSUnderline', s:none, s:none, s:underline) + + highlight! link TSWarning SrceryOrangeBold + highlight! link TSDanger SrceryRedBold + highlight! link TSConstBuiltin SrceryCyan + highlight! link TSField SrceryGreen + highlight! link TSFuncBuiltin SrceryYellow + highlight! link TSFuncMacro SrceryOrange + highlight! link TSFunction SrceryYellow + call s:HL('TSNamespace', s:white, s:none, s:italic) + call s:HL('TSParameter', s:cyan, s:none, s:italic) + highlight! link TSProperty SrceryBrightBlue + highlight! link TSSymbol SrceryBlue + highlight! link TSTag SrceryBlue + highlight! link TSTagAttribute SrceryYellow + highlight! link TSVariableBuiltin SrceryCyan + highlight! link TSType SrceryWhite + highlight! link TSDelimiter SrceryWhite + highlight! link TSURI SrceryGreen + highlight! link TSVariable SrceryBrightWhite + + if has('nvim-0.8') + highlight! link @text.strong TSStrong + highlight! link @text.emphasis TSEmphasis + highlight! link @text.underline TSUnderline + highlight! link @text.warning TSWarning + highlight! link @text.danger TSDanger + highlight! link @constant.builtin TSConstBuiltin + highlight! link @field TSField + highlight! link @function.builtin TSFuncBuiltin + highlight! link @function.macro TSFuncMacro + highlight! link @function TSFunction + highlight! link @namespace TSNamespace + highlight! link @parameter TSParameter + highlight! link @property TSProperty + highlight! link @symbol TSSymbol + highlight! link @tag TSTag + highlight! link @tag.attribute TSTagAttribute + highlight! link @variable.builtin TSVariableBuiltin + highlight! link @type TSType + highlight! link @delimiter TSDelimiter + highlight! link @text.uri TSURI + highlight! link @variable TSVariable + + call s:HL('@markup.strong', s:none, s:none, s:bold) + call s:HL('@markup.italic', s:none, s:none, s:italic) + call s:HL('@markup.underline', s:none, s:none, s:underline) + call s:HL('@markup.strikethrough', s:none, s:none, s:strikethrough) + + endif + + " }}} +endif + +" }}} + +" GitCommit: "{{{ + +hi! link gitcommitSelectedFile SrceryGreen +hi! link gitcommitDiscardedFile SrceryRed + +" }}} +" Better whitespace: {{{ call s:HL('ExtraWhitespace', s:none, s:red) + +" }}} + " }}} " vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker :