diff --git a/autoload/airline/themes/codedark.vim b/autoload/airline/themes/codedark.vim deleted file mode 100644 index ec393d8..0000000 --- a/autoload/airline/themes/codedark.vim +++ /dev/null @@ -1,120 +0,0 @@ -" Vim Code Dark (airline theme) -" https://github.com/tomasiser/vim-code-dark - -scriptencoding utf-8 - -let g:airline#themes#codedark#palette = {} - -" Terminal colors (base16): -let s:cterm00 = "00" -let s:cterm03 = "08" -let s:cterm05 = "07" -let s:cterm07 = "15" -let s:cterm08 = "01" -let s:cterm0A = "03" -let s:cterm0B = "02" -let s:cterm0C = "06" -let s:cterm0D = "04" -let s:cterm0E = "05" -if exists('base16colorspace') && base16colorspace == "256" - let s:cterm01 = "18" - let s:cterm02 = "19" - let s:cterm04 = "20" - let s:cterm06 = "21" - let s:cterm09 = "16" - let s:cterm0F = "17" -else - let s:cterm01 = "00" - let s:cterm02 = "08" - let s:cterm04 = "07" - let s:cterm06 = "07" - let s:cterm09 = "06" - let s:cterm0F = "03" -endif - -if &t_Co >= 256 - let g:codedark_term256=1 -elseif !exists("g:codedark_term256") - let g:codedark_term256=0 -endif - -let s:cdFront = {'gui': '#FFFFFF', 'cterm': (g:codedark_term256 ? '15' : s:cterm07)} -let s:cdFrontGray = {'gui': '#D4D4D4', 'cterm': (g:codedark_term256 ? '188' : s:cterm05)} -let s:cdBack = {'gui': '#1E1E1E', 'cterm': (g:codedark_term256 ? '234' : s:cterm00)} -let s:cdSelection = {'gui': '#264F78', 'cterm': (g:codedark_term256 ? '24' : s:cterm01)} - -let s:cdBlue = {'gui': '#0A7ACA', 'cterm': (g:codedark_term256 ? '32' : s:cterm0D)} -let s:cdLightBlue = {'gui': '#5CB6F8', 'cterm': (g:codedark_term256 ? '75' : s:cterm0C)} -let s:cdYellow = {'gui': '#FFAF00', 'cterm': (g:codedark_term256 ? '214' : s:cterm0A)} -let s:cdRed = {'gui': '#F44747', 'cterm': (g:codedark_term256 ? '203' : s:cterm08)} - -let s:cdDarkDarkDark = {'gui': '#262626', 'cterm': (g:codedark_term256 ? '235' : s:cterm01)} -let s:cdDarkDark = {'gui': '#303030', 'cterm': (g:codedark_term256 ? '236' : s:cterm02)} -let s:cdDark = {'gui': '#3C3C3C', 'cterm': (g:codedark_term256 ? '237' : s:cterm03)} - -let s:Warning = [ s:cdRed.gui, s:cdDarkDark.gui, s:cdRed.cterm, s:cdDarkDark.cterm, 'none'] - -" Normal: - -let s:N1 = [ s:cdFront.gui, s:cdBlue.gui, s:cdFront.cterm, s:cdBlue.cterm, 'none' ] -let s:N2 = [ s:cdFront.gui, s:cdDarkDark.gui, s:cdFront.cterm, s:cdDarkDark.cterm, 'none' ] -let s:N3 = [ s:cdFront.gui, s:cdDarkDarkDark.gui, s:cdFront.cterm, s:cdDarkDarkDark.cterm, 'none' ] -let s:NM = [ s:cdFront.gui, s:cdDarkDarkDark.gui, s:cdFront.cterm, s:cdDarkDarkDark.cterm, 'none'] - -let g:airline#themes#codedark#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) -let g:airline#themes#codedark#palette.normal_modified = { 'airline_c': s:NM } -let g:airline#themes#codedark#palette.normal.airline_warning = s:Warning -let g:airline#themes#codedark#palette.normal_modified.airline_warning = s:Warning - -" Insert: - -let s:I1 = [ s:cdBack.gui, s:cdYellow.gui, s:cdBack.cterm, s:cdYellow.cterm, 'none' ] -let s:I2 = [ s:cdFront.gui, s:cdDarkDark.gui, s:cdFront.cterm, s:cdDarkDark.cterm, 'none' ] -let s:I3 = [ s:cdFront.gui, s:cdDarkDarkDark.gui, s:cdFront.cterm, s:cdDarkDarkDark.cterm, 'none' ] -let s:IM = [ s:cdFront.gui, s:cdDarkDarkDark.gui, s:cdFront.cterm, s:cdDarkDarkDark.cterm, 'none'] - -let g:airline#themes#codedark#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) -let g:airline#themes#codedark#palette.insert_modified = { 'airline_c': s:IM } -let g:airline#themes#codedark#palette.insert.airline_warning = s:Warning -let g:airline#themes#codedark#palette.insert_modified.airline_warning = s:Warning - -" Replace: - -let s:R1 = [ s:cdBack.gui, s:cdYellow.gui, s:cdBack.cterm, s:cdYellow.cterm, 'none' ] -let s:R2 = [ s:cdFront.gui, s:cdDarkDark.gui, s:cdFront.cterm, s:cdDarkDark.cterm, 'none' ] -let s:R3 = [ s:cdFront.gui, s:cdDarkDarkDark.gui, s:cdFront.cterm, s:cdDarkDarkDark.cterm, 'none' ] -let s:RM = [ s:cdFront.gui, s:cdDarkDarkDark.gui, s:cdFront.cterm, s:cdDarkDarkDark.cterm, 'none'] - -let g:airline#themes#codedark#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) -let g:airline#themes#codedark#palette.replace_modified = { 'airline_c': s:RM } -let g:airline#themes#codedark#palette.replace.airline_warning = s:Warning -let g:airline#themes#codedark#palette.replace_modified.airline_warning = s:Warning - -" Visual: - -let s:V1 = [ s:cdLightBlue.gui, s:cdDark.gui, s:cdLightBlue.cterm, s:cdDark.cterm, 'none' ] -let s:V2 = [ s:cdFront.gui, s:cdDarkDark.gui, s:cdFront.cterm, s:cdDarkDark.cterm, 'none' ] -let s:V3 = [ s:cdFront.gui, s:cdDarkDarkDark.gui, s:cdFront.cterm, s:cdDarkDarkDark.cterm, 'none' ] -let s:VM = [ s:cdFront.gui, s:cdDarkDarkDark.gui, s:cdFront.cterm, s:cdDarkDarkDark.cterm, 'none'] - -let g:airline#themes#codedark#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) -let g:airline#themes#codedark#palette.visual_modified = { 'airline_c': s:VM } -let g:airline#themes#codedark#palette.visual.airline_warning = s:Warning -let g:airline#themes#codedark#palette.visual_modified.airline_warning = s:Warning - -" Inactive: - -let s:IA1 = [ s:cdFrontGray.gui, s:cdDark.gui, s:cdFrontGray.cterm, s:cdDark.cterm, 'none' ] -let s:IA2 = [ s:cdFrontGray.gui, s:cdDarkDark.gui, s:cdFrontGray.cterm, s:cdDarkDark.cterm, 'none' ] -let s:IA3 = [ s:cdFrontGray.gui, s:cdDarkDarkDark.gui, s:cdFrontGray.cterm, s:cdDarkDarkDark.cterm, 'none' ] -let s:IAM = [ s:cdFrontGray.gui, s:cdDarkDarkDark.gui, s:cdFrontGray.cterm, s:cdDarkDarkDark.cterm, 'none' ] - -let g:airline#themes#codedark#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) -let g:airline#themes#codedark#palette.inactive_modified = { 'airline_c': s:IAM } - -" Red accent for readonly: - -let g:airline#themes#codedark#palette.accents = { - \ 'red': [ s:cdRed.gui, '', s:cdRed.cterm, '' ] - \ } - diff --git a/autoload/lightline/colorscheme/codedark.vim b/autoload/lightline/colorscheme/codedark.vim deleted file mode 100644 index 881ea70..0000000 --- a/autoload/lightline/colorscheme/codedark.vim +++ /dev/null @@ -1,40 +0,0 @@ -" ============================================================================= -" Filename: autoload/lightline/colorscheme/codedark.vim -" Author: artanikin -" License: MIT License -" Last Change: 2019/12/05 12:26:00 -" ============================================================================= - -let s:term_red = 204 -let s:term_green = 114 -let s:term_yellow = 180 -let s:term_blue = 39 -let s:term_purple = 170 -let s:term_white = 145 -let s:term_black = 235 -let s:term_grey = 236 - -let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}} - -let s:p.normal.left = [ [ '#262626', '#608B4E', s:term_black, s:term_green, 'bold' ], [ '#608B4E', '#262626', s:term_green, s:term_black ] ] -let s:p.normal.right = [ [ '#262626', '#608B4E', s:term_black, s:term_green ], [ '#D4D4D4', '#3C3C3C', s:term_white, s:term_grey ], [ '#608B4E', '#262626', s:term_green, s:term_black ] ] -let s:p.inactive.right = [ [ '#262626', '#569CD6', s:term_black, s:term_blue], [ '#D4D4D4', '#3C3C3C', s:term_white, s:term_grey ] ] -let s:p.inactive.left = s:p.inactive.right[1:] -" her -let s:p.insert.left = [ [ '#262626', '#569CD6', s:term_black, s:term_blue, 'bold' ], [ '#569CD6', '#262626', s:term_blue, s:term_black ] ] -let s:p.insert.right = [ [ '#262626', '#569CD6', s:term_black, s:term_blue ], [ '#D4D4D4', '#3C3C3C', s:term_white, s:term_grey ], [ '#569CD6', '#262626', s:term_blue, s:term_black ] ] -let s:p.replace.left = [ [ '#262626', '#D16969', s:term_black, s:term_red, 'bold' ], [ '#D16969', '#262626', s:term_red, s:term_black ] ] -let s:p.replace.right = [ [ '#262626', '#D16969', s:term_black, s:term_red, 'bold' ], s:p.normal.right[1], [ '#D16969', '#262626', s:term_red, s:term_black ] ] -let s:p.visual.left = [ [ '#262626', '#C586C0', s:term_black, s:term_purple, 'bold' ], [ '#C586C0', '#262626', s:term_purple, s:term_black ] ] -let s:p.visual.right = [ [ '#262626', '#C586C0', s:term_black, s:term_purple, 'bold' ], s:p.normal.right[1], [ '#C586C0', '#262626', s:term_purple, s:term_black ] ] -let s:p.normal.middle = [ [ '#D4D4D4', '#262626', s:term_white, s:term_black ] ] -let s:p.insert.middle = s:p.normal.middle -let s:p.replace.middle = s:p.normal.middle -let s:p.tabline.left = [ s:p.normal.left[1] ] -let s:p.tabline.tabsel = [ s:p.normal.left[0] ] -let s:p.tabline.middle = s:p.normal.middle -let s:p.tabline.right = [ s:p.normal.left[1] ] -let s:p.normal.error = [ [ '#262626', '#D16969', s:term_black, s:term_red ] ] -let s:p.normal.warning = [ [ '#262626', '#D7BA7D', s:term_black, s:term_yellow ] ] - -let g:lightline#colorscheme#codedark#palette = lightline#colorscheme#fill(s:p) diff --git a/base16/schemes/codedark/codedark.yaml b/base16/schemes/codedark/codedark.yaml deleted file mode 100644 index 103598c..0000000 --- a/base16/schemes/codedark/codedark.yaml +++ /dev/null @@ -1,18 +0,0 @@ -scheme: "codedark" -author: "Tomas Iser (https://github.com/tomasiser)" -base00: "1E1E1E" -base01: "262626" -base02: "303030" -base03: "3C3C3C" -base04: "808080" -base05: "D4D4D4" -base06: "E9E9E9" -base07: "FFFFFF" -base08: "D16969" -base09: "B5CEA8" -base0A: "D7BA7D" -base0B: "608B4E" -base0C: "9CDCFE" -base0D: "569CD6" -base0E: "C586C0" -base0F: "CE9178" diff --git a/base16/templates/putty/putty/base16-codedark.reg b/base16/templates/putty/putty/base16-codedark.reg deleted file mode 100644 index 5b74f3a..0000000 --- a/base16/templates/putty/putty/base16-codedark.reg +++ /dev/null @@ -1,72 +0,0 @@ -Windows Registry Editor Version 5.00 - -; Base16 codedark -; schema by Tomas Iser (https://github.com/tomasiser) -[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\codedark] - -; Default Foreground -"Colour0"="212,212,212" - -; Default Bold Foreground -- equals to non-bold -"Colour1"="212,212,212" - -; Default Background -"Colour2"="30,30,30" - -; Default Bold Background -- equals to non-bold -"Colour3"="30,30,30" - -; Cursor Text -- equals to default background -"Colour4"="30,30,30" - -; Cursor Colour -- equals to default foreground -"Colour5"="212,212,212" - -; ANSI Black -"Colour6"="30,30,30" - -; ANSI Black Bold -"Colour7"="60,60,60" - -; ANSI Red -"Colour8"="209,105,105" - -; ANSI Red Bold -"Colour9"="181,206,168" - -; ANSI Green -"Colour10"="96,139,78" - -; ANSI Green Bold -"Colour11"="38,38,38" - -; ANSI Yellow -"Colour12"="215,186,125" - -; ANSI Yellow Bold -"Colour13"="48,48,48" - -; ANSI Blue -"Colour14"="86,156,214" - -; ANSI Blue Bold -"Colour15"="128,128,128" - -; ANSI Magenta -"Colour16"="197,134,192" - -; ANSI Magenta Bold -"Colour17"="233,233,233" - -; ANSI Cyan -"Colour18"="156,220,254" - -; ANSI Cyan Bold -"Colour19"="206,145,120" - -; ANSI White -"Colour20"="212,212,212" - -; ANSI White Bold -"Colour21"="255,255,255" - diff --git a/base16/templates/shell/scripts/base16-codedark.sh b/base16/templates/shell/scripts/base16-codedark.sh deleted file mode 100644 index ec2c545..0000000 --- a/base16/templates/shell/scripts/base16-codedark.sh +++ /dev/null @@ -1,123 +0,0 @@ -#!/bin/sh -# base16-shell (https://github.com/chriskempson/base16-shell) -# Base16 Shell template by Chris Kempson (http://chriskempson.com) -# codedark scheme by Tomas Iser (https://github.com/tomasiser) - -# This script doesn't support linux console (use 'vconsole' template instead) -if [ "${TERM%%-*}" = 'linux' ]; then - return 2>/dev/null || exit 0 -fi - -color00="1E/1E/1E" # Base 00 - Black -color01="D1/69/69" # Base 08 - Red -color02="60/8B/4E" # Base 0B - Green -color03="D7/BA/7D" # Base 0A - Yellow -color04="56/9C/D6" # Base 0D - Blue -color05="C5/86/C0" # Base 0E - Magenta -color06="9C/DC/FE" # Base 0C - Cyan -color07="D4/D4/D4" # Base 05 - White -color08="3C/3C/3C" # Base 03 - Bright Black -color09=$color01 # Base 08 - Bright Red -color10=$color02 # Base 0B - Bright Green -color11=$color03 # Base 0A - Bright Yellow -color12=$color04 # Base 0D - Bright Blue -color13=$color05 # Base 0E - Bright Magenta -color14=$color06 # Base 0C - Bright Cyan -color15="FF/FF/FF" # Base 07 - Bright White -color16="B5/CE/A8" # Base 09 -color17="CE/91/78" # Base 0F -color18="26/26/26" # Base 01 -color19="30/30/30" # Base 02 -color20="80/80/80" # Base 04 -color21="E9/E9/E9" # Base 06 -color_foreground="D4/D4/D4" # Base 05 -color_background="1E/1E/1E" # Base 00 -color_cursor="D4/D4/D4" # Base 05 - -if [ -n "$TMUX" ]; then - # Tell tmux to pass the escape sequences through - # (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324) - printf_template='\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\' - printf_template_var='\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\' - printf_template_custom='\033Ptmux;\033\033]%s%s\033\033\\\033\\' -elif [ "${TERM%%-*}" = "screen" ]; then - # GNU screen (screen, screen-256color, screen-256color-bce) - printf_template='\033P\033]4;%d;rgb:%s\033\\' - printf_template_var='\033P\033]%d;rgb:%s\033\\' - printf_template_custom='\033P\033]%s%s\033\\' -else - printf_template='\033]4;%d;rgb:%s\033\\' - printf_template_var='\033]%d;rgb:%s\033\\' - printf_template_custom='\033]%s%s\033\\' -fi - -# 16 color space -printf $printf_template 0 $color00 -printf $printf_template 1 $color01 -printf $printf_template 2 $color02 -printf $printf_template 3 $color03 -printf $printf_template 4 $color04 -printf $printf_template 5 $color05 -printf $printf_template 6 $color06 -printf $printf_template 7 $color07 -printf $printf_template 8 $color08 -printf $printf_template 9 $color09 -printf $printf_template 10 $color10 -printf $printf_template 11 $color11 -printf $printf_template 12 $color12 -printf $printf_template 13 $color13 -printf $printf_template 14 $color14 -printf $printf_template 15 $color15 - -# 256 color space -printf $printf_template 16 $color16 -printf $printf_template 17 $color17 -printf $printf_template 18 $color18 -printf $printf_template 19 $color19 -printf $printf_template 20 $color20 -printf $printf_template 21 $color21 - -# foreground / background / cursor color -if [ -n "$ITERM_SESSION_ID" ]; then - # iTerm2 proprietary escape codes - printf $printf_template_custom Pg D4D4D4 # forground - printf $printf_template_custom Ph 1E1E1E # background - printf $printf_template_custom Pi D4D4D4 # bold color - printf $printf_template_custom Pj 303030 # selection color - printf $printf_template_custom Pk D4D4D4 # selected text color - printf $printf_template_custom Pl D4D4D4 # cursor - printf $printf_template_custom Pm 1E1E1E # cursor text -else - printf $printf_template_var 10 $color_foreground - printf $printf_template_var 11 $color_background - printf $printf_template_custom 12 ";7" # cursor (reverse video) -fi - -# clean up -unset printf_template -unset printf_template_var -unset color00 -unset color01 -unset color02 -unset color03 -unset color04 -unset color05 -unset color06 -unset color07 -unset color08 -unset color09 -unset color10 -unset color11 -unset color12 -unset color13 -unset color14 -unset color15 -unset color16 -unset color17 -unset color18 -unset color19 -unset color20 -unset color21 -unset color_foreground -unset color_background -unset color_cursor diff --git a/bundle/vim-doge b/bundle/vim-doge deleted file mode 160000 index 1aba70d..0000000 --- a/bundle/vim-doge +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 1aba70d1d2ff408045f8d57eec0b8103da5d2db9 diff --git a/colors/codedark.vim b/colors/codedark.vim deleted file mode 100644 index 169f591..0000000 --- a/colors/codedark.vim +++ /dev/null @@ -1,465 +0,0 @@ -" Vim Code Dark (color scheme) -" https://github.com/tomasiser/vim-code-dark - -scriptencoding utf-8 - -set background=dark -hi clear -if exists("syntax_on") - syntax reset -endif -let g:colors_name="codedark" - -" Highlighting function (inspiration from https://github.com/chriskempson/base16-vim) -if &t_Co >= 256 - let g:codedark_term256=1 -elseif !exists("g:codedark_term256") - let g:codedark_term256=0 -endif -fun! hi(group, fg, bg, attr, sp) - if !empty(a:fg) - exec "hi " . a:group . " guifg=" . a:fg.gui . " ctermfg=" . (g:codedark_term256 ? a:fg.cterm256 : a:fg.cterm) - endif - if !empty(a:bg) - exec "hi " . a:group . " guibg=" . a:bg.gui . " ctermbg=" . (g:codedark_term256 ? a:bg.cterm256 : a:bg.cterm) - endif - if a:attr != "" - exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr - endif - if !empty(a:sp) - exec "hi " . a:group . " guisp=" . a:sp.gui - endif -endfun - -" ------------------ -" Color definitions: -" ------------------ - -" Terminal colors (base16): -let s:cterm00 = "00" -let s:cterm03 = "08" -let s:cterm05 = "07" -let s:cterm07 = "15" -let s:cterm08 = "01" -let s:cterm0A = "03" -let s:cterm0B = "02" -let s:cterm0C = "06" -let s:cterm0D = "04" -let s:cterm0E = "05" -if exists('base16colorspace') && base16colorspace == "256" - let s:cterm01 = "18" - let s:cterm02 = "19" - let s:cterm04 = "20" - let s:cterm06 = "21" - let s:cterm09 = "16" - let s:cterm0F = "17" -else - let s:cterm01 = "00" - let s:cterm02 = "08" - let s:cterm04 = "07" - let s:cterm06 = "07" - let s:cterm09 = "06" - let s:cterm0F = "03" -endif - -" General appearance colors: -" (some of them may be unused) - -let s:cdNone = {'gui': 'NONE', 'cterm': 'NONE', 'cterm256': 'NONE'} -let s:cdFront = {'gui': '#D4D4D4', 'cterm': s:cterm05, 'cterm256': '188'} -let s:cdBack = {'gui': '#1E1E1E', 'cterm': s:cterm00, 'cterm256': '234'} - -let s:cdTabCurrent = {'gui': '#1E1E1E', 'cterm': s:cterm00, 'cterm256': '234'} -let s:cdTabOther = {'gui': '#2D2D2D', 'cterm': s:cterm01, 'cterm256': '236'} -let s:cdTabOutside = {'gui': '#252526', 'cterm': s:cterm01, 'cterm256': '235'} - -let s:cdLeftDark = {'gui': '#252526', 'cterm': s:cterm01, 'cterm256': '235'} -let s:cdLeftMid = {'gui': '#373737', 'cterm': s:cterm03, 'cterm256': '237'} -let s:cdLeftLight = {'gui': '#3F3F46', 'cterm': s:cterm03, 'cterm256': '238'} - -let s:cdPopupFront = {'gui': '#BBBBBB', 'cterm': s:cterm06, 'cterm256': '250'} -let s:cdPopupBack = {'gui': '#2D2D30', 'cterm': s:cterm01, 'cterm256': '236'} -let s:cdPopupHighlightBlue = {'gui': '#073655', 'cterm': s:cterm0D, 'cterm256': '24'} -let s:cdPopupHighlightGray = {'gui': '#3D3D40', 'cterm': s:cterm03, 'cterm256': '237'} - -let s:cdSplitLight = {'gui': '#898989', 'cterm': s:cterm04, 'cterm256': '245'} -let s:cdSplitDark = {'gui': '#444444', 'cterm': s:cterm03, 'cterm256': '238'} -let s:cdSplitThumb = {'gui': '#424242', 'cterm': s:cterm04, 'cterm256': '238'} - -let s:cdCursorDarkDark = {'gui': '#222222', 'cterm': s:cterm01, 'cterm256': '235'} -let s:cdCursorDark = {'gui': '#51504F', 'cterm': s:cterm03, 'cterm256': '239'} -let s:cdCursorLight = {'gui': '#AEAFAD', 'cterm': s:cterm04, 'cterm256': '145'} -let s:cdSelection = {'gui': '#264F78', 'cterm': s:cterm03, 'cterm256': '24'} -let s:cdLineNumber = {'gui': '#5A5A5A', 'cterm': s:cterm04, 'cterm256': '240'} - -let s:cdDiffRedDark = {'gui': '#4B1818', 'cterm': s:cterm08, 'cterm256': '52'} -let s:cdDiffRedLight = {'gui': '#6F1313', 'cterm': s:cterm08, 'cterm256': '52'} -let s:cdDiffRedLightLight = {'gui': '#FB0101', 'cterm': s:cterm08, 'cterm256': '09'} -let s:cdDiffGreenDark = {'gui': '#373D29', 'cterm': s:cterm0B, 'cterm256': '237'} -let s:cdDiffGreenLight = {'gui': '#4B5632', 'cterm': s:cterm09, 'cterm256': '58'} - -let s:cdSearchCurrent = {'gui': '#4B5632', 'cterm': s:cterm09, 'cterm256': '58'} -let s:cdSearch = {'gui': '#264F78', 'cterm': s:cterm03, 'cterm256': '24'} - -" Syntax colors: - -if !exists("g:codedark_conservative") - let g:codedark_conservative=0 -endif - -let s:cdGray = {'gui': '#808080', 'cterm': s:cterm04, 'cterm256': '08'} -let s:cdViolet = {'gui': '#646695', 'cterm': s:cterm04, 'cterm256': '60'} -let s:cdBlue = {'gui': '#569CD6', 'cterm': s:cterm0D, 'cterm256': '75'} -let s:cdDarkBlue = {'gui': '#223E55', 'cterm': s:cterm0D, 'cterm256': '73'} -let s:cdLightBlue = {'gui': '#9CDCFE', 'cterm': s:cterm0C, 'cterm256': '117'} -if g:codedark_conservative | let s:cdLightBlue = s:cdFront | endif -let s:cdGreen = {'gui': '#6A9955', 'cterm': s:cterm0B, 'cterm256': '65'} -let s:cdBlueGreen = {'gui': '#4EC9B0', 'cterm': s:cterm0F, 'cterm256': '43'} -let s:cdLightGreen = {'gui': '#B5CEA8', 'cterm': s:cterm09, 'cterm256': '151'} -let s:cdRed = {'gui': '#F44747', 'cterm': s:cterm08, 'cterm256': '203'} -let s:cdOrange = {'gui': '#CE9178', 'cterm': s:cterm0F, 'cterm256': '173'} -let s:cdLightRed = {'gui': '#D16969', 'cterm': s:cterm08, 'cterm256': '167'} -if g:codedark_conservative | let s:cdLightRed = s:cdOrange | endif -let s:cdYellowOrange = {'gui': '#D7BA7D', 'cterm': s:cterm0A, 'cterm256': '179'} -let s:cdYellow = {'gui': '#DCDCAA', 'cterm': s:cterm0A, 'cterm256': '187'} -if g:codedark_conservative | let s:cdYellow = s:cdFront | endif -let s:cdPink = {'gui': '#C586C0', 'cterm': s:cterm0E, 'cterm256': '176'} -if g:codedark_conservative | let s:cdPink = s:cdBlue | endif - -" Vim editor colors -" hi(GROUP, FOREGROUND, BACKGROUND, ATTRIBUTE, SPECIAL) -call hi('Normal', s:cdFront, s:cdBack, 'none', {}) -call hi('ColorColumn', {}, s:cdCursorDarkDark, 'none', {}) -call hi('Cursor', s:cdCursorDark, s:cdCursorLight, 'none', {}) -call hi('CursorLine', {}, s:cdCursorDarkDark, 'none', {}) -call hi('CursorColumn', {}, s:cdCursorDarkDark, 'none', {}) -call hi('Directory', s:cdBlue, s:cdBack, 'none', {}) -call hi('DiffAdd', {}, s:cdDiffGreenDark, 'none', {}) -call hi('DiffChange', {}, s:cdDiffRedDark, 'none', {}) -call hi('DiffDelete', {}, s:cdDiffRedLight, 'none', {}) -call hi('DiffText', {}, s:cdDiffRedLight, 'none', {}) -call hi('EndOfBuffer', s:cdLineNumber, s:cdBack, 'none', {}) -call hi('ErrorMsg', s:cdRed, s:cdBack, 'none', {}) -call hi('VertSplit', s:cdSplitDark, s:cdBack, 'none', {}) -call hi('Folded', s:cdLeftLight, s:cdLeftDark, 'underline', {}) -call hi('FoldColumn', s:cdLineNumber, s:cdBack, 'none', {}) -call hi('SignColumn', {}, s:cdBack, 'none', {}) -call hi('IncSearch', s:cdNone, s:cdSearchCurrent, 'none', {}) -call hi('LineNr', s:cdLineNumber, s:cdBack, 'none', {}) -call hi('CursorLineNr', s:cdPopupFront, s:cdBack, 'none', {}) -call hi('MatchParen', s:cdNone, s:cdCursorDark, 'none', {}) -call hi('ModeMsg', s:cdFront, s:cdLeftDark, 'none', {}) -call hi('MoreMsg', s:cdFront, s:cdLeftDark, 'none', {}) -call hi('NonText', s:cdLineNumber, s:cdBack, 'none', {}) -call hi('Pmenu', s:cdPopupFront, s:cdPopupBack, 'none', {}) -call hi('PmenuSel', s:cdPopupFront, s:cdPopupHighlightBlue, 'none', {}) -call hi('PmenuSbar', {}, s:cdPopupHighlightGray, 'none', {}) -call hi('PmenuThumb', {}, s:cdPopupFront, 'none', {}) -call hi('Question', s:cdBlue, s:cdBack, 'none', {}) -call hi('Search', s:cdNone, s:cdSearch, 'none', {}) -call hi('SpecialKey', s:cdBlue, s:cdNone, 'none', {}) -call hi('StatusLine', s:cdFront, s:cdLeftMid, 'none', {}) -call hi('StatusLineNC', s:cdFront, s:cdLeftDark, 'none', {}) -call hi('TabLine', s:cdFront, s:cdTabOther, 'none', {}) -call hi('TabLineFill', s:cdFront, s:cdTabOutside, 'none', {}) -call hi('TabLineSel', s:cdFront, s:cdTabCurrent, 'none', {}) -call hi('Title', s:cdNone, s:cdNone, 'bold', {}) -call hi('Visual', s:cdNone, s:cdSelection, 'none', {}) -call hi('VisualNOS', s:cdNone, s:cdSelection, 'none', {}) -call hi('WarningMsg', s:cdOrange, s:cdBack, 'none', {}) -call hi('WildMenu', s:cdNone, s:cdSelection, 'none', {}) - -call hi('Comment', s:cdGreen, {}, 'none', {}) - -call hi('Constant', s:cdBlue, {}, 'none', {}) -call hi('String', s:cdOrange, {}, 'none', {}) -call hi('Character', s:cdOrange, {}, 'none', {}) -call hi('Number', s:cdLightGreen, {}, 'none', {}) -call hi('Boolean', s:cdBlue, {}, 'none', {}) -call hi('Float', s:cdLightGreen, {}, 'none', {}) - -call hi('Identifier', s:cdLightBlue, {}, 'none', {}) -call hi('Function', s:cdYellow, {}, 'none', {}) - -call hi('Statement', s:cdPink, {}, 'none', {}) -call hi('Conditional', s:cdPink, {}, 'none', {}) -call hi('Repeat', s:cdPink, {}, 'none', {}) -call hi('Label', s:cdPink, {}, 'none', {}) -call hi('Operator', s:cdFront, {}, 'none', {}) -call hi('Keyword', s:cdPink, {}, 'none', {}) -call hi('Exception', s:cdPink, {}, 'none', {}) - -call hi('PreProc', s:cdPink, {}, 'none', {}) -call hi('Include', s:cdPink, {}, 'none', {}) -call hi('Define', s:cdPink, {}, 'none', {}) -call hi('Macro', s:cdPink, {}, 'none', {}) -call hi('PreCondit', s:cdPink, {}, 'none', {}) - -call hi('Type', s:cdBlue, {}, 'none', {}) -call hi('StorageClass', s:cdBlue, {}, 'none', {}) -call hi('Structure', s:cdBlue, {}, 'none', {}) -call hi('Typedef', s:cdBlue, {}, 'none', {}) - -call hi('Special', s:cdYellowOrange, {}, 'none', {}) -call hi('SpecialChar', s:cdFront, {}, 'none', {}) -call hi('Tag', s:cdFront, {}, 'none', {}) -call hi('Delimiter', s:cdFront, {}, 'none', {}) -call hi('SpecialComment', s:cdGreen, {}, 'none', {}) -call hi('Debug', s:cdFront, {}, 'none', {}) - -call hi('Underlined', s:cdNone, {}, 'underline', {}) -call hi("Conceal", s:cdFront, s:cdBack, 'none', {}) - -call hi('Ignore', s:cdFront, {}, 'none', {}) - -call hi('Error', s:cdRed, s:cdBack, 'undercurl', s:cdRed) - -call hi('Todo', s:cdNone, s:cdLeftMid, 'none', {}) - -call hi('SpellBad', s:cdRed, s:cdBack, 'undercurl', s:cdRed) -call hi('SpellCap', s:cdRed, s:cdBack, 'undercurl', s:cdRed) -call hi('SpellRare', s:cdRed, s:cdBack, 'undercurl', s:cdRed) -call hi('SpellLocal', s:cdRed, s:cdBack, 'undercurl', s:cdRed) - -" Markdown: -call hi('markdownBold', s:cdBlue, {}, 'bold', {}) -call hi('markdownCode', s:cdOrange, {}, 'none', {}) -call hi('markdownRule', s:cdBlue, {}, 'bold', {}) -call hi('markdownCodeDelimiter', s:cdOrange, {}, 'none', {}) -call hi('markdownHeadingDelimiter', s:cdBlue, {}, 'none', {}) -call hi('markdownFootnote', s:cdOrange, {}, 'none', {}) -call hi('markdownFootnoteDefinition', s:cdOrange, {}, 'none', {}) -call hi('markdownUrl', s:cdLightBlue, {}, 'underline', {}) -call hi('markdownLinkText', s:cdOrange, {}, 'none', {}) -call hi('markdownEscape', s:cdYellowOrange, {}, 'none', {}) - -" JSON: -call hi('jsonKeyword', s:cdLightBlue, {}, 'none', {}) -call hi('jsonEscape', s:cdYellowOrange, {}, 'none', {}) -call hi('jsonNull', s:cdBlue, {}, 'none', {}) -call hi('jsonBoolean', s:cdBlue, {}, 'none', {}) - -" HTML: -call hi('htmlTag', s:cdGray, {}, 'none', {}) -call hi('htmlEndTag', s:cdGray, {}, 'none', {}) -call hi('htmlTagName', s:cdBlue, {}, 'none', {}) -call hi('htmlSpecialTagName', s:cdBlue, {}, 'none', {}) -call hi('htmlArg', s:cdLightBlue, {}, 'none', {}) - -" PHP: -call hi('phpStaticClasses', s:cdBlueGreen, {}, 'none', {}) -call hi('phpMethod', s:cdYellow, {}, 'none', {}) -call hi('phpClass', s:cdBlueGreen, {}, 'none', {}) -call hi('phpFunction', s:cdYellow, {}, 'none', {}) -call hi('phpInclude', s:cdBlue, {}, 'none', {}) -call hi('phpUseClass', s:cdBlueGreen, {}, 'none', {}) -call hi('phpRegion', s:cdBlueGreen, {}, 'none', {}) -call hi('phpMethodsVar', s:cdLightBlue, {}, 'none', {}) - -" CSS: -call hi('cssBraces', s:cdFront, {}, 'none', {}) -call hi('cssInclude', s:cdPink, {}, 'none', {}) -call hi('cssTagName', s:cdYellowOrange, {}, 'none', {}) -call hi('cssClassName', s:cdYellowOrange, {}, 'none', {}) -call hi('cssPseudoClass', s:cdYellowOrange, {}, 'none', {}) -call hi('cssPseudoClassId', s:cdYellowOrange, {}, 'none', {}) -call hi('cssPseudoClassLang', s:cdYellowOrange, {}, 'none', {}) -call hi('cssIdentifier', s:cdYellowOrange, {}, 'none', {}) -call hi('cssProp', s:cdLightBlue, {}, 'none', {}) -call hi('cssDefinition', s:cdLightBlue, {}, 'none', {}) -call hi('cssAttr', s:cdOrange, {}, 'none', {}) -call hi('cssAttrRegion', s:cdOrange, {}, 'none', {}) -call hi('cssColor', s:cdOrange, {}, 'none', {}) -call hi('cssFunction', s:cdOrange, {}, 'none', {}) -call hi('cssFunctionName', s:cdOrange, {}, 'none', {}) -call hi('cssVendor', s:cdOrange, {}, 'none', {}) -call hi('cssValueNumber', s:cdOrange, {}, 'none', {}) -call hi('cssValueLength', s:cdOrange, {}, 'none', {}) -call hi('cssUnitDecorators', s:cdOrange, {}, 'none', {}) -call hi('cssStyle', s:cdLightBlue, {}, 'none', {}) -call hi('cssImportant', s:cdBlue, {}, 'none', {}) - -" JavaScript: -call hi('jsVariableDef', s:cdLightBlue, {}, 'none', {}) -call hi('jsFuncArgs', s:cdLightBlue, {}, 'none', {}) -call hi('jsFuncBlock', s:cdLightBlue, {}, 'none', {}) -call hi('jsRegexpString', s:cdLightRed, {}, 'none', {}) -call hi('jsThis', s:cdBlue, {}, 'none', {}) -call hi('jsOperatorKeyword', s:cdBlue, {}, 'none', {}) -call hi('jsDestructuringBlock', s:cdLightBlue, {}, 'none', {}) -call hi('jsObjectKey', s:cdLightBlue, {}, 'none', {}) -call hi('jsGlobalObjects', s:cdBlueGreen, {}, 'none', {}) -call hi('jsModuleKeyword', s:cdLightBlue, {}, 'none', {}) -call hi('jsClassDefinition', s:cdBlueGreen, {}, 'none', {}) -call hi('jsClassKeyword', s:cdBlue, {}, 'none', {}) -call hi('jsExtendsKeyword', s:cdBlue, {}, 'none', {}) -call hi('jsExportDefault', s:cdPink, {}, 'none', {}) -call hi('jsFuncCall', s:cdYellow, {}, 'none', {}) -call hi('jsObjectValue', s:cdLightBlue, {}, 'none', {}) -call hi('jsParen', s:cdLightBlue, {}, 'none', {}) -call hi('jsObjectProp', s:cdLightBlue, {}, 'none', {}) -call hi('jsIfElseBlock', s:cdLightBlue, {}, 'none', {}) -call hi('jsParenIfElse', s:cdLightBlue, {}, 'none', {}) -call hi('jsSpreadOperator', s:cdLightBlue, {}, 'none', {}) -call hi('jsSpreadExpression', s:cdLightBlue, {}, 'none', {}) - -" Typescript: -call hi('typescriptLabel', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptExceptions', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptBraces', s:cdFront, {}, 'none', {}) -call hi('typescriptEndColons', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptParens', s:cdFront, {}, 'none', {}) -call hi('typescriptDocTags', s:cdBlue, {}, 'none', {}) -call hi('typescriptDocComment', s:cdBlueGreen, {}, 'none', {}) -call hi('typescriptLogicSymbols', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptImport', s:cdPink, {}, 'none', {}) -call hi('typescriptBOM', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptVariableDeclaration', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptVariable', s:cdBlue, {}, 'none', {}) -call hi('typescriptExport', s:cdPink, {}, 'none', {}) -call hi('typescriptAliasDeclaration', s:cdBlueGreen, {}, 'none', {}) -call hi('typescriptAliasKeyword', s:cdBlue, {}, 'none', {}) -call hi('typescriptClassName', s:cdBlueGreen, {}, 'none', {}) -call hi('typescriptAccessibilityModifier', s:cdBlue, {}, 'none', {}) -call hi('typescriptOperator', s:cdBlue, {}, 'none', {}) -call hi('typescriptArrowFunc', s:cdBlue, {}, 'none', {}) -call hi('typescriptMethodAccessor', s:cdBlue, {}, 'none', {}) -call hi('typescriptMember', s:cdYellow, {}, 'none', {}) -call hi('typescriptTypeReference', s:cdBlueGreen, {}, 'none', {}) -call hi('typescriptDefault', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptTemplateSB', s:cdYellowOrange, {}, 'none', {}) -call hi('typescriptArrowFuncArg', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptParamImpl', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptFuncComma', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptCastKeyword', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptCall', s:cdBlue, {}, 'none', {}) -call hi('typescriptCase', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptReserved', s:cdPink, {}, 'none', {}) -call hi('typescriptDefault', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptDecorator', s:cdYellow, {}, 'none', {}) -call hi('typescriptPredefinedType', s:cdBlueGreen, {}, 'none', {}) -call hi('typescriptClassHeritage', s:cdBlueGreen, {}, 'none', {}) -call hi('typescriptClassExtends', s:cdBlue, {}, 'none', {}) -call hi('typescriptClassKeyword', s:cdBlue, {}, 'none', {}) -call hi('typescriptBlock', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptDOMDocProp', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptTemplateSubstitution', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptClassBlock', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptFuncCallArg', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptIndexExpr', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptConditionalParen', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptArray', s:cdYellow, {}, 'none', {}) -call hi('typescriptES6SetProp', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptObjectLiteral', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptTypeParameter', s:cdBlueGreen, {}, 'none', {}) -call hi('typescriptEnumKeyword', s:cdBlue, {}, 'none', {}) -call hi('typescriptEnum', s:cdBlueGreen, {}, 'none', {}) -call hi('typescriptLoopParen', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptParenExp', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptModule', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptAmbientDeclaration', s:cdBlue, {}, 'none', {}) -call hi('typescriptModule', s:cdBlue, {}, 'none', {}) -call hi('typescriptFuncTypeArrow', s:cdBlue, {}, 'none', {}) -call hi('typescriptInterfaceHeritage', s:cdBlueGreen, {}, 'none', {}) -call hi('typescriptInterfaceName', s:cdBlueGreen, {}, 'none', {}) -call hi('typescriptInterfaceKeyword', s:cdBlue, {}, 'none', {}) -call hi('typescriptInterfaceExtends', s:cdBlue, {}, 'none', {}) -call hi('typescriptGlobal', s:cdBlueGreen, {}, 'none', {}) -call hi('typescriptAsyncFuncKeyword', s:cdBlue, {}, 'none', {}) -call hi('typescriptFuncKeyword', s:cdBlue, {}, 'none', {}) -call hi('typescriptGlobalMethod', s:cdYellow, {}, 'none', {}) -call hi('typescriptPromiseMethod', s:cdYellow, {}, 'none', {}) - -" XML: -call hi('xmlTag', s:cdBlueGreen, {}, 'none', {}) -call hi('xmlTagName', s:cdBlueGreen, {}, 'none', {}) -call hi('xmlEndTag', s:cdBlueGreen, {}, 'none', {}) - -" Ruby: -call hi('rubyClassNameTag', s:cdBlueGreen, {}, 'none', {}) -call hi('rubyClassName', s:cdBlueGreen, {}, 'none', {}) -call hi('rubyModuleName', s:cdBlueGreen, {}, 'none', {}) -call hi('rubyConstant', s:cdBlueGreen, {}, 'none', {}) - -" Golang: -call hi('goPackage', s:cdBlue, {}, 'none', {}) -call hi('goImport', s:cdBlue, {}, 'none', {}) -call hi('goVar', s:cdBlue, {}, 'none', {}) -call hi('goConst', s:cdBlue, {}, 'none', {}) -call hi('goStatement', s:cdPink, {}, 'none', {}) -call hi('goType', s:cdBlueGreen, {}, 'none', {}) -call hi('goSignedInts', s:cdBlueGreen, {}, 'none', {}) -call hi('goUnsignedInts', s:cdBlueGreen, {}, 'none', {}) -call hi('goFloats', s:cdBlueGreen, {}, 'none', {}) -call hi('goComplexes', s:cdBlueGreen, {}, 'none', {}) -call hi('goBuiltins', s:cdYellow, {}, 'none', {}) -call hi('goBoolean', s:cdBlue, {}, 'none', {}) -call hi('goPredefinedIdentifiers', s:cdBlue, {}, 'none', {}) -call hi('goTodo', s:cdGreen, {}, 'none', {}) -call hi('goDeclaration', s:cdBlue, {}, 'none', {}) -call hi('goDeclType', s:cdBlue, {}, 'none', {}) -call hi('goTypeDecl', s:cdBlue, {}, 'none', {}) -call hi('goTypeName', s:cdBlueGreen, {}, 'none', {}) -call hi('goVarAssign', s:cdLightBlue, {}, 'none', {}) -call hi('goVarDefs', s:cdLightBlue, {}, 'none', {}) -call hi('goReceiver', s:cdFront, {}, 'none', {}) -call hi('goReceiverType', s:cdFront, {}, 'none', {}) -call hi('goFunctionCall', s:cdYellow, {}, 'none', {}) -call hi('goMethodCall', s:cdYellow, {}, 'none', {}) -call hi('goSingleDecl', s:cdLightBlue, {}, 'none', {}) - -" Python: -call hi('pythonStatement', s:cdBlue, {}, 'none', {}) -call hi('pythonOperator', s:cdBlue, {}, 'none', {}) -call hi('pythonException', s:cdPink, {}, 'none', {}) -call hi('pythonExClass', s:cdBlueGreen, {}, 'none', {}) -call hi('pythonBuiltinObj', s:cdLightBlue, {}, 'none', {}) -call hi('pythonBuiltinType', s:cdBlueGreen, {}, 'none', {}) -call hi('pythonBoolean', s:cdBlue, {}, 'none', {}) -call hi('pythonNone', s:cdBlue, {}, 'none', {}) -call hi('pythonTodo', s:cdBlue, {}, 'none', {}) -call hi('pythonClassVar', s:cdBlue, {}, 'none', {}) -call hi('pythonClassDef', s:cdBlueGreen, {}, 'none', {}) - -" TeX: -call hi('texStatement', s:cdBlue, {}, 'none', {}) -call hi('texBeginEnd', s:cdYellow, {}, 'none', {}) -call hi('texBeginEndName', s:cdLightBlue, {}, 'none', {}) -call hi('texOption', s:cdLightBlue, {}, 'none', {}) -call hi('texBeginEndModifier', s:cdLightBlue, {}, 'none', {}) -call hi('texDocType', s:cdPink, {}, 'none', {}) -call hi('texDocTypeArgs', s:cdLightBlue, {}, 'none', {}) - -" Git: -call hi('gitcommitHeader', s:cdGray, {}, 'none', {}) -call hi('gitcommitOnBranch', s:cdGray, {}, 'none', {}) -call hi('gitcommitBranch', s:cdPink, {}, 'none', {}) -call hi('gitcommitComment', s:cdGray, {}, 'none', {}) -call hi('gitcommitSelectedType', s:cdGreen, {}, 'none', {}) -call hi('gitcommitSelectedFile', s:cdGreen, {}, 'none', {}) -call hi('gitcommitDiscardedType', s:cdRed, {}, 'none', {}) -call hi('gitcommitDiscardedFile', s:cdRed, {}, 'none', {}) -call hi('gitcommitOverflow', s:cdRed, {}, 'none', {}) -call hi('gitcommitSummary', s:cdPink, {}, 'none', {}) -call hi('gitcommitBlank', s:cdPink, {}, 'none', {}) - -" Lua: -call hi('luaFuncCall', s:cdYellow, {}, 'none', {}) -call hi('luaFuncArgName', s:cdLightBlue, {}, 'none', {}) -call hi('luaFuncKeyword', s:cdPink, {}, 'none', {}) -call hi('luaLocal', s:cdPink, {}, 'none', {}) -call hi('luaBuiltIn', s:cdBlue, {}, 'none', {}) - -" SH: -call hi('shDeref', s:cdLightBlue, {}, 'none', {}) -call hi('shVariable', s:cdLightBlue, {}, 'none', {}) - -" SQL: -call hi('sqlKeyword', s:cdPink, {}, 'none', {}) -call hi('sqlFunction', s:cdYellowOrange, {}, 'none', {}) -call hi('sqlOperator', s:cdPink, {}, 'none', {}) - -" YAML: -call hi('yamlKey', s:cdBlue, {}, 'none', {}) -call hi('yamlConstant', s:cdBlue, {}, 'none', {}) - diff --git a/doc/emmet.txt b/doc/emmet.txt deleted file mode 100644 index dcaf776..0000000 --- a/doc/emmet.txt +++ /dev/null @@ -1,1745 +0,0 @@ -*emmet.txt* *Emmet* for Vim - - ------------------------------------------------------- - Emmet: vim plugins for HTML and CSS hi-speed coding - ------------------------------------------------------- - -Author: Yasuhiro Matsumoto -WebSite: http://mattn.kaoriya.net/ -Repository: https://github.com/mattn/emmet-vim -Site: https://mattn.github.com/emmet-vim -License: BSD style license - -============================================================================== -CONTENTS *emmet-contents* - -Introduction |emmet-introduction| -Install |emmet-install| -Tutorial |emmet-tutorial| - 1. Expand abbreviation |emmet-expand-abbr| |,| - 2. Wrap with abbreviation |emmet-wrap-with-abbreviation| |v_,| - 3. Balance tag inward |emmet-balance-tag-inward| |d| - 4. Balance tag outward |emmet-balance-tag-outward| |D| - 5. Go to next edit point |emmet-goto-next-point| |n| - 6. Go to previous edit point |emmet-goto-previous-point| |N| - 7. Add and update size |emmet-update-image-size| |i| - 8. Merge lines |emmet-merge-lines| |m| - 9. Remove tag |emmet-remove-tag| |k| - 10. Split/join tag |emmet-split-join-tag| |j| - 11. Toggle comment |emmet-toggle-comment| |/| - 12. Make anchor from URL |emmet-make-anchor-url| |a| - 13. Make quoted text from URL |emmet-quoted-text-url| |A| - 14. Code pretty |emmet-code-pretty| |c| - 15. Lorem ipsum |emmet-lorem-ipsum| -HTML expression syntax |emmet-html-expression-syntax| - 1. Elements |emmet-html-syntax-elements| - 2. Nesting operators |emmet-html-syntax-nesting-operators| - 2.1. Child |emmet->| - 2.2. Sibling |emmet-+| - 2.3. Climb-up |emmet-^| - 2.4. Multiplication |emmet-star| - 2.5. Grouping |emmet-()| - 3. Attribute operators |emmet-html-syntax-attribute-operators| - 3.1. ID and CLASS |emmet-.| |emmet-#| - 3.2. Custom attributes |emmet-[]| - 3.3. Item numbering |emmet-$| - 3.3.1. Changing numbering origin and direction |emmet-@| - 3.4. Quote character |emmet-html-attr-quote-char| - 4. Text |emmet-{}| - 5. Implicit tag names |emmet-html-implicit-tag-names| - 6. Notes on abbreviation formatting |emmet-html-syntax-notes| - 7. Choose position to insert text when wrap abbreviation |emmet-$#| -CSS expression syntax |emmet-css-expression-syntax| - 1. Properties |emmet-css-properties| - 2. Values |emmet-css-values| - 3. Units |emmet-css-units| - 4. Vendor prefixes |emmet-css-vendor-prefixes| -Commands |emmet-commands| - :Emmet |:Emmet| - :EmmetInstall |:EmmetInstall| -Variables |emmet-variables| - g:emmet_html5 |g:emmet_html5| - g:emmet_docroot |g:emmet_docroot| - g:emmet_curl_command |g:emmet_curl_command| - g:user_emmet_complete_tag |g:user_emmet_complete_tag| - g:user_emmet_leader_key |g:user_emmet_leader_key| - g:user_emmet_install_global |g:user_emmet_install_global| - g:user_emmet_install_command |g:user_emmet_install_command| - g:user_emmet_settings |g:user_emmet_settings| - g:user_emmet_mode |g:user_emmet_mode| -Customize |emmet-customize| - 1. Key mappings |emmet-customize-key-mappings| - 2. Indent size |emmet-indent-size| - 3. Define tag's behavior |emmet-define-tags-behavior| - 4. Adding custom snippets |emmet-custom-snippets| -Filters |emmet-filters-list| - Escapes XML-unsafe characters |emmet-filter-e| - Add comments around 'important tags' |emmet-filter-c| - Outputs as a single line |emmet-filter-s| - Trim list markers |emmet-filter-t| -Links |emmet-links| -ToDo |emmet-todo| - -============================================================================== -INTRODUCTION *emmet-introduction* *emmet* - -Emmet is an editor plugin for high-speed HTML, XML, XSL (or any other -structured code format) coding and editing. The core of this plugin is a -powerful abbreviation engine which allows you to expand expressions, -similar to CSS selectors, into HTML code: -> - div#page>div.logo+ul#navigation>li*5>a -< -can be expanded into: -> -
- - -
-< -Read more about current Emmet syntax - |emmet-html-expression-syntax| - |emmet-css-expression-syntax| - http://docs.emmet.io/abbreviations/ - -Abbreviation engine has a modular structure which allows you -to expand abbreviations into different languages. -Emmet currently supports CSS, HTML, XML/XSL and HAML, Slim languages -via filters (see |emmet-filter|). - -============================================================================== -INSTALL *emmet-install* - -Install the distributed files into Vim runtime directory which is usually -'~/.vim/', or '$HOME/vimfiles' on Windows. - -If you install pathogen (https://github.com/tpope/vim-pathogen) -that provided by Tim Pope, you should extract the -file into 'bundle' directory. - -============================================================================== -TUTORIAL *emmet-tutorial* - -If you are seeing this file as :help, then you can't edit this file. -You should copy this section and create new buffer, paste and write as -'emmet-tutor.txt'. Formally, open the file to start tutorial. - -1. Expand abbreviation *emmet-expand-abbr* *,* - - Type abbreviation as 'div>p#foo$*3>a' and type ','. -> -
-

- -

-

- -

-

- -

-
-< -2. Wrap with abbreviation *emmet-wrap-with-abbreviation* *v_,* - - Write as below. -> - test1 - test2 - test3 -< - Then do visual select (line wise) and type ','. - If you request 'Tag:', then type -> - ul>li* -< - Result: -> -
    -
  • test1
  • -
  • test2
  • -
  • test3
  • -
-< - If you type tag name, for example -> - blockquote -< - then you'll see as following: -> -
- test1 - test2 - test3 -
-< - See also: |emmet-filter-t|, |emmet-$#| - -3. Balance tag inward *emmet-balance-tag-inward* *d* - - To select inward of '
    ' tag, type 'd' in insert mode. -> -
      - *
    • -
    • -
    • -
    -< - If cursor is at '*', 'd' select from begin of '
      ' to end of '
    '. - If cursor is at first of '
  • ', it select '
  • '. - -4. Balance tag outward *emmet-balance-tag-outward* *D* - - To select outward of '
      ' tag type 'D' in insert mode. -> -
        - *
      • -
      • -
      • -
      -< - If cursor is at '*', 'D' select from next letter of '
        ' - to previous letter of '
      '. - If cursor is at first of '
    • ', it select '
    • '. - -5. Go to next edit point *emmet-goto-next-point* *n* - - To jump next point that need to edit, type 'n' in insert mode. -> - *
      foo
      -
      -< - If cursor is at '*', type 'n' to move a cursor - into attribute value of '
      ' specified id as 'foo'. - And type again 'n' to move a cursor - into inner of '
      ' specified id as 'bar'. - -6. Go to previous edit point *emmet-goto-previous-point* *N* - - To jump previous point that need to edit, type 'N' in insert mode. -> -
      foo
      -
      * -< - If cursor is at '*', type 'N' to move a cursor - into '
      ' specified id as 'bar'. - And type again 'N' to move a cursor - into attribute value of 'foo'. - -7. Add and update size *emmet-update-image-size* *i* - - To add or update 'width' and 'height' attributes of image, - type 'i' on '' tag -> - -< - Type 'i' on '' tag -> - -< - If you change image, then type it again. it will be following. -> - -< - Image size retrieved using 'identify' (ImageMagick.org) (if available) - or |xxd|. - -8. Merge lines *emmet-merge-lines* *m* - - To join multi line text like following, type |J|. -> -
        -
      • -
      • -
      • -
      -< - If you select part of line include '
    • ' and type |m|, - it will be following. -> -
        -
      • -
      -< -9. Remove tag *emmet-remove-tag* *k* - - To remove tag in the block, type 'k'. -> - -< - Type 'k' in insert mode, then -> -
      - -
      -< - And type 'k' in there again, then '
      ' will be removed. - -10. Split/join tag *emmet-split-join-tag* *j* - - To join block, type 'j'. -> -
      - cursor is here -
      -< - Type 'j' in insert mode. Then, -> -
      -< - And type 'j' in there again. -> -
      -
      -< -11. Toggle comment *emmet-toggle-comment* */* - - Move cursor to block -> -
      - hello world -
      -< - Type '/' in insert mode. -> - -< - Type '/' in there again. -> -
      - hello world -
      -< -12. Make anchor from URL *emmet-make-anchor-url* *a* - - Move cursor to URL -> - http://www.google.com/ -< - Type 'a' -> - Google -< - Text retrieved using command, specified by |g:emmet_curl_command|. - -13. Make quoted text from URL *emmet-quoted-text-url* *A* - - Move cursor to URL -> - https://github.com/ -< - Type 'A' -> -
      - Secure source code hosting and collaborative development - GitHub
      -

      How does it work? Get up and running in seconds by forking a project, pushing an existing repository...

      - https://github.com/ -
      -< - Text retrieved using command, specified by |g:emmet_curl_command|. - -14. Code pretty *emmet-code-pretty* *c* - - Select code block, for example select following code from 'int main()'. -> -

      Writing in C language

      - - int main() { - puts("hello world"); - } -< - Type 'c' -> - int main() {
      -   puts("hello world");
      - }
      -< - To convert text into html used command |:TOhtml|. - -15. Lorem ipsum *emmet-lorem-ipsum* - - To insert dummy text (30 words by default). -> - div>lorem -< - Type |,| -> -
      Adipisicing asperiores deleniti ipsum fuga deserunt perferendis - molestiae sunt excepturi aut quo nihil! Optio accusantium corporis molestiae - deserunt ab, veritatis commodi. Eius nobis ab deserunt magni iure quo - laboriosam laboriosam.
      -< - For japanese user, put like follow into your |g:user_emmet_settings|: -> - let g:user_emmet_settings = { - ... - - \ 'custom_expands1' : { - \ '^\%(lorem\|lipsum\)\(\d*\)$' : function('emmet#lorem#ja#expand'), - \ }, - - ... -< - You will get japanese dummy text. Text retrieved from url - 'http://www.aozora.gr.jp/cards/000081/files/470_15407.html' - using command, specified by |g:emmet_curl_command|. - - To insert 3 words of dummy text. -> - div>lorem3 -< - Type |,| -> -
      - Elit libero id. -
      -< -============================================================================== -HTML EXPRESSION SYNTAX *emmet-html-expression-syntax* - -Emmet uses syntax similar to CSS selectors for describing elements' positions -inside generated tree and elements' attributes. - -1. Elements *emmet-html-syntax-elements* - - You can use elements' names like 'div' or 'p' to generate HTML tags. -> - p ->

      - div ->
      -< - You can write any word and transform it into a tag: -> - foo -> - bar -> -< - Emmet knowns set of empty elements: -> - br ->
      or
      - meta -> or -< - To choose between HTML '>' and XHTML ' />' use |g:emmet_html5| or - |g:user_emmet_settings|: -> - let g:user_emmet_settings = { - \ ... - \ 'html': { - \ ... - \ 'empty_element_suffix': ' />', - \ ... - \ }, - \ ... - \} -< - Emmet will automatically insert some attributes: -> - a -> - link -> -< - Set of inserted attributes can be changed using |g:user_emmet_settings|: -> - let s:emmet_settings = { - \ ... - \ 'html': { - \ ... - \ 'default_attributes': { - \ ... - \ 'a': {'href': ''}, - \ 'ins': {'datetime': '${datetime}'}, - \ 'iframe': [{'src': ''}, {'frameborder': '0'}], - \ 'textarea': [{'name': ''}, {'id': ''}, {'cols': '30'}, {'rows': '10'}], - \ ... - \ }, - \ ... - \ }, - \ ... - \} -< -2. Nesting operators *emmet-html-syntax-nesting-operators* - - Nesting operators are used to position abbreviation elements - inside generated tree: whether it should be placed - inside or near the context element. - - Operator Description Link ~ - > Child |emmet->| - + Sibling |emmet-+| - ^ Climb-up |emmet-^| - * Multiplication |emmet-star| - () Grouping |emmet-()| - -2.1. Child *emmet->* - - You can use '>' operator to nest elements inside each other: -> - div>ul>li -< - will produce -> -
      -
        -
      • -
      -
      -< -2.2. Sibling *emmet-+* - - Use '+' operator to place elements near each other, on the same level: -> - div+p+bq -< - will output -> -
      -

      -
      -< -2.3. Climb-up *emmet-^* - - With '>' operator you're descending down the generated tree and - positions of all sibling elements will be resolved - against the most deepest element: -> - div+div>p>span+em -< - will be expanded to -> -
      -
      -

      - - -

      -
      -< - With '^' operator, you can climb one level up the tree and change context - where following elements should appear: -> - div+div>p>span+em^bq -< - outputs to -> -
      -
      -

      - - -

      -
      -
      -< - You can use as many '^' operators as you like, - each operator will move one level up: -> - div+div>p>span+em^^^bq -< - will output to -> -
      -
      -

      - - -

      -
      -
      -< -2.4. Multiplication *emmet-star* - - With '*' operator you can define how many times element should be outputted: -> - ul>li*5 -< - outputs to -> -
        -
      • -
      • -
      • -
      • -
      • -
      -< - Expression may contain several '*' operators: -> - tr*2>td*3 -< - become -> - - - - - - - - - - -< -2.5. Grouping *emmet-()* - - Parentheses '()' are used by Emmets' power users for grouping subtrees - in complex abbreviations: -> - div>(header>ul>li*2>a)+footer>p -< - expands to -> -
      -
      -
        -
      • -
      • -
      -
      -
      -

      -
      -
      -< - If you're working with browser's DOM, you may think of groups - as Document Fragments: each group contains abbreviation subtree and - all the following elements are inserted at the same level - as the first element of group. - - You can nest groups inside each other and - combine them with multiplication '*' operator: -> - (div>dl>(dt+dd)*3)+footer>p -< - produces -> -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -

      -
      -< - With groups, you can literally write full page mark-up - with a single abbreviation, but please don't do that. - -3. Attribute operators *emmet-html-syntax-attribute-operators* - - Attribute operators are used to modify attributes of outputted elements. - For example, in HTML and XML you can quickly add 'class' attribute - to generated element. - - Operator Description Link ~ - . Attribute 'class' |emmet-.| - # Attribute 'id' |emmet-#| - [] Custom attributes |emmet-[]| - $ Number |emmet-$| - @ Number origin and direction |emmet-@| - -3.1. ID and CLASS *emmet-.* *emmet-#* - - In CSS, you use 'elem#id' and 'elem.class' notation to reach the elements - with specified 'id' or 'class' attributes. - In Emmet, you can use the very same syntax to add these attributes - to specified element: -> - span.class1 -> - span.class1.class2 -> - div#wrapper ->
      - div#wrapper.content ->
      -< - More complex expression: -> - div#header+div.page+div#footer.class1.class2.class3 -< - will output -> - -
      - -< -3.2. Custom attributes *emmet-[]* - - You can use '[attr]' notation (as in CSS) - to add custom attributes to your element: -> - td[title="Hello world!" colspan=3] -< - outputs -> - -< - You can place as many attributes as you like inside square brackets. - - Attribute values may be omitted: -> - td[colspan title] -< - will produce -> - -< - You can use single or double quotes for quoting attribute values. -> - div[a='value1' b="value2"] -< - become -> -
      -< - You don't need to quote values if they don't contain spaces: -> - td[title=hello colspan=3] -< - will output -> - -< -3.3. Item numbering *emmet-$* - - With multiplication '*' operator you can repeat elements, - but with '$' you can number them. - Place '$' operator inside element's name, attribute's name or - attribute's value to output current number of repeated element: -> - ul>li.item_$*5 -< - outputs to -> -
        -
      • -
      • -
      • -
      • -
      • -
      -< - You can use multiple '$' in a row to pad number with zeroes: -> - ul>li.item_$$$*5 -< - outputs to -> -
        -
      • -
      • -
      • -
      • -
      • -
      -< - Also '$' can be used in element name and in text (|emmet-{}|): -> - h$[title=item$]{Header $}*3 -< - transformed to -> -

      Header 1

      -

      Header 2

      -

      Header 3

      -< -3.3.1. Changing numbering origin and direction *emmet-@* - - With '@' modifier, you can change - - numbering direction (ascending or descending) and - - origin (i. e. start value). - - For example, to change direction, add '@-' after '$': -> - ul>li.item_$@-*5 -< - outputs to -> -
        -
      • -
      • -
      • -
      • -
      • -
      -< - To change counter origin value, add '@N' modifier to '$': -> - ul>li.item_$@3*5 -< - transforms to -> -
        -
      • -
      • -
      • -
      • -
      • -
      -< - You can use these modifiers together: -> - ul>li.item_$@-3*5 -< - is transformed to -> -
        -
      • -
      • -
      • -
      • -
      • -
      -> -3.4. Quote character *emmet-html-attr-quote-char* - - |g:user_emmet_settings| may be used to change attribute quote character: -> - let g:user_emmet_settings = { - ... - \ 'html' : { - ... - \ 'quote_char': "'", - ... - \ }, - ... - \} -< - Then abbreviation -> - a[target=_blank] -< - will expand to -> - -< - instead of -> - -< - Default quote is '"'. - -4. Text *emmet-{}* - - You can use curly braces to add text to element: -> - a{Click me} -< - will produce -> - Click me -< - Note that '{text}' is used and parsed as a separate element - (like, 'div', 'p' etc), but has a special meaning - when written right after element. For example, -> - a{click} -< - and -> - a>{click} -< - will produce the same output, but -> - a{click}+b{here} -< - and -> - a>{click}+b{here} -< - won't: -> - - clickhere - - - clickhere -< - In second example the '' element is placed inside '' element. - And that's the difference: when '{text}' is written right after element, - it doesn't change parent context. - Here's more complex example showing why it is important: -> - p>{Click }+a{here}+{ to continue} -< - produces -> -

      Click here to continue

      -< - In this example, to write 'Click here to continue' inside '

      ' element - we have explicitly move down the tree with '>' operator after 'p', - but in case of 'a' element we don't have to, since we need '' element - with here word only, without changing parent context. - - For comparison, here's the same abbreviation - written without child '>' operator: -> - p{Click }+a{here}+{ to continue} -< - produces -> -

      Click

      - here to continue -< -5. Implicit tag names *emmet-html-implicit-tag-names* - - Even with such a powerful abbreviation engine, - which can expand large HTML structures from short abbreviation, - writing tag names may be very tedious. - - In many cases you can skip typing tag names and - Emmet will substitute it for you. - For example, instead of > - div.content -< you can simply write > - .content -< and expand it into > -
      -< - Other examples: -> - .wrapper ->
      - #popup -> -< - When you expand abbreviation, Emmet tries to grab parent context, - e. g. the HTML element, inside which you're expanding the abbreviation. - If the context was grabbed successfully, - Emmet uses its name to resolve implicit names. - Emmet looks at the parent tag name every time - you're expanding the abbreviation with an implicit name. - Here's how it resolves the names for some parent elements: - - Inserted element Parent elements ~ - li ul, ol - tr table, tbody, thead, tfoot - td tr - option select, optgroup - span Inline elements - div Block elements - - Take a look at some abbreviations equivalents - with implicit and explicit tag names: -> - .wrap>.content -> div.wrap>div.content - em>.info -> em>span.info - ul>.item*3 -> ul>li.item*3 - table>.row>.col -> table>tr.row>td.col - table>#row$*4>[colspan=2] -> table>tr#row$*4>td[colspan=2] -< -6. Notes on abbreviation formatting *emmet-html-syntax-notes* - - When you get familiar with Emmet's abbreviations syntax, - you may want to use some formatting to make your abbreviations more readable. - For example, use spaces between elements and operators, like this: -> - (header > ul.nav > li*5) + footer -< - But it won't work, because space is a stop symbol - where Emmet stops abbreviation parsing. - - Many users mistakenly think that each abbreviation - should be written in a new line, but they are wrong: - you can type and expand abbreviation anywhere in the text: - - This is why Emmet needs some indicators (like spaces) - where it should stop parsing to not expand anything that you don't need. - If you're still thinking that such formatting is required - for complex abbreviations to make them more readable: - - abbreviations are not a template language, - they don't have to be "readable", - they have to be "quickly expandable and removable"; - - you don't really need to write complex abbreviations. - Stop thinking that "typing" is the slowest process in web-development. - You'll quickly find out that constructing a single complex abbreviation - is much slower and error-prone than constructing and typing - a few short ones. - -7. Choose position to insert text when wrap abbreviation *emmet-$#* - - When wrap abbreviation (|emmet-wrap-with-abbreviation|) you can choose - position to insert text using '$#' operator. - Operator '$#' may be used only inside |emmet-[]| and/or |emmet-{}|. - - For example, do visual select (line wise) following text: -> - First - Second - Third -< - Then press ',' and type -> - ul>li[ title="[$#]" ]* -< - Result: -> -
        -
      • First
      • -
      • Second
      • -
      • Third
      • -
      -< - You may type -> - input[ type=input value=$# ] -< - to get -> - - - -< - Using '$#' you can type text (|emmet-{}|) only once: -> - a[title=$#]{foo} -< - will be expanded to -> - foo -< -============================================================================== -CSS EXPRESSION SYNTAX *emmet-css-expression-syntax* - -1. Properties *emmet-css-properties* - - Emmet has a lot of predefined snippets for CSS properties. -> - -< - become -> - -< - In above example '|' denotes a cursor (caret) position. - - Other examples: -> - t -> top: ; - d -> display: ; - o -> outline: ; - ov -> overflow: ; - cu -> cursor: ; - bdrs -> border-radius: ; -< - '+' operator may be used to insert number of properties: -> - m1+p2 -< - become -> - margin: 1px; - padding: 2px; -< -2. Values *emmet-css-values* - - Some properties have default values: -> - c -> color: #000; - bgc -> background-color: #FFF; - zoo -> zoom: 1; -< - To insert predefined property value after abbreviation - type colon ':' and first character of predefined keyword: -> - d:n -> display: none; - d:b -> display: block; - d:i -> display: inline; -< - Numerical value can be typed directly after abbreviation: -> - m10 -> margin: 10px; - m2e -> margin: 2em; -< - Use a hyphen '-' to separate some numerical values: -> - m10-20 -> margin: 10px 20px; - p1-2-3 -> padding: 1px 2px 3px; -< - To negative values - precede the first value with hyphen and all the rest with double hyphens: -> - m-10 -> margin: -10px; - m-1--2 -> margin: -1px -2px; - p-2--1-0-1 -> padding: -2px -1px 0 1px; -< - To insert '!important' append '!' to property abbreviation: -> - m! -> margin: !important; - bac! -> background: !important; -< - You can use special abbreviation 'lg(...)' - to insert definition of linear gradient. Example: -> - lg(left, #fc0 30%, red) -< - will expand to -> - background-image: -webkit-gradient(left, 0 0, 0 100, from(#fc0 30%), to(red)); - background-image: -webkit-linear-gradient(#fc0 30%, red); - background-image: -moz-linear-gradient(#fc0 30%, red); - background-image: -o-linear-gradient(#fc0 30%, red); - background-image: linear-gradient(#fc0 30%, red); -< -3. Units *emmet-css-units* - - By default, when you expand an abbreviation with integer value, - Emmet outputs it with a 'px' unit: -> - bor2 -> border: 2px; - fs100 -> font-size: 100px; - miw20 -> min-width: 20px; -< - By default, if you're expanding an abbreviation with a float value, - it is outputted with an 'em' unit: -> - fs1.5 -> font-style: 1.5em; -< - But you can explicitly provide the unit name - by putting one of characters right after value: - - Character Unit ~ - p % - e em - - Examples: -> - fs2e -> font-style: 2em; - w100p -> width: 100%; -< -4. Vendor prefixes *emmet-css-vendor-prefixes* - - To automatically create vendor-prefixed copies of property, - precede abbreviation with a hyphen '-'. For example, abbreviation -> - -bdrs -< - will be expanded into -> - -webkit-border-radius: ; - -moz-border-radius: ; - border-radius: ; -< -============================================================================== -COMMANDS *emmet-commands* - -:Emmet {expression} *:Emmet* - Expand {expression} and insert result under cursor. - {expression} is |emmet-html-expression|. - Also see |g:user_emmet_install_command|. - -:EmmetInstall *:EmmetInstall* - Create Emmet mappings to current buffer - (|mapping|, |:map-|) and, - if set |g:user_emmet_complete_tag|, - change |'omnifunc'| option to emmet#completeTag() - -============================================================================== -VARIABLES *emmet-variables* - -g:emmet_html5 *g:emmet_html5* - If set to 1, enable HTML 5 support: - - use ">" instead of "/>": > - - -< - omit some HTML 4 attributes: > -