diff options
author | Santo Cariotti <santo@dcariotti.me> | 2021-10-08 20:40:59 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2021-10-08 20:50:00 +0200 |
commit | 98aa8b0c051c3276c14e42604a00753c640697ac (patch) | |
tree | 5bfb0ce23df8f260d0edd2567365e43cf156dc6d | |
parent | 22eaa3a8e75f980f96028d021320ca74f4a4f344 (diff) |
feat: nvim import
-rw-r--r-- | git/.gitconfig | 2 | ||||
-rw-r--r-- | nvim/colors/miramare.vim (renamed from vim/.vim/colors/miramare.vim) | 6 | ||||
-rw-r--r--[-rwxr-xr-x] | nvim/init.vim (renamed from vim/.vimrc) | 71 | ||||
-rw-r--r-- | nvim/lua/evil_lualine.lua | 220 | ||||
-rw-r--r-- | nvim/lua/git.lua | 56 | ||||
-rwxr-xr-x | vim/.vim/bundle/indentpy.vim | 196 | ||||
-rw-r--r-- | vim/.vim/colors/gruvbox-hard.vim | 1336 | ||||
-rwxr-xr-x | vim/.vim/colors/horizon.vim | 226 |
8 files changed, 323 insertions, 1790 deletions
diff --git a/git/.gitconfig b/git/.gitconfig index d0ae13e..0e9b0bb 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -12,7 +12,7 @@ [credential] helper = store [core] - editor = vim + editor = nvim pager = delta [init] defaultBranch = main diff --git a/vim/.vim/colors/miramare.vim b/nvim/colors/miramare.vim index d1a1725..9fef3a7 100644 --- a/vim/.vim/colors/miramare.vim +++ b/nvim/colors/miramare.vim @@ -38,7 +38,7 @@ let s:palette = { \ 'bg_blue': ['#203a41', '17', 'DarkBlue'], \ 'fg': ['#e6d6ac', '223', 'White'], \ 'red': ['#e68183', '167', 'Red'], - \ 'orange': ['#e39b7b', '208', 'Red'], + \ 'orange': ['#fabd2f', '208', 'Red'], \ 'yellow': ['#d9bb80', '214', 'Yellow'], \ 'green': ['#a7c080', '142', 'Green'], \ 'cyan': ['#87c095', '108', 'Cyan'], @@ -157,9 +157,9 @@ call s:HL('CursorColumn', s:palette.none, s:palette.bg1) call s:HL('CursorLine', s:palette.none, s:palette.bg1) call s:HL('LineNr', s:palette.grey, s:palette.none) if &relativenumber == 1 && &cursorline == 0 - call s:HL('CursorLineNr', s:palette.fg, s:palette.none) + call s:HL('CursorLineNr', s:palette.yellow, s:palette.none) else - call s:HL('CursorLineNr', s:palette.fg, s:palette.bg1) + call s:HL('CursorLineNr', s:palette.yellow, s:palette.none) endif call s:HL('DiffAdd', s:palette.none, s:palette.bg_green) call s:HL('DiffChange', s:palette.none, s:palette.bg_blue) diff --git a/vim/.vimrc b/nvim/init.vim index d8c71b0..77dcf69 100755..100644 --- a/vim/.vimrc +++ b/nvim/init.vim @@ -1,31 +1,28 @@ autocmd! bufwritepost .vimrc source % -set rtp+=~/.vim/bundle/Vundle.vim -call vundle#begin() -Plugin 'VundleVim/Vundle.vim' - -Plugin 'rust-lang/rust.vim' -Plugin 'airblade/vim-gitgutter' " display git status of the file -Plugin 'vim-airline/vim-airline' " airline at bottom with insert, name, line etc. -Plugin 'vim-airline/vim-airline-themes' -Plugin 'junegunn/fzf', {'dir': '~/.fzf', 'do': './install --all'} | Plugin 'junegunn/fzf.vim' " fuzzy finder -Plugin 'luochen1990/rainbow' " color parentheses -Plugin 'dense-analysis/ale' " checker syntax -Plugin 'posva/vim-vue' -Plugin 'terryma/vim-multiple-cursors' -Plugin 'tpope/vim-fugitive' " git extension for commit logs and etc. -Plugin 'neoclide/coc.nvim', {'branch': 'release'} -Plugin 'editorconfig/editorconfig-vim' -Plugin 'ap/vim-css-color' -Plugin 'Yggdroot/indentLine' -Plugin 'jmcantrell/vim-virtualenv' - -Plugin 'ryanoasis/vim-devicons' -Plugin 'edkolev/tmuxline.vim' - -Plugin 'google/vim-searchindex' - -call vundle#end() " required +call plug#begin('~/.vim/plugged') +Plug 'rust-lang/rust.vim' +Plug 'nvim-lua/plenary.nvim' +Plug 'lewis6991/gitsigns.nvim' +"Plug 'vim-airline/vim-airline' +Plug 'shadmansaleh/lualine.nvim' +Plug 'junegunn/fzf', {'dir': '~/.fzf', 'do': './install --all'} | Plug 'junegunn/fzf.vim' " fuzzy finder +Plug 'luochen1990/rainbow' " color parentheses +Plug 'dense-analysis/ale' " checker syntax +Plug 'posva/vim-vue' +Plug 'terryma/vim-multiple-cursors' +Plug 'tpope/vim-fugitive' " git extension for commit logs and etc. +Plug 'neoclide/coc.nvim', {'branch': 'release'} +Plug 'editorconfig/editorconfig-vim' +Plug 'ap/vim-css-color' +Plug 'Yggdroot/indentLine' +Plug 'jmcantrell/vim-virtualenv' + +Plug 'ryanoasis/vim-devicons' + +Plug 'google/vim-searchindex' + +call plug#end() " required syntax on colorscheme miramare @@ -108,8 +105,14 @@ let b:ale_fixers = { \ 'c': ['clang-format'], \} -let g:airline_theme='onedark' -let g:airline_powerline_fonts = 1 + +set statusline^=%{coc#status()} +let g:airline#extensions#coc#enabled = 0 + +if has('nvim') + lua require('evil_lualine') + lua require('git') +endif let g:indentLine_char = '¦' @@ -166,9 +169,11 @@ nnoremap :gd :Git diff<CR> nnoremap :pa :set paste<CR> nnoremap :npa :set nopaste<CR> + nmap :cr :!command cargo r<CR> nmap <F6> :EditorConfigReload<CR> + " Use `[g` and `]g` to navigate diagnostics nmap <silent> [g <Plug>(coc-diagnostic-prev) nmap <silent> ]g <Plug>(coc-diagnostic-next) @@ -178,3 +183,13 @@ nmap <silent> gd <Plug>(coc-definition) nmap <silent> gy <Plug>(coc-type-definition) nmap <silent> gi <Plug>(coc-implementation) nmap <silent> gr <Plug>(coc-references) + +"VimDiff shortcuts +if &diff + "Get from remote + nnoremap dr :diffget<Space>RE<CR> + "Get from base + nnoremap db :diffget<Space>BA<CR> + "Get from local + nnoremap dl :diffget<Space>LO<CR> +endif diff --git a/nvim/lua/evil_lualine.lua b/nvim/lua/evil_lualine.lua new file mode 100644 index 0000000..d618dc9 --- /dev/null +++ b/nvim/lua/evil_lualine.lua @@ -0,0 +1,220 @@ +-- Eviline config for lualine +-- Author: shadmansaleh +-- Credit: glepnir +local lualine = require 'lualine' + +-- Color table for highlights +-- stylua: ignore +local colors = { + bg = '#202328', + fg = '#bbc2cf', + yellow = '#ECBE7B', + cyan = '#008080', + darkblue = '#081633', + green = '#98be65', + orange = '#FF8800', + violet = '#a9a1e1', + magenta = '#c678dd', + blue = '#51afef', + red = '#ec5f67', +} + +local conditions = { + buffer_not_empty = function() + return vim.fn.empty(vim.fn.expand '%:t') ~= 1 + end, + hide_in_width = function() + return vim.fn.winwidth(0) > 80 + end, + check_git_workspace = function() + local filepath = vim.fn.expand '%:p:h' + local gitdir = vim.fn.finddir('.git', filepath .. ';') + return gitdir and #gitdir > 0 and #gitdir < #filepath + end, +} + +-- Config +local config = { + options = { + -- Disable sections and component separators + component_separators = '', + section_separators = '', + theme = { + -- We are going to use lualine_c an lualine_x as left and + -- right section. Both are highlighted by c theme . So we + -- are just setting default looks o statusline + normal = { c = { fg = colors.fg, bg = colors.bg } }, + inactive = { c = { fg = colors.fg, bg = colors.bg } }, + }, + }, + sections = { + -- these are to remove the defaults + lualine_a = {}, + lualine_b = {}, + lualine_y = {}, + lualine_z = {}, + -- These will be filled later + lualine_c = {}, + lualine_x = {}, + }, + inactive_sections = { + -- these are to remove the defaults + lualine_a = {}, + lualine_v = {}, + lualine_y = {}, + lualine_z = {}, + lualine_c = {}, + lualine_x = {}, + }, +} + +-- Inserts a component in lualine_c at left section +local function ins_left(component) + table.insert(config.sections.lualine_c, component) +end + +-- Inserts a component in lualine_x ot right section +local function ins_right(component) + table.insert(config.sections.lualine_x, component) +end + +ins_left { + function() + return '▊' + end, + color = { fg = colors.blue }, -- Sets highlighting of component + padding = { left = 0, right = 1 }, -- We don't need space before this +} + +ins_left { + -- mode component + function() + -- auto change color according to neovims mode + local mode_color = { + n = colors.red, + i = colors.green, + v = colors.blue, + [''] = colors.blue, + V = colors.blue, + c = colors.magenta, + no = colors.red, + s = colors.orange, + S = colors.orange, + [''] = colors.orange, + ic = colors.yellow, + R = colors.violet, + Rv = colors.violet, + cv = colors.red, + ce = colors.red, + r = colors.cyan, + rm = colors.cyan, + ['r?'] = colors.cyan, + ['!'] = colors.red, + t = colors.red, + } + vim.api.nvim_command('hi! LualineMode guifg=' .. mode_color[vim.fn.mode()] .. ' guibg=' .. colors.bg) + return '' + end, + color = 'LualineMode', + padding = { right = 1 }, +} + +ins_left { + -- filesize component + 'filesize', + cond = conditions.buffer_not_empty, +} + +ins_left { + 'filename', + cond = conditions.buffer_not_empty, + color = { fg = colors.magenta, gui = 'bold' }, +} + +ins_left { 'location' } + +ins_left { 'progress', color = { fg = colors.fg, gui = 'bold' } } + +ins_left { + 'diagnostics', + sources = { 'nvim_lsp' }, + symbols = { error = ' ', warn = ' ', info = ' ' }, + diagnostics_color = { + color_error = { fg = colors.red }, + color_warn = { fg = colors.yellow }, + color_info = { fg = colors.cyan }, + }, +} + +-- Insert mid section. You can make any number of sections in neovim :) +-- for lualine it's any number greater then 2 +ins_left { + function() + return '%=' + end, +} + +ins_left { + -- Lsp server name . + function() + local msg = 'No Active Lsp' + local buf_ft = vim.api.nvim_buf_get_option(0, 'filetype') + local clients = vim.lsp.get_active_clients() + if next(clients) == nil then + return msg + end + for _, client in ipairs(clients) do + local filetypes = client.config.filetypes + if filetypes and vim.fn.index(filetypes, buf_ft) ~= -1 then + return client.name + end + end + return msg + end, + icon = ' LSP:', + color = { fg = '#ffffff', gui = 'bold' }, +} + +-- Add components to right sections +ins_right { + 'o:encoding', -- option component same as &encoding in viml + fmt = string.upper, -- I'm not sure why it's upper case either ;) + cond = conditions.hide_in_width, + color = { fg = colors.green, gui = 'bold' }, +} + +ins_right { + 'fileformat', + fmt = string.upper, + icons_enabled = false, -- I think icons are cool but Eviline doesn't have them. sigh + color = { fg = colors.green, gui = 'bold' }, +} + +ins_right { + 'branch', + icon = '', + color = { fg = colors.violet, gui = 'bold' }, +} + +ins_right { + 'diff', + -- Is it me or the symbol for modified us really weird + symbols = { added = ' ', modified = '柳 ', removed = ' ' }, + diff_color = { + added = { fg = colors.green }, + modified = { fg = colors.orange }, + removed = { fg = colors.red }, + }, + cond = conditions.hide_in_width, +} + +ins_right { + function() + return '▊' + end, + color = { fg = colors.blue }, + padding = { left = 1 }, +} + +-- Now don't forget to initialize lualine +lualine.setup(config) diff --git a/nvim/lua/git.lua b/nvim/lua/git.lua new file mode 100644 index 0000000..8bc3c56 --- /dev/null +++ b/nvim/lua/git.lua @@ -0,0 +1,56 @@ +require('gitsigns').setup { + signs = { + add = {hl = 'GitSignsAdd' , text = '+', numhl='GitSignsAddNr' , linehl='GitSignsAddLn'}, + change = {hl = 'GitSignsChange', text = '+', numhl='GitSignsChangeNr', linehl='GitSignsChangeLn'}, + delete = {hl = 'GitSignsDelete', text = '-', numhl='GitSignsDele.setup()teNr', linehl='GitSignsDeleteLn'}, + topdelete = {hl = 'GitSignsDelete', text = '-', numhl='GitSignsDeleteNr', linehl='GitSignsDeleteLn'}, + changedelete = {hl = 'GitSignsChange', text = '~', numhl='GitSignsChangeNr', linehl='GitSignsChangeLn'}, + }, + signcolumn = true, -- Toggle with `:Gitsigns toggle_signs` + numhl = false, -- Toggle with `:Gitsigns toggle_numhl` + linehl = false, -- Toggle with `:Gitsigns toggle_linehl` + word_diff = false, -- Toggle with `:Gitsigns toggle_word_diff` + keymaps = { + -- Default keymap options + noremap = true, + + ['n ]c'] = { expr = true, "&diff ? ']c' : '<cmd>lua require\"gitsigns.actions\".next_hunk()<CR>'"}, + ['n [c'] = { expr = true, "&diff ? '[c' : '<cmd>lua require\"gitsigns.actions\".prev_hunk()<CR>'"}, + + ['n hs'] = '<cmd>lua require"gitsigns".stage_hunk()<CR>', + ['v hs'] = '<cmd>lua require"gitsigns".stage_hunk({vim.fn.line("."), vim.fn.line("v")})<CR>', + ['n hS'] = '<cmd>lua require"gitsigns".stage_buffer()<CR>', + ['n hu'] = '<cmd>lua require"gitsigns".undo_stage_hunk()<CR>', + ['n hp'] = '<cmd>lua require"gitsigns".preview_hunk()<CR>', + ['n hb'] = '<cmd>lua require"gitsigns".blame_line(true)<CR>', + }, + watch_gitdir = { + interval = 1000, + follow_files = true + }, + attach_to_untracked = true, + current_line_blame = false, -- Toggle with `:Gitsigns toggle_current_line_blame` + current_line_blame_opts = { + virt_text = true, + virt_text_pos = 'eol', -- 'eol' | 'overlay' | 'right_align' + delay = 1000, + }, + current_line_blame_formatter_opts = { + relative_time = false + }, + sign_priority = 6, + update_debounce = 100, + status_formatter = nil, -- Use default + max_file_length = 40000, + preview_config = { + -- Options passed to nvim_open_win + border = 'single', + style = 'minimal', + relative = 'cursor', + row = 0, + col = 1 + }, + yadm = { + enable = false + }, +} diff --git a/vim/.vim/bundle/indentpy.vim b/vim/.vim/bundle/indentpy.vim deleted file mode 100755 index 32c773c..0000000 --- a/vim/.vim/bundle/indentpy.vim +++ /dev/null @@ -1,196 +0,0 @@ -" Python indent file -" Language: Python -" Maintainer: Eric Mc Sween <em@tomcom.de> -" Original Author: David Bustos <bustos@caltech.edu> -" Last Change: 2004 Jun 07 - -" Only load this indent file when no other was loaded. -if exists("b:did_indent") - finish -endif -let b:did_indent = 1 - -setlocal expandtab -setlocal nolisp -setlocal autoindent -setlocal indentexpr=GetPythonIndent(v:lnum) -setlocal indentkeys=!^F,o,O,<:>,0),0],0},=elif,=except - -let s:maxoff = 50 - -" Find backwards the closest open parenthesis/bracket/brace. -function! s:SearchParensPair() - let line = line('.') - let col = col('.') - - " Skip strings and comments and don't look too far - let skip = "line('.') < " . (line - s:maxoff) . " ? dummy :" . - \ 'synIDattr(synID(line("."), col("."), 0), "name") =~? ' . - \ '"string\\|comment"' - - " Search for parentheses - call cursor(line, col) - let parlnum = searchpair('(', '', ')', 'bW', skip) - let parcol = col('.') - - " Search for brackets - call cursor(line, col) - let par2lnum = searchpair('\[', '', '\]', 'bW', skip) - let par2col = col('.') - - " Search for braces - call cursor(line, col) - let par3lnum = searchpair('{', '', '}', 'bW', skip) - let par3col = col('.') - - " Get the closest match - if par2lnum > parlnum || (par2lnum == parlnum && par2col > parcol) - let parlnum = par2lnum - let parcol = par2col - endif - if par3lnum > parlnum || (par3lnum == parlnum && par3col > parcol) - let parlnum = par3lnum - let parcol = par3col - endif - - " Put the cursor on the match - if parlnum > 0 - call cursor(parlnum, parcol) - endif - return parlnum -endfunction - -" Find the start of a multi-line statement -function! s:StatementStart(lnum) - let lnum = a:lnum - while 1 - if getline(lnum - 1) =~ '\\$' - let lnum = lnum - 1 - else - call cursor(lnum, 1) - let maybe_lnum = s:SearchParensPair() - if maybe_lnum < 1 - return lnum - else - let lnum = maybe_lnum - endif - endif - endwhile -endfunction - -" Find the block starter that matches the current line -function! s:BlockStarter(lnum, block_start_re) - let lnum = a:lnum - let maxindent = 10000 " whatever - while lnum > 1 - let lnum = prevnonblank(lnum - 1) - if indent(lnum) < maxindent - if getline(lnum) =~ a:block_start_re - return lnum - else - let maxindent = indent(lnum) - " It's not worth going further if we reached the top level - if maxindent == 0 - return -1 - endif - endif - endif - endwhile - return -1 -endfunction - -function! GetPythonIndent(lnum) - - " First line has indent 0 - if a:lnum == 1 - return 0 - endif - - " If we can find an open parenthesis/bracket/brace, line up with it. - call cursor(a:lnum, 1) - let parlnum = s:SearchParensPair() - if parlnum > 0 - let parcol = col('.') - let closing_paren = match(getline(a:lnum), '^\s*[])}]') != -1 - if match(getline(parlnum), '[([{]\s*$', parcol - 1) != -1 - if closing_paren - return indent(parlnum) - else - return indent(parlnum) + &shiftwidth - endif - else - if closing_paren - return parcol - 1 - else - return parcol - endif - endif - endif - - " Examine this line - let thisline = getline(a:lnum) - let thisindent = indent(a:lnum) - - " If the line starts with 'elif' or 'else', line up with 'if' or 'elif' - if thisline =~ '^\s*\(elif\|else\)\>' - let bslnum = s:BlockStarter(a:lnum, '^\s*\(if\|elif\)\>') - if bslnum > 0 - return indent(bslnum) - else - return -1 - endif - endif - - " If the line starts with 'except' or 'finally', line up with 'try' - " or 'except' - if thisline =~ '^\s*\(except\|finally\)\>' - let bslnum = s:BlockStarter(a:lnum, '^\s*\(try\|except\)\>') - if bslnum > 0 - return indent(bslnum) - else - return -1 - endif - endif - - " Examine previous line - let plnum = a:lnum - 1 - let pline = getline(plnum) - let sslnum = s:StatementStart(plnum) - - " If the previous line is blank, keep the same indentation - if pline =~ '^\s*$' - return -1 - endif - - " If this line is explicitly joined, try to find an indentation that looks - " good. - if pline =~ '\\$' - let compound_statement = '^\s*\(if\|while\|for\s.*\sin\|except\)\s*' - let maybe_indent = matchend(getline(sslnum), compound_statement) - if maybe_indent != -1 - return maybe_indent - else - return indent(sslnum) + &sw * 2 - endif - endif - - " If the previous line ended with a colon, indent relative to - " statement start. - if pline =~ ':\s*$' - return indent(sslnum) + &sw - endif - - " If the previous line was a stop-execution statement or a pass - if getline(sslnum) =~ '^\s*\(break\|continue\|raise\|return\|pass\)\>' - " See if the user has already dedented - if indent(a:lnum) > indent(sslnum) - &sw - " If not, recommend one dedent - return indent(sslnum) - &sw - endif - " Otherwise, trust the user - return -1 - endif - - " In all other cases, line up with the start of the previous statement. - return indent(sslnum) -endfunction diff --git a/vim/.vim/colors/gruvbox-hard.vim b/vim/.vim/colors/gruvbox-hard.vim deleted file mode 100644 index fe10560..0000000 --- a/vim/.vim/colors/gruvbox-hard.vim +++ /dev/null @@ -1,1336 +0,0 @@ -" Name: Gruvbox Material Hard -" Description: Gruvbox with Material Palette -" Author: Sainnhepark <sainnhe@gmail.com> -" Maintainer: Sainnhepark <sainnhe@gmail.com> -" Website: https://github.com/sainnhe/gruvbox-material/ -" License: MIT && Anti-996 -" Last Updated: Thu 25 Jul 2019 07:54:19 PM CST - -" Generated by Colortemplate v2.0.0 - -set background=dark - -hi clear -if exists('syntax_on') - syntax reset -endif - -let g:colors_name = 'gruvbox-material-hard' - -let s:t_Co = exists('&t_Co') && !empty(&t_Co) && &t_Co > 1 ? &t_Co : 2 -let s:italics = (((&t_ZH != '' && &t_ZH != '[7m') || has('gui_running')) && !has('iOS')) || has('nvim') - -let s:italics = !(get(g:, 'gruvbox_material_kill_italic', 0) && s:italics) -hi! link diffAdded Green -hi! link diffRemoved Red -hi! link diffChanged Aqua -hi! link diffFile Orange -hi! link diffNewFile Yellow -hi! link diffLine Blue -hi! link htmlTagName Blue -hi! link htmlArg Orange -hi! link htmlScriptTag Purple -hi! link htmlSpecialTagName Blue -hi! link htmlSpecialChar Red -hi! link htmlTagN White -hi! link htmlTag AquaBold -hi! link htmlEndTag AquaBold -hi! link xmlEqual Blue -hi! link xmlDocTypeDecl Grey -hi! link xmlDocTypeKeyword Purple -hi! link xmlCdataStart Grey -hi! link xmlCdataCdata Purple -hi! link dtdFunction Grey -hi! link dtdTagName Purple -hi! link xmlAttrib Orange -hi! link xmlProcessingDelim Grey -hi! link dtdParamEntityPunct Grey -hi! link dtdParamEntityDPunct Grey -hi! link xmlAttribPunct Grey -hi! link xmlEntity Red -hi! link xmlEntityPunct Red -hi! link xmlTag AquaBold -hi! link xmlEndTag AquaBold -hi! link xmlTagName AquaBold -hi! link docbkKeyword AquaBold -hi! link vimNotation Orange -hi! link vimBracket Orange -hi! link vimMapModKey Orange -hi! link vimFuncSID LightGrey -hi! link vimSetSep LightGrey -hi! link vimSep LightGrey -hi! link vimContinue LightGrey -hi! link clojureKeyword Blue -hi! link clojureCond Orange -hi! link clojureSpecial Orange -hi! link clojureDefine Orange -hi! link clojureFunc Yellow -hi! link clojureRepeat Yellow -hi! link clojureCharacter Aqua -hi! link clojureStringEscape Aqua -hi! link clojureException Red -hi! link clojureRegexp Aqua -hi! link clojureRegexpEscape Aqua -hi! link clojureAnonArg Yellow -hi! link clojureVariable Blue -hi! link clojureMacro Orange -hi! link clojureMeta Yellow -hi! link clojureDeref Yellow -hi! link clojureQuote Yellow -hi! link clojureUnquote Yellow -hi! link clojureRegexpMod clojureRegexpCharClass -hi! link clojureRegexpQuantifier clojureRegexpCharClass -hi! link clojureRegexpCharClass GreyBold -hi! link clojureParen White -hi! link cOperator Purple -hi! link cppOperator Purple -hi! link cStructure Orange -hi! link pythonBuiltin Orange -hi! link pythonBuiltinObj Orange -hi! link pythonBuiltinFunc Orange -hi! link pythonFunction Aqua -hi! link pythonDecorator Red -hi! link pythonInclude Blue -hi! link pythonImport Blue -hi! link pythonRun Blue -hi! link pythonCoding Blue -hi! link pythonOperator Red -hi! link pythonException Red -hi! link pythonExceptions Purple -hi! link pythonBoolean Purple -hi! link pythonConditional Red -hi! link pythonRepeat Red -hi! link pythonDottedName GreenBold -hi! link pythonDot Grey -hi! link cssBraces Blue -hi! link cssFunctionName Yellow -hi! link cssIdentifier Orange -hi! link cssClassName Green -hi! link cssColor Blue -hi! link cssSelectorOp Blue -hi! link cssSelectorOp2 Blue -hi! link cssImportant Green -hi! link cssTextProp Aqua -hi! link cssAnimationProp Aqua -hi! link cssUIProp Yellow -hi! link cssTransformProp Aqua -hi! link cssTransitionProp Aqua -hi! link cssPrintProp Aqua -hi! link cssPositioningProp Yellow -hi! link cssBoxProp Aqua -hi! link cssFontDescriptorProp Aqua -hi! link cssFlexibleBoxProp Aqua -hi! link cssBorderOutlineProp Aqua -hi! link cssBackgroundProp Aqua -hi! link cssMarginProp Aqua -hi! link cssListProp Aqua -hi! link cssTableProp Aqua -hi! link cssFontProp Aqua -hi! link cssPaddingProp Aqua -hi! link cssDimensionProp Aqua -hi! link cssRenderProp Aqua -hi! link cssColorProp Aqua -hi! link cssGeneratedContentProp Aqua -hi! link cssVendor White -hi! link javaScriptFunction Aqua -hi! link javaScriptIdentifier Red -hi! link javaScriptMember Blue -hi! link javaScriptNumber Purple -hi! link javaScriptNull Purple -hi! link javaScriptParens White -hi! link javaScriptBraces White -hi! link javascriptImport Aqua -hi! link javascriptExport Aqua -hi! link javascriptClassKeyword Aqua -hi! link javascriptClassExtends Aqua -hi! link javascriptDefault Aqua -hi! link javascriptClassName Yellow -hi! link javascriptClassSuperName Yellow -hi! link javascriptGlobal Yellow -hi! link javascriptEndColons White -hi! link javascriptFuncArg White -hi! link javascriptGlobalMethod White -hi! link javascriptNodeGlobal White -hi! link javascriptBOMWindowProp White -hi! link javascriptArrayMethod White -hi! link javascriptArrayStaticMethod White -hi! link javascriptCacheMethod White -hi! link javascriptDateMethod White -hi! link javascriptMathStaticMethod White -hi! link javascriptURLUtilsProp White -hi! link javascriptBOMNavigatorProp White -hi! link javascriptDOMDocMethod White -hi! link javascriptDOMDocProp White -hi! link javascriptBOMLocationMethod White -hi! link javascriptBOMWindowMethod White -hi! link javascriptStringMethod White -hi! link javascriptVariable Orange -hi! link javascriptIdentifier Orange -hi! link javascriptClassSuper Orange -hi! link javascriptFuncKeyword Aqua -hi! link javascriptAsyncFunc Aqua -hi! link javascriptClassStatic Orange -hi! link javascriptOperator Red -hi! link javascriptForOperator Red -hi! link javascriptYield Red -hi! link javascriptExceptions Red -hi! link javascriptMessage Red -hi! link javascriptTemplateSB Aqua -hi! link javascriptTemplateSubstitution White -hi! link javascriptLabel White -hi! link javascriptObjectLabel White -hi! link javascriptPropertyName White -hi! link javascriptLogicSymbols White -hi! link javascriptArrowFunc Yellow -hi! link javascriptDocParamName LightGrey -hi! link javascriptDocTags LightGrey -hi! link javascriptDocNotation LightGrey -hi! link javascriptDocParamType LightGrey -hi! link javascriptDocNamedParamType LightGrey -hi! link javascriptBrackets White -hi! link javascriptDOMElemAttrs White -hi! link javascriptDOMEventMethod White -hi! link javascriptDOMNodeMethod White -hi! link javascriptDOMStorageMethod White -hi! link javascriptHeadersMethod White -hi! link javascriptAsyncFuncKeyword Red -hi! link javascriptAwaitFuncKeyword Red -hi! link jsClassKeyword Aqua -hi! link jsExtendsKeyword Aqua -hi! link jsExportDefault Aqua -hi! link jsTemplateBraces Aqua -hi! link jsGlobalNodeObjects Blue -hi! link jsGlobalObjects Blue -hi! link jsFunction Aqua -hi! link jsFuncCall Blue -hi! link jsFuncParens White -hi! link jsParens White -hi! link jsNull Purple -hi! link jsUndefined Purple -hi! link jsClassDefinition Yellow -hi! link jsObjectKey GreenBold -hi! link typescriptReserved Aqua -hi! link typescriptLabel Aqua -hi! link typescriptFuncKeyword Aqua -hi! link typescriptIdentifier Orange -hi! link typescriptBraces White -hi! link typescriptEndColons White -hi! link typescriptDOMObjects White -hi! link typescriptAjaxMethods White -hi! link typescriptLogicSymbols White -hi! link typescriptGlobalObjects White -hi! link typescriptParens White -hi! link typescriptOpSymbols Grey -hi! link typescriptHtmlElemProperties White -hi! link typescriptNull Purple -hi! link typescriptInterpolationDelimiter Aqua -hi! link typescriptDocSeeTag Comment -hi! link typescriptDocParam Comment -hi! link typescriptDocTags vimCommentTitle -hi! link jsxTagName Aqua -hi! link jsxComponentName Green -hi! link jsxCloseString LightGrey -hi! link jsxAttrib Yellow -hi! link jsxEqual Aqua -hi! link purescriptModuleKeyword Aqua -hi! link purescriptModuleName White -hi! link purescriptWhere Aqua -hi! link purescriptDelimiter LightGrey -hi! link purescriptType White -hi! link purescriptImportKeyword Aqua -hi! link purescriptHidingKeyword Aqua -hi! link purescriptAsKeyword Aqua -hi! link purescriptStructure Aqua -hi! link purescriptOperator Blue -hi! link purescriptTypeVar White -hi! link purescriptConstructor White -hi! link purescriptFunction White -hi! link purescriptConditional Orange -hi! link purescriptBacktick Orange -hi! link coffeeExtendedOp Grey -hi! link coffeeSpecialOp Grey -hi! link coffeeCurly Orange -hi! link coffeeParen White -hi! link coffeeBracket Orange -hi! link rubyStringDelimiter Green -hi! link rubyInterpolationDelimiter Aqua -hi! link objcTypeModifier Red -hi! link objcDirective Blue -hi! link goDirective Aqua -hi! link goConstants Purple -hi! link goDeclaration Red -hi! link goDeclType Blue -hi! link goBuiltins Orange -hi! link luaIn Red -hi! link luaFunction Aqua -hi! link luaTable Orange -hi! link moonSpecialOp Grey -hi! link moonExtendedOp Grey -hi! link moonFunction White -hi! link moonObject Yellow -hi! link javaAnnotation Blue -hi! link javaDocTags Aqua -hi! link javaParen White -hi! link javaParen1 White -hi! link javaParen2 White -hi! link javaParen3 White -hi! link javaParen4 White -hi! link javaParen5 White -hi! link javaOperator Orange -hi! link javaVarArg Green -hi! link javaCommentTitle vimCommentTitle -hi! link elixirStringDelimiter Green -hi! link elixirInterpolationDelimiter Aqua -hi! link elixirModuleDeclaration Yellow -hi! link elixirDocString Comment -hi! link scalaNameDefinition White -hi! link scalaCaseFollowing White -hi! link scalaCapitalWord White -hi! link scalaTypeExtension White -hi! link scalaKeyword Red -hi! link scalaKeywordModifier Red -hi! link scalaSpecial Aqua -hi! link scalaOperator White -hi! link scalaTypeDeclaration Yellow -hi! link scalaTypeTypePostDeclaration Yellow -hi! link scalaInstanceDeclaration White -hi! link scalaInterpolation Aqua -hi! link markdownH5 Yellow -hi! link markdownH6 Yellow -hi! link markdownCode Green -hi! link markdownCodeBlock Aqua -hi! link markdownCodeDelimiter Aqua -hi! link markdownBlockquote Grey -hi! link markdownListMarker Red -hi! link markdownOrderedListMarker Grey -hi! link markdownRule Grey -hi! link markdownHeadingRule Grey -hi! link markdownUrlDelimiter Grey -hi! link markdownLinkDelimiter Grey -hi! link markdownLinkTextDelimiter Grey -hi! link markdownHeadingDelimiter Orange -hi! link markdownUrl Purple -hi! link markdownUrlTitleDelimiter Green -hi! link markdownIdDeclaration markdownLinkText -hi! link markdownBoldDelimiter Grey -hi! link mkdBold Grey -hi! link mkdURL Purple -hi! link mkdCodeDelimiter Aqua -hi! link mkdHeading Orange -hi! link mkdListItem Red -hi! link mkdDelimiter Grey -hi! link mkdId Yellow -hi! link haskellType Blue -hi! link haskellIdentifier Aqua -hi! link haskellSeparator LightGrey -hi! link haskellDelimiter Orange -hi! link haskellOperators Purple -hi! link haskellBacktick Orange -hi! link haskellStatement Purple -hi! link haskellConditional Purple -hi! link haskellLet Red -hi! link haskellDefault Red -hi! link haskellWhere Red -hi! link haskellDeclKeyword Orange -hi! link haskellDecl Orange -hi! link haskellDeriving Purple -hi! link haskellAssocType Aqua -hi! link haskellNumber Aqua -hi! link haskellForeignKeywords Green -hi! link haskellKeyword Red -hi! link haskellFloat Aqua -hi! link haskellInfix Purple -hi! link haskellRecursiveDo Purlpe -hi! link haskellQuotedType Red -hi! link haskellPreProc LightGrey -hi! link haskellTypeForall Red -hi! link haskellPatternKeyword Blue -hi! link haskellBottom RedBold -hi! link haskellTH AquaBold -hi! link haskellImportKeywords PurpleBold -hi! link haskellPragma RedBold -hi! link haskellQuote GreenBold -hi! link haskellShebang YellowBold -hi! link haskellLiquid PurpleBold -hi! link haskellQuasiQuoted BlueBold -hi! link haskellTypeRoles RedBold -hi! link jsonKeyword Green -hi! link jsonQuote Green -hi! link jsonBraces White -hi! link jsonString White -hi! link mailHeader Blue -hi! link mailHeaderKey Blue -hi! link mailHeaderEmail Blue -hi! link mailSubject Blue -hi! link mailQuoted1 Aqua -hi! link mailQuoted2 Purple -hi! link mailQuoted3 Yellow -hi! link mailQuoted4 Green -hi! link mailQuoted5 Red -hi! link mailQuoted6 Orange -hi! link mailQuotedExp1 Aqua -hi! link mailQuotedExp2 Purple -hi! link mailQuotedExp3 Yellow -hi! link mailQuotedExp4 Green -hi! link mailQuotedExp5 Red -hi! link mailQuotedExp6 Orange -hi! link mailSignature White -hi! link mailURL Orange -hi! link mailEmail Orange -hi! link csBraces White -hi! link csEndColon White -hi! link csLogicSymbols White -hi! link csParens White -hi! link csOpSymbols Grey -hi! link csInterpolationDelimiter Grey -hi! link csInterpolationFormat Aqua -hi! link csInterpolationAlignDel AquaBold -hi! link csInterpolationFormatDel AquaBold -hi! link rustSigil Orange -hi! link rustEscape Aqua -hi! link rustStringContinuation Aqua -hi! link rustEnum Aqua -hi! link rustStructure Aqua -hi! link rustDefault Aqua -hi! link rustModPathSep Grey -hi! link rustCommentLineDoc Comment -hi! link EasyMotionTarget Search -hi! link EasyMotionShade Comment -hi! link Sneak Search -hi! link SneakLabel Search -hi! link gitcommitSelectedFile Green -hi! link gitcommitDiscardedFile Red -let g:fzf_colors = { - \ 'fg': ['fg', 'Normal'], - \ 'bg': ['bg', 'Normal'], - \ 'hl': ['fg', 'Green'], - \ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'], - \ 'bg+': ['bg', 'CursorLine', 'CursorColumn'], - \ 'hl+': ['fg', 'Green'], - \ 'info': ['fg', 'Aqua'], - \ 'prompt': ['fg', 'Red'], - \ 'pointer': ['fg', 'Blue'], - \ 'marker': ['fg', 'Orange'], - \ 'spinner': ['fg', 'Yellow'], - \ 'header': ['fg', 'Grey'] - \ } -hi! link StartifyBracket LightGrey -hi! link StartifyFile White -hi! link StartifyNumber Blue -hi! link StartifyPath Grey -hi! link StartifySlash Grey -hi! link StartifySection Yellow -hi! link StartifyHeader Orange -hi! link DirvishPathTail Aqua -hi! link DirvishArg Yellow -hi! link netrwDir Aqua -hi! link netrwClassify Aqua -hi! link netrwLink Grey -hi! link netrwSymLink White -hi! link netrwExe Yellow -hi! link netrwComment Grey -hi! link netrwList Blue -hi! link netrwHelpCmd Aqua -hi! link netrwCmdSep LightGrey -hi! link netrwVersion Green -hi! link NERDTreeDir Aqua -hi! link NERDTreeDirSlash Aqua -hi! link NERDTreeOpenable Orange -hi! link NERDTreeClosable Orange -hi! link NERDTreeFile White -hi! link NERDTreeExecFile Yellow -hi! link NERDTreeUp Grey -hi! link NERDTreeCWD Green -hi! link NERDTreeHelp LightGrey -hi! link NERDTreeToggleOn Green -hi! link NERDTreeToggleOff Red -hi! link ALEVirtualTextError Grey -hi! link ALEVirtualTextWarning Grey -hi! link ALEVirtualTextInfo Grey -hi! link ALEVirtualTextStyleError ALEVirtualTextError -hi! link ALEVirtualTextStyleWarning ALEVirtualTextWarning -hi! link CocCodeLens Grey -hi! link CocErrorSign ALEErrorSign -hi! link CocWarningSign ALEWarningSign -hi! link CocInfoSign ALEInfoSign -hi! link CocHintSign Label -hi! link CocErrorHighlight ALEError -hi! link CocWarningHighlight ALEWarning -hi! link CocInfoHighlight ALEInfo -hi! link CocWarningVirtualText ALEVirtualTextWarning -hi! link CocErrorVirtualText ALEVirtualTextError -hi! link CocInfoVirtualText ALEVirtualTextInfo -hi! link CocHintVirtualText ALEVirtualTextInfo -hi! link CocCodeLens ALEVirtualTextInfo - -if (has('termguicolors') && &termguicolors) || has('gui_running') - let g:terminal_ansi_colors = ['#665c54', '#ea6962', '#a9b665', '#e78a4e', - \ '#7daea3', '#d3869b', '#89b482', '#dfbf8e', '#928374', '#ea6962', - \ '#a9b665', '#e3a84e', '#7daea3', '#d3869b', '#89b482', '#dfbf8e'] - if has('nvim') - let g:terminal_color_0 = '#665c54' - let g:terminal_color_1 = '#ea6962' - let g:terminal_color_2 = '#a9b665' - let g:terminal_color_3 = '#e78a4e' - let g:terminal_color_4 = '#7daea3' - let g:terminal_color_5 = '#d3869b' - let g:terminal_color_6 = '#89b482' - let g:terminal_color_7 = '#dfbf8e' - let g:terminal_color_8 = '#928374' - let g:terminal_color_9 = '#ea6962' - let g:terminal_color_10 = '#a9b665' - let g:terminal_color_11 = '#e3a84e' - let g:terminal_color_12 = '#7daea3' - let g:terminal_color_13 = '#d3869b' - let g:terminal_color_14 = '#89b482' - let g:terminal_color_15 = '#dfbf8e' - endif - hi White guifg=#dfbf8e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi LightGrey guifg=#a89984 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Grey guifg=#928374 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Red guifg=#ea6962 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Orange guifg=#e78a4e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Yellow guifg=#e3a84e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Green guifg=#a9b665 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Aqua guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Blue guifg=#7daea3 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Purple guifg=#d3869b guibg=NONE guisp=NONE gui=NONE cterm=NONE - if get(g:, 'gruvbox_material_enable_bold', 0) - hi WhiteBold guifg=#dfbf8e guibg=NONE guisp=NONE gui=bold cterm=bold - hi LightGreyBold guifg=#a89984 guibg=NONE guisp=NONE gui=bold cterm=bold - hi GreyBold guifg=#928374 guibg=NONE guisp=NONE gui=bold cterm=bold - hi RedBold guifg=#ea6962 guibg=NONE guisp=NONE gui=bold cterm=bold - hi OrangeBold guifg=#e78a4e guibg=NONE guisp=NONE gui=bold cterm=bold - hi YellowBold guifg=#e3a84e guibg=NONE guisp=NONE gui=bold cterm=bold - hi GreenBold guifg=#a9b665 guibg=NONE guisp=NONE gui=bold cterm=bold - hi AquaBold guifg=#89b482 guibg=NONE guisp=NONE gui=bold cterm=bold - hi BlueBold guifg=#7daea3 guibg=NONE guisp=NONE gui=bold cterm=bold - hi PurpleBold guifg=#d3869b guibg=NONE guisp=NONE gui=bold cterm=bold - else - hi WhiteBold guifg=#dfbf8e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi LightGreyBold guifg=#a89984 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi GreyBold guifg=#928374 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi RedBold guifg=#ea6962 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi OrangeBold guifg=#e78a4e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi YellowBold guifg=#e3a84e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi GreenBold guifg=#a9b665 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi AquaBold guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi BlueBold guifg=#7daea3 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi PurpleBold guifg=#d3869b guibg=NONE guisp=NONE gui=NONE cterm=NONE - endif - if get(g:, 'gruvbox_material_hard_transp_bg', 0) && !has('gui_running') - hi Normal guifg=#dfbf8e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Terminal guifg=#dfbf8e guibg=NONE guisp=NONE gui=NONE cterm=NONE - else - hi Normal guifg=#dfbf8e guibg=#1d2021 guisp=NONE gui=NONE cterm=NONE - hi Terminal guifg=#dfbf8e guibg=#1d2021 guisp=NONE gui=NONE cterm=NONE - endif - hi ColorColumn guifg=NONE guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi Conceal guifg=#7daea3 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Cursor guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse - hi lCursor guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse - hi CursorColumn guifg=NONE guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi CursorLine guifg=NONE guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi CursorLineNr guifg=#e3a84e guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi LineNr guifg=#7c6f64 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi SignColumn guifg=NONE guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi DiffAdd guifg=#a9b665 guibg=#1d2021 guisp=NONE gui=reverse cterm=reverse - hi DiffChange guifg=#89b482 guibg=#1d2021 guisp=NONE gui=reverse cterm=reverse - hi DiffDelete guifg=#ea6962 guibg=#1d2021 guisp=NONE gui=reverse cterm=reverse - hi DiffText guifg=#e3a84e guibg=#1d2021 guisp=NONE gui=reverse cterm=reverse - hi Directory guifg=#a9b665 guibg=NONE guisp=NONE gui=bold cterm=bold - hi EndOfBuffer guifg=#1d2021 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi ErrorMsg guifg=#1d2021 guibg=#ea6962 guisp=NONE gui=NONE cterm=NONE - hi WarningMsg guifg=#1d2021 guibg=#e78a4e guisp=NONE gui=NONE cterm=NONE - hi ModeMsg guifg=#e3a84e guibg=NONE guisp=NONE gui=bold cterm=bold - hi MoreMsg guifg=#e3a84e guibg=NONE guisp=NONE gui=bold cterm=bold - hi FoldColumn guifg=#928374 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi Folded guifg=#928374 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi IncSearch guifg=#e78a4e guibg=#1d2021 guisp=NONE gui=reverse cterm=reverse - hi Search guifg=#e3a84e guibg=#1d2021 guisp=NONE gui=reverse cterm=reverse - hi MatchParen guifg=NONE guibg=#665c54 guisp=NONE gui=bold cterm=bold - hi NonText guifg=#928374 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Pmenu guifg=#dfbf8e guibg=#504945 guisp=NONE gui=NONE cterm=NONE - hi PmenuSbar guifg=NONE guibg=#504945 guisp=NONE gui=NONE cterm=NONE - hi PmenuSel guifg=#1d2021 guibg=#a89984 guisp=NONE gui=NONE cterm=NONE - hi PmenuThumb guifg=NONE guibg=#7c6f64 guisp=NONE gui=NONE cterm=NONE - hi Question guifg=#e78a4e guibg=NONE guisp=NONE gui=bold cterm=bold - hi SpellBad guifg=#ea6962 guibg=NONE guisp=#ea6962 gui=italic,undercurl cterm=italic,undercurl - hi SpellCap guifg=#7daea3 guibg=NONE guisp=#7daea3 gui=italic,undercurl cterm=italic,undercurl - hi SpellLocal guifg=#89b482 guibg=NONE guisp=#89b482 gui=italic,undercurl cterm=italic,undercurl - hi SpellRare guifg=#d3869b guibg=NONE guisp=#d3869b gui=italic,undercurl cterm=italic,undercurl - hi StatusLine guifg=#504945 guibg=#dfbf8e guisp=NONE gui=reverse cterm=reverse - hi StatusLineNC guifg=#1d2021 guibg=#a89984 guisp=NONE gui=reverse cterm=reverse - hi TabLine guifg=#7c6f64 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi TabLineFill guifg=#7c6f64 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi TabLineSel guifg=#1d2021 guibg=#a89984 guisp=NONE gui=NONE cterm=NONE - hi VertSplit guifg=#665c54 guibg=#1d2021 guisp=NONE gui=NONE cterm=NONE - hi Visual guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse - hi VisualNOS guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse - hi WildMenu guifg=#1d2021 guibg=#a89984 guisp=NONE gui=NONE cterm=NONE - hi Todo guifg=#928374 guibg=NONE guisp=NONE gui=bold,italic cterm=bold,italic - hi CursorIM guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse - hi ToolbarLine guifg=NONE guibg=#665c54 guisp=NONE gui=NONE cterm=NONE - hi ToolbarButton guifg=#dfbf8e guibg=#665c54 guisp=NONE gui=bold cterm=bold - hi QuickFixLine guifg=#e3a84e guibg=#1d2021 guisp=NONE gui=reverse cterm=reverse - hi StatusLineTerm guifg=#504945 guibg=#dfbf8e guisp=NONE gui=reverse cterm=reverse - hi StatusLineTermNC guifg=#1d2021 guibg=#a89984 guisp=NONE gui=reverse cterm=reverse - hi Title guifg=#a9b665 guibg=NONE guisp=NONE gui=bold cterm=bold - hi Conditional guifg=#ea6962 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Repeat guifg=#ea6962 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Label guifg=#ea6962 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Exception guifg=#ea6962 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Keyword guifg=#ea6962 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Statement guifg=#ea6962 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Typedef guifg=#e3a84e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Type guifg=#e3a84e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi StorageClass guifg=#e78a4e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Delimiter guifg=#e78a4e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Special guifg=#e78a4e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Tag guifg=#e78a4e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi String guifg=#a9b665 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi PreProc guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Macro guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Define guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Include guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi PreCondit guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Structure guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Operator guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Identifier guifg=#7daea3 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Underlined guifg=#7daea3 guibg=NONE guisp=NONE gui=underline cterm=underline - hi Constant guifg=#d3869b guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Boolean guifg=#d3869b guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Character guifg=#d3869b guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Number guifg=#d3869b guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Float guifg=#d3869b guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi SpecialKey guifg=#504945 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Comment guifg=#928374 guibg=NONE guisp=NONE gui=italic cterm=italic - hi SpecialComment guifg=#928374 guibg=NONE guisp=NONE gui=italic cterm=italic - hi Ignore guifg=#dfbf8e guibg=NONE guisp=NONE gui=NONE cterm=NONE - if !s:italics - hi SpellBad gui=undercurl cterm=undercurl - hi SpellCap gui=undercurl cterm=undercurl - hi SpellLocal gui=undercurl cterm=undercurl - hi SpellRare gui=undercurl cterm=undercurl - hi Todo gui=bold cterm=bold - hi Comment gui=NONE cterm=NONE - hi SpecialComment gui=NONE cterm=NONE - endif - if get(g:, 'gruvbox_material_enable_bold', 0) - hi Error guifg=#ea6962 guibg=#1d2021 guisp=NONE gui=bold,reverse cterm=bold,reverse - hi Function guifg=#a9b665 guibg=NONE guisp=NONE gui=bold cterm=bold - else - hi Error guifg=#ea6962 guibg=#1d2021 guisp=NONE gui=reverse cterm=reverse - hi Function guifg=#a9b665 guibg=NONE guisp=NONE gui=NONE cterm=NONE - endif - hi! link SpecialChar Special - hi! link Debug Special - hi htmlLink guifg=#a89984 guibg=NONE guisp=NONE gui=underline cterm=underline - hi htmlBold guifg=NONE guibg=NONE guisp=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=bold - hi htmlBoldUnderline guifg=NONE guibg=NONE guisp=NONE gui=bold,underline ctermfg=NONE ctermbg=NONE cterm=bold,underline - hi htmlBoldItalic guifg=NONE guibg=NONE guisp=NONE gui=bold,italic ctermfg=NONE ctermbg=NONE cterm=bold,italic - hi htmlBoldUnderlineItalic guifg=NONE guibg=NONE guisp=NONE gui=bold,italic,underline ctermfg=NONE ctermbg=NONE cterm=bold,italic,underline - hi htmlUnderline guifg=NONE guibg=NONE guisp=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline - hi htmlUnderlineItalic guifg=NONE guibg=NONE guisp=NONE gui=italic,underline ctermfg=NONE ctermbg=NONE cterm=italic,underline - hi htmlItalic guifg=NONE guibg=NONE guisp=NONE gui=italic ctermfg=NONE ctermbg=NONE cterm=italic - hi vimCommentTitle guifg=#a89984 guibg=NONE guisp=NONE gui=bold,italic cterm=bold,italic - hi markdownH1 guifg=#a9b665 guibg=NONE guisp=NONE gui=bold cterm=bold - hi markdownH2 guifg=#a9b665 guibg=NONE guisp=NONE gui=bold cterm=bold - hi markdownH3 guifg=#e3a84e guibg=NONE guisp=NONE gui=bold cterm=bold - hi markdownH4 guifg=#e3a84e guibg=NONE guisp=NONE gui=bold cterm=bold - hi markdownLinkText guifg=#89b482 guibg=NONE guisp=NONE gui=underline cterm=underline - hi markdownItalic guifg=NONE guibg=NONE guisp=NONE gui=italic ctermfg=NONE ctermbg=NONE cterm=italic - hi markdownBold guifg=NONE guibg=NONE guisp=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=bold - hi markdownItalicDelimiter guifg=#928374 guibg=NONE guisp=NONE gui=italic cterm=italic - hi mkdLink guifg=#89b482 guibg=NONE guisp=NONE gui=underline cterm=underline - hi mkdInlineURL guifg=#d3869b guibg=NONE guisp=NONE gui=underline cterm=underline - hi mkdItalic guifg=#928374 guibg=NONE guisp=NONE gui=italic cterm=italic - if !s:italics - hi htmlBoldItalic gui=bold cterm=bold - hi htmlBoldUnderlineItalic gui=bold,underline cterm=bold,underline - hi htmlUnderlineItalic gui=underline cterm=underline - hi htmlItalic gui=NONE cterm=NONE - hi vimCommentTitle gui=bold cterm=bold - hi markdownItalic gui=NONE cterm=NONE - hi markdownItalicDelimiter gui=NONE cterm=NONE - hi mkdItalic gui=NONE cterm=NONE - endif - if get(g:, 'indent_guides_auto_colors', 0) - if get(g:, 'gruvbox_material_hard_invert_indent_guides', 0) - hi IndentGuidesOdd guifg=#1d2021 guibg=#504945 guisp=NONE gui=reverse cterm=reverse - hi IndentGuidesEven guifg=#1d2021 guibg=#3c3836 guisp=NONE gui=reverse cterm=reverse - else - hi IndentGuidesOdd guifg=#1d2021 guibg=#504945 guisp=NONE gui=NONE cterm=NONE - hi IndentGuidesEven guifg=#1d2021 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - endif - endif - if !exists('g:indentLine_color_term') - let g:indentLine_color_term = 239 - endif - if !exists('g:indentLine_color_gui') - let g:indentLine_color_gui = '#504945' - endif - " Rainbow Parentheses - if !exists('g:rbpt_colorpairs') - let g:rbpt_colorpairs = [['blue', '#7daea3'], ['magenta', '#d3869b'], - \ ['red', '#ea6962'], ['208', '#e78a4e']] - endif - - let g:rainbow_guifgs = [ '#e78a4e', '#ea6962', '#d3869b', '#7daea3' ] - let g:rainbow_ctermfgs = [ '208', 'red', 'magenta', '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 - hi GitGutterAdd guifg=#a9b665 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi GitGutterChange guifg=#89b482 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi GitGutterDelete guifg=#ea6962 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi GitGutterChangeDelete guifg=#89b482 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi SignifySignAdd guifg=#a9b665 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi SignifySignChange guifg=#89b482 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi SignifySignDelete guifg=#ea6962 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi SyntasticError guifg=NONE guibg=NONE guisp=#ea6962 gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl - hi SyntasticWarning guifg=NONE guibg=NONE guisp=#e3a84e gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl - hi SyntasticErrorSign guifg=#ea6962 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi SyntasticWarningSign guifg=#e3a84e guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi SignatureMarkText guifg=#7daea3 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi SignatureMarkerText guifg=#d3869b guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi ShowMarksHLl guifg=#7daea3 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi ShowMarksHLu guifg=#7daea3 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi ShowMarksHLo guifg=#7daea3 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi ShowMarksHLm guifg=#7daea3 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi! link CtrlPMatch Yellow - hi! link CtrlPNoEntries Red - hi CtrlPPrtBase guifg=#504945 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi! link CtrlPPrtCursor Blue - hi CtrlPLinePre guifg=#504945 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi CtrlPMode1 guifg=#7daea3 guibg=#504945 guisp=NONE gui=bold cterm=bold - hi CtrlPMode2 guifg=#1d2021 guibg=#7daea3 guisp=NONE gui=bold cterm=bold - hi CtrlPStats guifg=#a89984 guibg=#504945 guisp=NONE gui=bold cterm=bold - hi StartifySpecial guifg=#504945 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi StartifyFooter guifg=#504945 guibg=NONE guisp=NONE gui=NONE cterm=NONE - let g:vimshell_escape_colors = [ - \ '#7c6f64', '#ea6962', '#a9b665', '#e3a84e', - \ '#7daea3', '#d3869b', '#89b482', '#a89984', - \ '#1d2021', '#ea6962', '#a9b665', '#e78a4e', - \ '#7daea3', '#d3869b', '#89b482', '#dfbf8e' - \ ] - hi BufTabLineCurrent guifg=#1d2021 guibg=#a89984 guisp=NONE gui=NONE cterm=NONE - hi BufTabLineActive guifg=#a89984 guibg=#504945 guisp=NONE gui=NONE cterm=NONE - hi BufTabLineHidden guifg=#7c6f64 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi BufTabLineFill guifg=#1d2021 guibg=#1d2021 guisp=NONE gui=NONE cterm=NONE - hi ALEError guifg=NONE guibg=NONE guisp=#ea6962 gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl - hi ALEWarning guifg=NONE guibg=NONE guisp=#ea6962 gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl - hi ALEInfo guifg=NONE guibg=NONE guisp=#7daea3 gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl - hi ALEErrorSign guifg=#ea6962 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi ALEWarningSign guifg=#e3a84e guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi ALEInfoSign guifg=#7daea3 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi multiple_cursors_cursor guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse - hi multiple_cursors_visual guifg=NONE guibg=#504945 guisp=NONE gui=NONE cterm=NONE - hi CocHighlightText guifg=NONE guibg=NONE guisp=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=bold - hi MatchParenCur guifg=NONE guibg=NONE guisp=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=bold - hi MatchWord guifg=NONE guibg=NONE guisp=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline - hi MatchWordCur guifg=NONE guibg=NONE guisp=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline - unlet s:t_Co s:italics - finish -endif - -if s:t_Co >= 256 - hi White ctermfg=223 ctermbg=NONE cterm=NONE - hi LightGrey ctermfg=246 ctermbg=NONE cterm=NONE - hi Grey ctermfg=245 ctermbg=NONE cterm=NONE - hi Red ctermfg=167 ctermbg=NONE cterm=NONE - hi Orange ctermfg=208 ctermbg=NONE cterm=NONE - hi Yellow ctermfg=214 ctermbg=NONE cterm=NONE - hi Green ctermfg=142 ctermbg=NONE cterm=NONE - hi Aqua ctermfg=108 ctermbg=NONE cterm=NONE - hi Blue ctermfg=109 ctermbg=NONE cterm=NONE - hi Purple ctermfg=175 ctermbg=NONE cterm=NONE - if get(g:, 'gruvbox_material_enable_bold', 0) - hi WhiteBold ctermfg=223 ctermbg=NONE cterm=bold - hi LightGreyBold ctermfg=246 ctermbg=NONE cterm=bold - hi GreyBold ctermfg=245 ctermbg=NONE cterm=bold - hi RedBold ctermfg=167 ctermbg=NONE cterm=bold - hi OrangeBold ctermfg=208 ctermbg=NONE cterm=bold - hi YellowBold ctermfg=214 ctermbg=NONE cterm=bold - hi GreenBold ctermfg=142 ctermbg=NONE cterm=bold - hi AquaBold ctermfg=108 ctermbg=NONE cterm=bold - hi BlueBold ctermfg=109 ctermbg=NONE cterm=bold - hi PurpleBold ctermfg=175 ctermbg=NONE cterm=bold - else - hi WhiteBold ctermfg=223 ctermbg=NONE cterm=NONE - hi LightGreyBold ctermfg=246 ctermbg=NONE cterm=NONE - hi GreyBold ctermfg=245 ctermbg=NONE cterm=NONE - hi RedBold ctermfg=167 ctermbg=NONE cterm=NONE - hi OrangeBold ctermfg=208 ctermbg=NONE cterm=NONE - hi YellowBold ctermfg=214 ctermbg=NONE cterm=NONE - hi GreenBold ctermfg=142 ctermbg=NONE cterm=NONE - hi AquaBold ctermfg=108 ctermbg=NONE cterm=NONE - hi BlueBold ctermfg=109 ctermbg=NONE cterm=NONE - hi PurpleBold ctermfg=175 ctermbg=NONE cterm=NONE - endif - if get(g:, 'gruvbox_material_hard_transp_bg', 0) - hi Normal ctermfg=223 ctermbg=NONE cterm=NONE - hi Terminal ctermfg=223 ctermbg=NONE cterm=NONE - else - hi Normal ctermfg=223 ctermbg=234 cterm=NONE - if !has('patch-8.0.0616') && !has('nvim') " Fix for Vim bug - set background=dark - endif - hi Terminal ctermfg=223 ctermbg=234 cterm=NONE - endif - hi ColorColumn ctermfg=NONE ctermbg=237 cterm=NONE - hi Conceal ctermfg=109 ctermbg=NONE cterm=NONE - hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse - hi lCursor ctermfg=NONE ctermbg=NONE cterm=reverse - hi CursorColumn ctermfg=NONE ctermbg=237 cterm=NONE - hi CursorLine ctermfg=NONE ctermbg=237 cterm=NONE - hi CursorLineNr ctermfg=214 ctermbg=237 cterm=NONE - hi LineNr ctermfg=243 ctermbg=NONE cterm=NONE - hi SignColumn ctermfg=NONE ctermbg=237 cterm=NONE - hi DiffAdd ctermfg=142 ctermbg=234 cterm=reverse - hi DiffChange ctermfg=108 ctermbg=234 cterm=reverse - hi DiffDelete ctermfg=167 ctermbg=234 cterm=reverse - hi DiffText ctermfg=214 ctermbg=234 cterm=reverse - hi Directory ctermfg=142 ctermbg=NONE cterm=bold - hi EndOfBuffer ctermfg=234 ctermbg=NONE cterm=NONE - hi ErrorMsg ctermfg=234 ctermbg=167 cterm=NONE - hi WarningMsg ctermfg=234 ctermbg=208 cterm=NONE - hi ModeMsg ctermfg=214 ctermbg=NONE cterm=bold - hi MoreMsg ctermfg=214 ctermbg=NONE cterm=bold - hi FoldColumn ctermfg=245 ctermbg=237 cterm=NONE - hi Folded ctermfg=245 ctermbg=237 cterm=NONE - hi IncSearch ctermfg=208 ctermbg=234 cterm=reverse - hi Search ctermfg=214 ctermbg=234 cterm=reverse - hi MatchParen ctermfg=NONE ctermbg=241 cterm=bold - hi NonText ctermfg=245 ctermbg=NONE cterm=NONE - hi Pmenu ctermfg=223 ctermbg=239 cterm=NONE - hi PmenuSbar ctermfg=NONE ctermbg=239 cterm=NONE - hi PmenuSel ctermfg=234 ctermbg=246 cterm=NONE - hi PmenuThumb ctermfg=NONE ctermbg=243 cterm=NONE - hi Question ctermfg=208 ctermbg=NONE cterm=bold - hi SpellBad ctermfg=167 ctermbg=NONE cterm=italic,underline - hi SpellCap ctermfg=109 ctermbg=NONE cterm=italic,underline - hi SpellLocal ctermfg=108 ctermbg=NONE cterm=italic,underline - hi SpellRare ctermfg=175 ctermbg=NONE cterm=italic,underline - hi StatusLine ctermfg=239 ctermbg=223 cterm=reverse - hi StatusLineNC ctermfg=234 ctermbg=246 cterm=reverse - hi TabLine ctermfg=243 ctermbg=237 cterm=NONE - hi TabLineFill ctermfg=243 ctermbg=237 cterm=NONE - hi TabLineSel ctermfg=234 ctermbg=246 cterm=NONE - hi VertSplit ctermfg=241 ctermbg=234 cterm=NONE - hi Visual ctermfg=NONE ctermbg=NONE cterm=reverse - hi VisualNOS ctermfg=NONE ctermbg=NONE cterm=reverse - hi WildMenu ctermfg=234 ctermbg=246 cterm=NONE - hi Todo ctermfg=245 ctermbg=NONE cterm=bold,italic - hi CursorIM ctermfg=NONE ctermbg=NONE cterm=reverse - hi ToolbarLine ctermfg=NONE ctermbg=241 cterm=NONE - hi ToolbarButton ctermfg=223 ctermbg=241 cterm=bold - hi QuickFixLine ctermfg=214 ctermbg=234 cterm=reverse - hi StatusLineTerm ctermfg=239 ctermbg=223 cterm=reverse - hi StatusLineTermNC ctermfg=234 ctermbg=246 cterm=reverse - hi Title ctermfg=142 ctermbg=NONE cterm=bold - hi Conditional ctermfg=167 ctermbg=NONE cterm=NONE - hi Repeat ctermfg=167 ctermbg=NONE cterm=NONE - hi Label ctermfg=167 ctermbg=NONE cterm=NONE - hi Exception ctermfg=167 ctermbg=NONE cterm=NONE - hi Keyword ctermfg=167 ctermbg=NONE cterm=NONE - hi Statement ctermfg=167 ctermbg=NONE cterm=NONE - hi Typedef ctermfg=214 ctermbg=NONE cterm=NONE - hi Type ctermfg=214 ctermbg=NONE cterm=NONE - hi StorageClass ctermfg=208 ctermbg=NONE cterm=NONE - hi Delimiter ctermfg=208 ctermbg=NONE cterm=NONE - hi Special ctermfg=208 ctermbg=NONE cterm=NONE - hi Tag ctermfg=208 ctermbg=NONE cterm=NONE - hi String ctermfg=142 ctermbg=NONE cterm=NONE - hi PreProc ctermfg=108 ctermbg=NONE cterm=NONE - hi Macro ctermfg=108 ctermbg=NONE cterm=NONE - hi Define ctermfg=108 ctermbg=NONE cterm=NONE - hi Include ctermfg=108 ctermbg=NONE cterm=NONE - hi PreCondit ctermfg=108 ctermbg=NONE cterm=NONE - hi Structure ctermfg=108 ctermbg=NONE cterm=NONE - hi Operator ctermfg=108 ctermbg=NONE cterm=NONE - hi Identifier ctermfg=109 ctermbg=NONE cterm=NONE - hi Underlined ctermfg=109 ctermbg=NONE cterm=underline - hi Constant ctermfg=175 ctermbg=NONE cterm=NONE - hi Boolean ctermfg=175 ctermbg=NONE cterm=NONE - hi Character ctermfg=175 ctermbg=NONE cterm=NONE - hi Number ctermfg=175 ctermbg=NONE cterm=NONE - hi Float ctermfg=175 ctermbg=NONE cterm=NONE - hi SpecialKey ctermfg=239 ctermbg=NONE cterm=NONE - hi Comment ctermfg=245 ctermbg=NONE cterm=italic - hi SpecialComment ctermfg=245 ctermbg=NONE cterm=italic - hi Ignore ctermfg=223 ctermbg=NONE cterm=NONE - if !s:italics - hi SpellBad cterm=underline - hi SpellCap cterm=underline - hi SpellLocal cterm=underline - hi SpellRare cterm=underline - hi Todo cterm=bold - hi Comment cterm=NONE - hi SpecialComment cterm=NONE - endif - if get(g:, 'gruvbox_material_enable_bold', 0) - hi Error ctermfg=167 ctermbg=234 cterm=bold,reverse - hi Function ctermfg=142 ctermbg=NONE cterm=bold - else - hi Error ctermfg=167 ctermbg=234 cterm=reverse - hi Function ctermfg=142 ctermbg=NONE cterm=NONE - endif - hi! link SpecialChar Special - hi! link Debug Special - hi htmlLink ctermfg=246 ctermbg=NONE cterm=underline - hi htmlBold ctermfg=NONE ctermbg=NONE cterm=bold - hi htmlBoldUnderline ctermfg=NONE ctermbg=NONE cterm=bold,underline - hi htmlBoldItalic ctermfg=NONE ctermbg=NONE cterm=bold,italic - hi htmlBoldUnderlineItalic ctermfg=NONE ctermbg=NONE cterm=bold,italic,underline - hi htmlUnderline ctermfg=NONE ctermbg=NONE cterm=underline - hi htmlUnderlineItalic ctermfg=NONE ctermbg=NONE cterm=italic,underline - hi htmlItalic ctermfg=NONE ctermbg=NONE cterm=italic - hi vimCommentTitle ctermfg=246 ctermbg=NONE cterm=bold,italic - hi markdownH1 ctermfg=142 ctermbg=NONE cterm=bold - hi markdownH2 ctermfg=142 ctermbg=NONE cterm=bold - hi markdownH3 ctermfg=214 ctermbg=NONE cterm=bold - hi markdownH4 ctermfg=214 ctermbg=NONE cterm=bold - hi markdownLinkText ctermfg=108 ctermbg=NONE cterm=underline - hi markdownItalic ctermfg=NONE ctermbg=NONE cterm=italic - hi markdownBold ctermfg=NONE ctermbg=NONE cterm=bold - hi markdownItalicDelimiter ctermfg=245 ctermbg=NONE cterm=italic - hi mkdLink ctermfg=108 ctermbg=NONE cterm=underline - hi mkdInlineURL ctermfg=175 ctermbg=NONE cterm=underline - hi mkdItalic ctermfg=245 ctermbg=NONE cterm=italic - if !s:italics - hi htmlBoldItalic cterm=bold - hi htmlBoldUnderlineItalic cterm=bold,underline - hi htmlUnderlineItalic cterm=underline - hi htmlItalic cterm=NONE - hi vimCommentTitle cterm=bold - hi markdownItalic cterm=NONE - hi markdownItalicDelimiter cterm=NONE - hi mkdItalic cterm=NONE - endif - if get(g:, 'indent_guides_auto_colors', 0) - if get(g:, 'gruvbox_material_hard_invert_indent_guides', 0) - hi IndentGuidesOdd ctermfg=234 ctermbg=239 cterm=reverse - hi IndentGuidesEven ctermfg=234 ctermbg=237 cterm=reverse - else - hi IndentGuidesOdd ctermfg=234 ctermbg=239 cterm=NONE - hi IndentGuidesEven ctermfg=234 ctermbg=237 cterm=NONE - endif - endif - if !exists('g:indentLine_color_term') - let g:indentLine_color_term = 239 - endif - if !exists('g:indentLine_color_gui') - let g:indentLine_color_gui = '#504945' - endif - " Rainbow Parentheses - if !exists('g:rbpt_colorpairs') - let g:rbpt_colorpairs = [['blue', '#7daea3'], ['magenta', '#d3869b'], - \ ['red', '#ea6962'], ['208', '#e78a4e']] - endif - - let g:rainbow_guifgs = [ '#e78a4e', '#ea6962', '#d3869b', '#7daea3' ] - let g:rainbow_ctermfgs = [ '208', 'red', 'magenta', '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 - hi GitGutterAdd ctermfg=142 ctermbg=237 cterm=NONE - hi GitGutterChange ctermfg=108 ctermbg=237 cterm=NONE - hi GitGutterDelete ctermfg=167 ctermbg=237 cterm=NONE - hi GitGutterChangeDelete ctermfg=108 ctermbg=237 cterm=NONE - hi SignifySignAdd ctermfg=142 ctermbg=237 cterm=NONE - hi SignifySignChange ctermfg=108 ctermbg=237 cterm=NONE - hi SignifySignDelete ctermfg=167 ctermbg=237 cterm=NONE - hi SyntasticError ctermfg=NONE ctermbg=NONE cterm=underline - hi SyntasticWarning ctermfg=NONE ctermbg=NONE cterm=underline - hi SyntasticErrorSign ctermfg=167 ctermbg=237 cterm=NONE - hi SyntasticWarningSign ctermfg=214 ctermbg=237 cterm=NONE - hi SignatureMarkText ctermfg=109 ctermbg=237 cterm=NONE - hi SignatureMarkerText ctermfg=175 ctermbg=237 cterm=NONE - hi ShowMarksHLl ctermfg=109 ctermbg=237 cterm=NONE - hi ShowMarksHLu ctermfg=109 ctermbg=237 cterm=NONE - hi ShowMarksHLo ctermfg=109 ctermbg=237 cterm=NONE - hi ShowMarksHLm ctermfg=109 ctermbg=237 cterm=NONE - hi! link CtrlPMatch Yellow - hi! link CtrlPNoEntries Red - hi CtrlPPrtBase ctermfg=239 ctermbg=NONE cterm=NONE - hi! link CtrlPPrtCursor Blue - hi CtrlPLinePre ctermfg=239 ctermbg=NONE cterm=NONE - hi CtrlPMode1 ctermfg=109 ctermbg=239 cterm=bold - hi CtrlPMode2 ctermfg=234 ctermbg=109 cterm=bold - hi CtrlPStats ctermfg=246 ctermbg=239 cterm=bold - hi StartifySpecial ctermfg=239 ctermbg=NONE cterm=NONE - hi StartifyFooter ctermfg=239 ctermbg=NONE cterm=NONE - let g:vimshell_escape_colors = [ - \ '#7c6f64', '#ea6962', '#a9b665', '#e3a84e', - \ '#7daea3', '#d3869b', '#89b482', '#a89984', - \ '#1d2021', '#ea6962', '#a9b665', '#e78a4e', - \ '#7daea3', '#d3869b', '#89b482', '#dfbf8e' - \ ] - hi BufTabLineCurrent ctermfg=234 ctermbg=246 cterm=NONE - hi BufTabLineActive ctermfg=246 ctermbg=239 cterm=NONE - hi BufTabLineHidden ctermfg=243 ctermbg=237 cterm=NONE - hi BufTabLineFill ctermfg=234 ctermbg=234 cterm=NONE - hi ALEError ctermfg=NONE ctermbg=NONE cterm=underline - hi ALEWarning ctermfg=NONE ctermbg=NONE cterm=underline - hi ALEInfo ctermfg=NONE ctermbg=NONE cterm=underline - hi ALEErrorSign ctermfg=167 ctermbg=237 cterm=NONE - hi ALEWarningSign ctermfg=214 ctermbg=237 cterm=NONE - hi ALEInfoSign ctermfg=109 ctermbg=237 cterm=NONE - hi multiple_cursors_cursor ctermfg=NONE ctermbg=NONE cterm=reverse - hi multiple_cursors_visual ctermfg=NONE ctermbg=239 cterm=NONE - hi CocHighlightText ctermfg=NONE ctermbg=NONE cterm=bold - hi MatchParenCur ctermfg=NONE ctermbg=NONE cterm=bold - hi MatchWord ctermfg=NONE ctermbg=NONE cterm=underline - hi MatchWordCur ctermfg=NONE ctermbg=NONE cterm=underline - unlet s:t_Co s:italics - finish -endif - -if s:t_Co >= 8 - if get(g:, 'gruvbox_material_hard_transp_bg', 0) - hi Normal ctermfg=White ctermbg=NONE cterm=NONE - hi Terminal ctermfg=White ctermbg=NONE cterm=NONE - else - hi Normal ctermfg=White ctermbg=Black cterm=NONE - hi Terminal ctermfg=White ctermbg=Black cterm=NONE - endif - hi ColorColumn ctermfg=NONE ctermbg=DarkGrey cterm=NONE - hi Conceal ctermfg=Blue ctermbg=NONE cterm=NONE - hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse - hi lCursor ctermfg=NONE ctermbg=NONE cterm=reverse - hi CursorColumn ctermfg=NONE ctermbg=DarkGrey cterm=NONE - hi CursorLine ctermfg=NONE ctermbg=DarkGrey cterm=NONE - hi CursorLineNr ctermfg=Yellow ctermbg=DarkGrey cterm=NONE - hi LineNr ctermfg=DarkGrey ctermbg=NONE cterm=NONE - hi SignColumn ctermfg=NONE ctermbg=DarkGrey cterm=NONE - hi DiffAdd ctermfg=Green ctermbg=Black cterm=reverse - hi DiffChange ctermfg=Cyan ctermbg=Black cterm=reverse - hi DiffDelete ctermfg=Red ctermbg=Black cterm=reverse - hi DiffText ctermfg=Yellow ctermbg=Black cterm=reverse - hi Directory ctermfg=Green ctermbg=NONE cterm=bold - hi EndOfBuffer ctermfg=Black ctermbg=NONE cterm=NONE - hi ErrorMsg ctermfg=Black ctermbg=Red cterm=NONE - hi WarningMsg ctermfg=Black ctermbg=DarkYellow cterm=NONE - hi ModeMsg ctermfg=Yellow ctermbg=NONE cterm=bold - hi MoreMsg ctermfg=Yellow ctermbg=NONE cterm=bold - hi FoldColumn ctermfg=Grey ctermbg=DarkGrey cterm=NONE - hi Folded ctermfg=Grey ctermbg=DarkGrey cterm=NONE - hi IncSearch ctermfg=DarkYellow ctermbg=Black cterm=reverse - hi Search ctermfg=Yellow ctermbg=Black cterm=reverse - hi MatchParen ctermfg=NONE ctermbg=DarkGrey cterm=bold - hi NonText ctermfg=Grey ctermbg=NONE cterm=NONE - hi Pmenu ctermfg=White ctermbg=DarkGrey cterm=NONE - hi PmenuSbar ctermfg=NONE ctermbg=DarkGrey cterm=NONE - hi PmenuSel ctermfg=Black ctermbg=LightGrey cterm=NONE - hi PmenuThumb ctermfg=NONE ctermbg=DarkGrey cterm=NONE - hi Question ctermfg=DarkYellow ctermbg=NONE cterm=bold - hi SpellBad ctermfg=Red ctermbg=NONE cterm=italic,underline - hi SpellCap ctermfg=Blue ctermbg=NONE cterm=italic,underline - hi SpellLocal ctermfg=Cyan ctermbg=NONE cterm=italic,underline - hi SpellRare ctermfg=Magenta ctermbg=NONE cterm=italic,underline - hi StatusLine ctermfg=DarkGrey ctermbg=White cterm=reverse - hi StatusLineNC ctermfg=Black ctermbg=LightGrey cterm=reverse - hi TabLine ctermfg=DarkGrey ctermbg=DarkGrey cterm=NONE - hi TabLineFill ctermfg=DarkGrey ctermbg=DarkGrey cterm=NONE - hi TabLineSel ctermfg=Black ctermbg=LightGrey cterm=NONE - hi VertSplit ctermfg=DarkGrey ctermbg=Black cterm=NONE - hi Visual ctermfg=NONE ctermbg=NONE cterm=reverse - hi VisualNOS ctermfg=NONE ctermbg=NONE cterm=reverse - hi WildMenu ctermfg=Black ctermbg=LightGrey cterm=NONE - hi Todo ctermfg=Grey ctermbg=NONE cterm=bold,italic - hi CursorIM ctermfg=NONE ctermbg=NONE cterm=reverse - hi ToolbarLine ctermfg=NONE ctermbg=DarkGrey cterm=NONE - hi ToolbarButton ctermfg=White ctermbg=DarkGrey cterm=bold - hi QuickFixLine ctermfg=Yellow ctermbg=Black cterm=reverse - hi StatusLineTerm ctermfg=DarkGrey ctermbg=White cterm=reverse - hi StatusLineTermNC ctermfg=Black ctermbg=LightGrey cterm=reverse - hi Title ctermfg=Green ctermbg=NONE cterm=bold - hi Conditional ctermfg=Red ctermbg=NONE cterm=NONE - hi Repeat ctermfg=Red ctermbg=NONE cterm=NONE - hi Label ctermfg=Red ctermbg=NONE cterm=NONE - hi Exception ctermfg=Red ctermbg=NONE cterm=NONE - hi Keyword ctermfg=Red ctermbg=NONE cterm=NONE - hi Statement ctermfg=Red ctermbg=NONE cterm=NONE - hi Typedef ctermfg=Yellow ctermbg=NONE cterm=NONE - hi Type ctermfg=Yellow ctermbg=NONE cterm=NONE - hi StorageClass ctermfg=DarkYellow ctermbg=NONE cterm=NONE - hi Delimiter ctermfg=DarkYellow ctermbg=NONE cterm=NONE - hi Special ctermfg=DarkYellow ctermbg=NONE cterm=NONE - hi Tag ctermfg=DarkYellow ctermbg=NONE cterm=NONE - hi String ctermfg=Green ctermbg=NONE cterm=NONE - hi PreProc ctermfg=Cyan ctermbg=NONE cterm=NONE - hi Macro ctermfg=Cyan ctermbg=NONE cterm=NONE - hi Define ctermfg=Cyan ctermbg=NONE cterm=NONE - hi Include ctermfg=Cyan ctermbg=NONE cterm=NONE - hi PreCondit ctermfg=Cyan ctermbg=NONE cterm=NONE - hi Structure ctermfg=Cyan ctermbg=NONE cterm=NONE - hi Operator ctermfg=Cyan ctermbg=NONE cterm=NONE - hi Identifier ctermfg=Blue ctermbg=NONE cterm=NONE - hi Underlined ctermfg=Blue ctermbg=NONE cterm=underline - hi Constant ctermfg=Magenta ctermbg=NONE cterm=NONE - hi Boolean ctermfg=Magenta ctermbg=NONE cterm=NONE - hi Character ctermfg=Magenta ctermbg=NONE cterm=NONE - hi Number ctermfg=Magenta ctermbg=NONE cterm=NONE - hi Float ctermfg=Magenta ctermbg=NONE cterm=NONE - hi SpecialKey ctermfg=DarkGrey ctermbg=NONE cterm=NONE - hi Comment ctermfg=Grey ctermbg=NONE cterm=italic - hi SpecialComment ctermfg=Grey ctermbg=NONE cterm=italic - hi Ignore ctermfg=White ctermbg=NONE cterm=NONE - if !s:italics - hi SpellBad cterm=underline - hi SpellCap cterm=underline - hi SpellLocal cterm=underline - hi SpellRare cterm=underline - hi Todo cterm=bold - hi Comment cterm=NONE - hi SpecialComment cterm=NONE - endif - if get(g:, 'gruvbox_material_enable_bold', 0) - hi Error ctermfg=Red ctermbg=Black cterm=bold,reverse - hi Function ctermfg=Green ctermbg=NONE cterm=bold - else - hi Error ctermfg=Red ctermbg=Black cterm=reverse - hi Function ctermfg=Green ctermbg=NONE cterm=NONE - endif - hi! link SpecialChar Special - hi! link Debug Special - hi htmlLink ctermfg=LightGrey ctermbg=NONE cterm=underline - hi htmlBold ctermfg=NONE ctermbg=NONE cterm=bold - hi htmlBoldUnderline ctermfg=NONE ctermbg=NONE cterm=bold,underline - hi htmlBoldItalic ctermfg=NONE ctermbg=NONE cterm=bold,italic - hi htmlBoldUnderlineItalic ctermfg=NONE ctermbg=NONE cterm=bold,italic,underline - hi htmlUnderline ctermfg=NONE ctermbg=NONE cterm=underline - hi htmlUnderlineItalic ctermfg=NONE ctermbg=NONE cterm=italic,underline - hi htmlItalic ctermfg=NONE ctermbg=NONE cterm=italic - hi vimCommentTitle ctermfg=LightGrey ctermbg=NONE cterm=bold,italic - hi markdownH1 ctermfg=Green ctermbg=NONE cterm=bold - hi markdownH2 ctermfg=Green ctermbg=NONE cterm=bold - hi markdownH3 ctermfg=Yellow ctermbg=NONE cterm=bold - hi markdownH4 ctermfg=Yellow ctermbg=NONE cterm=bold - hi markdownLinkText ctermfg=Cyan ctermbg=NONE cterm=underline - hi markdownItalic ctermfg=NONE ctermbg=NONE cterm=italic - hi markdownBold ctermfg=NONE ctermbg=NONE cterm=bold - hi markdownItalicDelimiter ctermfg=Grey ctermbg=NONE cterm=italic - hi mkdLink ctermfg=Cyan ctermbg=NONE cterm=underline - hi mkdInlineURL ctermfg=Magenta ctermbg=NONE cterm=underline - hi mkdItalic ctermfg=Grey ctermbg=NONE cterm=italic - if !s:italics - hi htmlBoldItalic cterm=bold - hi htmlBoldUnderlineItalic cterm=bold,underline - hi htmlUnderlineItalic cterm=underline - hi htmlItalic cterm=NONE - hi vimCommentTitle cterm=bold - hi markdownItalic cterm=NONE - hi markdownItalicDelimiter cterm=NONE - hi mkdItalic cterm=NONE - endif - if get(g:, 'indent_guides_auto_colors', 0) - if get(g:, 'gruvbox_material_hard_invert_indent_guides', 0) - hi IndentGuidesOdd ctermfg=Black ctermbg=DarkGrey cterm=reverse - hi IndentGuidesEven ctermfg=Black ctermbg=DarkGrey cterm=reverse - else - hi IndentGuidesOdd ctermfg=Black ctermbg=DarkGrey cterm=NONE - hi IndentGuidesEven ctermfg=Black ctermbg=DarkGrey cterm=NONE - endif - endif - if !exists('g:indentLine_color_term') - let g:indentLine_color_term = 239 - endif - if !exists('g:indentLine_color_gui') - let g:indentLine_color_gui = '#504945' - endif - " Rainbow Parentheses - if !exists('g:rbpt_colorpairs') - let g:rbpt_colorpairs = [['blue', '#7daea3'], ['magenta', '#d3869b'], - \ ['red', '#ea6962'], ['208', '#e78a4e']] - endif - - let g:rainbow_guifgs = [ '#e78a4e', '#ea6962', '#d3869b', '#7daea3' ] - let g:rainbow_ctermfgs = [ '208', 'red', 'magenta', '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 - hi GitGutterAdd ctermfg=Green ctermbg=DarkGrey cterm=NONE - hi GitGutterChange ctermfg=Cyan ctermbg=DarkGrey cterm=NONE - hi GitGutterDelete ctermfg=Red ctermbg=DarkGrey cterm=NONE - hi GitGutterChangeDelete ctermfg=Cyan ctermbg=DarkGrey cterm=NONE - hi SignifySignAdd ctermfg=Green ctermbg=DarkGrey cterm=NONE - hi SignifySignChange ctermfg=Cyan ctermbg=DarkGrey cterm=NONE - hi SignifySignDelete ctermfg=Red ctermbg=DarkGrey cterm=NONE - hi SyntasticError ctermfg=NONE ctermbg=NONE cterm=underline - hi SyntasticWarning ctermfg=NONE ctermbg=NONE cterm=underline - hi SyntasticErrorSign ctermfg=Red ctermbg=DarkGrey cterm=NONE - hi SyntasticWarningSign ctermfg=Yellow ctermbg=DarkGrey cterm=NONE - hi SignatureMarkText ctermfg=Blue ctermbg=DarkGrey cterm=NONE - hi SignatureMarkerText ctermfg=Magenta ctermbg=DarkGrey cterm=NONE - hi ShowMarksHLl ctermfg=Blue ctermbg=DarkGrey cterm=NONE - hi ShowMarksHLu ctermfg=Blue ctermbg=DarkGrey cterm=NONE - hi ShowMarksHLo ctermfg=Blue ctermbg=DarkGrey cterm=NONE - hi ShowMarksHLm ctermfg=Blue ctermbg=DarkGrey cterm=NONE - hi! link CtrlPMatch Yellow - hi! link CtrlPNoEntries Red - hi CtrlPPrtBase ctermfg=DarkGrey ctermbg=NONE cterm=NONE - hi! link CtrlPPrtCursor Blue - hi CtrlPLinePre ctermfg=DarkGrey ctermbg=NONE cterm=NONE - hi CtrlPMode1 ctermfg=Blue ctermbg=DarkGrey cterm=bold - hi CtrlPMode2 ctermfg=Black ctermbg=Blue cterm=bold - hi CtrlPStats ctermfg=LightGrey ctermbg=DarkGrey cterm=bold - hi StartifySpecial ctermfg=DarkGrey ctermbg=NONE cterm=NONE - hi StartifyFooter ctermfg=DarkGrey ctermbg=NONE cterm=NONE - let g:vimshell_escape_colors = [ - \ '#7c6f64', '#ea6962', '#a9b665', '#e3a84e', - \ '#7daea3', '#d3869b', '#89b482', '#a89984', - \ '#1d2021', '#ea6962', '#a9b665', '#e78a4e', - \ '#7daea3', '#d3869b', '#89b482', '#dfbf8e' - \ ] - hi BufTabLineCurrent ctermfg=Black ctermbg=LightGrey cterm=NONE - hi BufTabLineActive ctermfg=LightGrey ctermbg=DarkGrey cterm=NONE - hi BufTabLineHidden ctermfg=DarkGrey ctermbg=DarkGrey cterm=NONE - hi BufTabLineFill ctermfg=Black ctermbg=Black cterm=NONE - hi ALEError ctermfg=NONE ctermbg=NONE cterm=underline - hi ALEWarning ctermfg=NONE ctermbg=NONE cterm=underline - hi ALEInfo ctermfg=NONE ctermbg=NONE cterm=underline - hi ALEErrorSign ctermfg=Red ctermbg=DarkGrey cterm=NONE - hi ALEWarningSign ctermfg=Yellow ctermbg=DarkGrey cterm=NONE - hi ALEInfoSign ctermfg=Blue ctermbg=DarkGrey cterm=NONE - hi multiple_cursors_cursor ctermfg=NONE ctermbg=NONE cterm=reverse - hi multiple_cursors_visual ctermfg=NONE ctermbg=DarkGrey cterm=NONE - hi CocHighlightText ctermfg=NONE ctermbg=NONE cterm=bold - hi MatchParenCur ctermfg=NONE ctermbg=NONE cterm=bold - hi MatchWord ctermfg=NONE ctermbg=NONE cterm=underline - hi MatchWordCur ctermfg=NONE ctermbg=NONE cterm=underline - unlet s:t_Co s:italics - finish -endif - -if s:t_Co >= 2 - hi Normal term=NONE - hi ColorColumn term=reverse - hi Conceal term=NONE - hi Cursor term=NONE - hi CursorColumn term=reverse - hi CursorLine term=underline - hi CursorLineNr term=bold,italic,reverse,underline - hi DiffAdd term=reverse,underline - hi DiffChange term=reverse,underline - hi DiffDelete term=reverse,underline - hi DiffText term=bold,reverse,underline - hi Directory term=NONE - hi EndOfBuffer term=NONE - hi ErrorMsg term=bold,italic,reverse - hi FoldColumn term=reverse - hi Folded term=italic,reverse,underline - hi IncSearch term=bold,italic,reverse - hi LineNr term=reverse - hi MatchParen term=bold,underline - hi ModeMsg term=NONE - hi MoreMsg term=NONE - hi NonText term=NONE - hi Pmenu term=reverse - hi PmenuSbar term=NONE - hi PmenuSel term=NONE - hi PmenuThumb term=NONE - hi Question term=standout - hi Search term=italic,underline - hi SignColumn term=reverse - hi SpecialKey term=bold - hi SpellBad term=italic,underline - hi SpellCap term=italic,underline - hi SpellLocal term=italic,underline - hi SpellRare term=italic,underline - hi StatusLine term=bold,reverse - hi StatusLineNC term=reverse - hi TabLine term=italic,reverse,underline - hi TabLineFill term=reverse,underline - hi TabLineSel term=bold - hi Title term=bold - hi VertSplit term=reverse - hi Visual term=reverse - hi VisualNOS term=NONE - hi WarningMsg term=standout - hi WildMenu term=bold - hi Comment term=italic - hi Constant term=bold,italic - hi Error term=reverse - hi Identifier term=italic - hi Ignore term=NONE - hi PreProc term=italic - hi Special term=bold,italic - hi Statement term=bold - hi Todo term=bold,underline - hi Type term=bold - hi Underlined term=underline - hi CursorIM term=NONE - hi ToolbarLine term=reverse - hi ToolbarButton term=bold,reverse - if !s:italics - hi CursorLineNr term=bold,reverse,underline - hi ErrorMsg term=bold,reverse - hi Folded term=reverse,underline - hi IncSearch term=bold,reverse - hi Search term=underline - hi SpellBad term=underline - hi SpellCap term=underline - hi SpellLocal term=underline - hi SpellRare term=underline - hi TabLine term=reverse,underline - hi Comment term=NONE - hi Constant term=bold - hi Identifier term=NONE - hi PreProc term=NONE - hi Special term=bold - endif - unlet s:t_Co s:italics - finish -endif - -" Background: dark -" Color: dark0 #1d2021 234 Black -" Color: dark1 #3c3836 237 DarkGrey -" Color: dark2 #504945 239 DarkGrey -" Color: dark3 #665c54 241 DarkGrey -" Color: dark4 #7c6f64 243 DarkGrey -" Color: grey #928374 245 Grey -" Color: lightgrey #a89984 246 LightGrey -" Color: light #dfbf8e 223 White -" Color: red #ea6962 167 Red -" Color: orange #e78a4e 208 DarkYellow -" Color: yellow #e3a84e 214 Yellow -" Color: green #a9b665 142 Green -" Color: aqua #89b482 108 Cyan -" Color: blue #7daea3 109 Blue -" Color: purple #d3869b 175 Magenta -" Term colors: dark3 red green orange blue purple aqua light -" Term colors: grey red green yellow blue purple aqua light -" vim: et ts=2 sw=2 diff --git a/vim/.vim/colors/horizon.vim b/vim/.vim/colors/horizon.vim deleted file mode 100755 index 45f6cd0..0000000 --- a/vim/.vim/colors/horizon.vim +++ /dev/null @@ -1,226 +0,0 @@ -" Name: Horizon -" Description: Template for a dark warm colorscheme -" Author: Kien Nguyen-Tuan <kienn2609@gmail.com> -" Maintainer: Kien Nguyen-Tuan <kienn2609@gmail.com> -" Website: https://ntk148v.github.io/blog -" License: Vim License (see `:help license`) -" Last Updated: Thứ sáu, 01 Tháng 3 Năm 2019 16:06:23 +07 - -if !(has('termguicolors') && &termguicolors) && !has('gui_running') - \ && (!exists('&t_Co') || &t_Co < 256) - echoerr '[Horizon] There are not enough colors.' - finish -endif - -set background=dark - -hi clear -if exists('syntax_on') - syntax reset -endif - -let g:colors_name = 'horizon' - -hi! ColorColumn cterm=NONE ctermbg=235 guibg=#2e303e -hi! CursorColumn cterm=NONE ctermbg=235 guibg=#2e303e -hi! CursorLine cterm=NONE ctermbg=235 guibg=#2e303e -hi! Comment ctermfg=242 guifg=#6c6f93 -hi! Constant ctermfg=209 guifg=#f09483 -hi! Cursor ctermbg=242 ctermfg=242 guibg=#6c6f93 guifg=#6c6f93 -hi! CursorLineNr ctermbg=235 ctermfg=251 guibg=#2a3158 guifg=#cdd1e6 -hi! Delimiter ctermfg=44 guifg=#21bfc2 -hi! DiffAdd ctermbg=238 ctermfg=7 guibg=#45493e guifg=#c0c5b9 -hi! DiffChange ctermbg=23 ctermfg=241 guibg=#384851 guifg=#b3c3cc -hi! DiffDelete ctermbg=52 ctermfg=167 guibg=#53343b guifg=#ceb0b6 -hi! DiffText cterm=NONE ctermbg=24 ctermfg=233 gui=NONE guibg=#5b7881 guifg=#1c1e26 -hi! Directory ctermfg=203 guifg=#e95678 -hi! Error ctermbg=233 ctermfg=203 guibg=#1c1e26 guifg=#eC6a88 -hi! ErrorMsg ctermbg=233 ctermfg=203 guibg=#1c1e26 guifg=#ec6a88 -hi! WarningMsg ctermbg=233 ctermfg=203 guibg=#1c1e26 guifg=#eC6a88 -hi! EndOfBuffer ctermbg=233 ctermfg=236 guibg=#1c1e26 guifg=#2e303e -hi! NonText ctermbg=233 ctermfg=233 guifg=#2e303e guibg=#1c1e26 -hi! SpecialKey ctermbg=203 ctermfg=235 guibg=#e95678 guifg=#2e303e -hi! Folded ctermbg=233 ctermfg=242 guibg=#1c1e26 guifg=#6c6f93 -hi! FoldColumn ctermbg=233 ctermfg=242 guibg=#1c1e26 guifg=#6c6f93 -hi! Function ctermfg=37 guifg=#25b0bc -hi! Identifier cterm=NONE ctermfg=203 guifg=#e95678 gui=italic -hi! Statement ctermfg=171 gui=NONE guifg=#b877db -hi! Include ctermfg=171 guifg=#b877db -hi! LineNr ctermbg=233 ctermfg=239 guibg=#1c1e26 guifg=#6c6f93 -hi! MatchParen ctermbg=237 ctermfg=255 guibg=#3e445e guifg=#ffffff -hi! MoreMsg ctermfg=48 guifg=#09f7a0 -hi! Normal ctermbg=233 ctermfg=252 guibg=#1c1e26 guifg=#d5d8da -hi! Operator ctermfg=37 guifg=#25b0bc -hi! Pmenu ctermbg=NONE ctermfg=NONE guibg=NONE guifg=#d5d8da -hi! PmenuSbar ctermbg=236 guibg=#3d425b -hi! PmenuSel ctermbg=240 ctermfg=255 guibg=#5b6389 guifg=#eff0f4 -hi! PmenuThumb ctermbg=233 guibg=#1c1e26 -hi! PreProc ctermfg=150 guifg=#09f7a0 -hi! Question ctermfg=150 guifg=#09f7a0 -hi! QuickFixLine ctermbg=233 ctermfg=252 guibg=#272c42 guifg=#1c1e26 -hi! Search ctermbg=216 ctermfg=234 guibg=#e4aa80 guifg=#392313 -hi! SignColumn ctermbg=233 ctermfg=242 guibg=#1c1e26 guifg=#6c6f93 -hi! Special ctermfg=203 guifg=#e95678 -hi! SpellBad ctermbg=95 ctermfg=252 gui=undercurl guisp=#eC6a88 -hi! SpellCap ctermbg=24 ctermfg=252 gui=undercurl guisp=#25b0bc -hi! SpellLocal ctermbg=23 ctermfg=203 gui=undercurl guisp=#e95678 -hi! SpellRare ctermbg=97 ctermfg=252 gui=undercurl guisp=#f09483 -hi! StatusLine cterm=reverse ctermbg=234 ctermfg=245 gui=reverse guibg=#17171b guifg=#818596 term=reverse -hi! StatusLineTerm cterm=reverse ctermbg=234 ctermfg=245 gui=reverse guibg=#17171b guifg=#818596 term=reverse -hi! StatusLineNC cterm=reverse ctermbg=237 ctermfg=233 gui=reverse guibg=#3e445e guifg=#0f1117 -hi! StatusLineTermNC cterm=reverse ctermbg=237 ctermfg=233 gui=reverse guibg=#3e445e guifg=#0f1117 -hi! StorageClass ctermfg=37 guifg=#25b0bc gui=italic -hi! String ctermfg=209 guifg=#fab795 -hi! Structure ctermfg=37 guifg=#25b0bc -hi! TabLine cterm=NONE ctermbg=245 ctermfg=234 gui=NONE guibg=#818596 guifg=#17171b -hi! TabLineFill cterm=reverse ctermbg=234 ctermfg=245 gui=reverse guibg=#17171b guifg=#818596 -hi! TabLineSel cterm=NONE ctermbg=234 ctermfg=247 gui=NONE guibg=#e95678 guifg=#9a9ca5 -hi! Title ctermfg=37 gui=NONE guifg=#25b0bc gui=bold -hi! Todo ctermbg=59 ctermfg=48 guibg=#45493e guifg=#09f7a0 gui=inverse,bold -hi! Type ctermfg=209 gui=NONE guifg=#fab795 -hi! Underlined cterm=underline ctermfg=37 gui=underline guifg=#25b0bc term=underline gui=underline -hi! VertSplit cterm=NONE ctermbg=233 ctermfg=233 guibg=#0f1117 guifg=#0f1117 gui=bold -hi! Visual ctermbg=236 guibg=#272c42 -hi! WildMenu ctermbg=255 ctermfg=234 guibg=#d4d5db guifg=#17171b -hi! diffAdded ctermfg=48 guifg=#09f7a0 -hi! diffRemoved ctermfg=203 guifg=#eC6a88 -hi! ALEErrorSign ctermbg=233 ctermfg=203 guibg=#1c1e26 guifg=#eC6a88 -hi! ALEWarningSign ctermbg=233 ctermfg=209 guibg=#1c1e26 guifg=#fab795 -hi! ALEVirtualTextError ctermfg=203 guifg=#eC6a88 -hi! ALEVirtualTextWarning ctermfg=209 guifg=#fab795 -hi! CtrlPMode1 ctermbg=241 ctermfg=234 guibg=#5a5f72 guifg=#17171b -hi! EasyMotionShade ctermfg=239 guifg=#3d425b -hi! EasyMotionTarget ctermfg=48 guifg=#09f7a0 -hi! EasyMotionTarget2First ctermfg=209 guifg=#fab795 -hi! EasyMotionTarget2Second ctermfg=209 guifg=#fab795 -hi! GitGutterAdd ctermbg=233 ctermfg=48 guibg=#1c1e26 guifg=#09f7a0 -hi! GitGutterChange ctermbg=233 ctermfg=109 guibg=#1c1e26 guifg=#e95678 -hi! GitGutterChangeDelete ctermbg=233 ctermfg=109 guibg=#1c1e26 guifg=#e95678 -hi! GitGutterDelete ctermbg=233 ctermfg=203 guibg=#1c1e26 guifg=#eC6a88 -hi! Sneak ctermbg=140 ctermfg=234 guibg=#f09483 guifg=#e95678 -hi! SneakScope ctermbg=236 ctermfg=242 guibg=#272c42 guifg=#d5d8da -hi! SyntasticErrorSign ctermbg=233 ctermfg=203 guibg=#1c1e26 guifg=#eC6a88 -hi! SyntasticStyleErrorSign ctermbg=233 ctermfg=203 guibg=#1c1e26 guifg=#eC6a88 -hi! SyntasticStyleWarningSign ctermbg=233 ctermfg=209 guibg=#1c1e26 guifg=#fab795 -hi! SyntasticWarningSign ctermbg=233 ctermfg=209 guibg=#1c1e26 guifg=#fab795 -hi! ZenSpace ctermbg=203 guibg=#eC6a88 - -hi! link cssBraces Delimiter -hi! link cssClassName Special -hi! link cssClassNameDot Normal -hi! link cssPseudoClassId Special -hi! link cssTagName Statement -hi! link helpHyperTextJump Constant -hi! link htmlArg Constant -hi! link htmlEndTag Statement -hi! link htmlTag Statement -hi! link jsonQuote Normal -hi! link phpVarSelector Identifier -hi! link pythonFunction Title -hi! link rubyDefine Statement -hi! link rubyFunction Title -hi! link rubyInterpolationDelimiter String -hi! link rubySharpBang Comment -hi! link rubyStringDelimiter String -hi! link sassClass Special -hi! link shFunction Normal -hi! link vimContinue Comment -hi! link vimFuncSID vimFunction -hi! link vimFuncVar Normal -hi! link vimFunction Title -hi! link vimGroup Statement -hi! link vimHiGroup Statement -hi! link vimHiTerm Identifier -hi! link vimMapModKey Special -hi! link vimOption Identifier -hi! link vimVar Normal -hi! link xmlAttrib Constant -hi! link xmlAttribPunct Statement -hi! link xmlEndTag Statement -hi! link xmlNamespace Statement -hi! link xmlTag Statement -hi! link xmlTagName Statement -hi! link yamlKeyValueDelimiter Delimiter -hi! link CtrlPPrtCursor Cursor -hi! link CtrlPMatch Title -hi! link CtrlPMode2 StatusLine -hi! link deniteMatched Normal -hi! link deniteMatchedChar Title -hi! link jsFlowMaybe Normal -hi! link jsFlowObject Normal -hi! link jsFlowType PreProc -hi! link graphqlName Normal -hi! link graphqlOperator Normal -hi! link jsArrowFunction Operator -hi! link jsClassDefinition Normal -hi! link jsClassFuncName Title -hi! link jsExport Statement -hi! link jsFuncName Title -hi! link jsFutureKeys Statement -hi! link jsFuncCall Normal -hi! link jsGlobalObjects Statement -hi! link jsModuleKeywords Statement -hi! link jsModuleOperators Statement -hi! link jsNull Constant -hi! link jsObjectFuncName Title -hi! link jsObjectKey Identifier -hi! link jsSuper Statement -hi! link jsTemplateBraces Special -hi! link jsUndefined Constant -hi! link markdownBold Special -hi! link markdownCode String -hi! link markdownCodeDelimiter String -hi! link markdownHeadingDelimiter Comment -hi! link markdownRule Comment -hi! link ngxDirective Statement -hi! link plug1 Normal -hi! link plug2 Identifier -hi! link plugDash Comment -hi! link plugMessage Special -hi! link SignifySignAdd GitGutterAdd -hi! link SignifySignChange GitGutterChange -hi! link SignifySignChangeDelete GitGutterChangeDelete -hi! link SignifySignDelete GitGutterDelete -hi! link SignifySignDeleteFirstLine SignifySignDelete -hi! link StartifyBracket Comment -hi! link StartifyFile Identifier -hi! link StartifyFooter Constant -hi! link StartifyHeader Constant -hi! link StartifyNumber Special -hi! link StartifyPath Comment -hi! link StartifySection Statement -hi! link StartifySlash Comment -hi! link StartifySpecial Normal -hi! link svssBraces Delimiter -hi! link swiftIdentifier Normal -hi! link typescriptAjaxMethods Normal -hi! link typescriptBraces Normal -hi! link typescriptEndColons Normal -hi! link typescriptFuncKeyword Statement -hi! link typescriptGlobalObjects Statement -hi! link typescriptHtmlElemProperties Normal -hi! link typescriptIdentifier Statement -hi! link typescriptMessage Normal -hi! link typescriptNull Constant -hi! link typescriptParens Normal - -if has('nvim') - let g:terminal_color_0 = '#1c1e26' - let g:terminal_color_1 = '#eC6a88' - let g:terminal_color_2 = '#09f7a0' - let g:terminal_color_3 = '#fab795' - let g:terminal_color_4 = '#25b0bc' - let g:terminal_color_5 = '#f09483' - let g:terminal_color_6 = '#e95678' - let g:terminal_color_7 = '#1c1e26' - let g:terminal_color_8 = '#d5d8da' - let g:terminal_color_9 = '#ec6a88' - let g:terminal_color_10 = '#6bdfe6' - let g:terminal_color_11 = '#fab38e' - let g:terminal_color_12 = '#21bfc2' - let g:terminal_color_13 = '#b877db' - let g:terminal_color_14 = '#95c4ce' - let g:terminal_color_15 = '#d2d4de' -else - let g:terminal_ansi_colors = ['#1c1e26', '#eC6a88', '#09f7a0', '#fab795', '#25b0bc', '#f09483', '#e95678', '#1c1e26', '#d5d8da', '#ec6a88', '#6bdfe6', '#fab38e', '#21bfc2', '#b877db', '#95c4ce', '#d2d4de'] -endif |