industry.vim 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. " Vim color file
  2. " Maintainer: Shian Lee
  3. " Last Change: 2014 Mar 6 (for vim 7.4)
  4. " Remark: "industry" stands for 'industrial' color scheme. In industrial
  5. " HMI (Human-Machine-Interface) programming, using a standard color
  6. " scheme is mandatory in many cases (in traffic-lights for example):
  7. " LIGHT_RED is 'Warning'
  8. " LIGHT_YELLOW is 'Attention'
  9. " LIGHT_GREEN is 'Normal'
  10. " LIGHT_MAGENTA is 'Warning-Attention' (light RED-YELLOW)
  11. " LIGHT_CYAN is 'Attention-Normal' (light YELLOW-GREEN).
  12. " BLACK is Dark-High-Contrast Background for maximum safety.
  13. " BLUE is Shade of BLACK (not supposed to get attention).
  14. "
  15. " Industrial color scheme is by nature clear, safe and productive.
  16. " Yet, depends on the file type's syntax, it might appear incorrect.
  17. " Reset to dark background, then reset everything to defaults:
  18. set background=dark
  19. highlight clear
  20. if exists("syntax_on")
  21. syntax reset
  22. endif
  23. let colors_name = "industry"
  24. " First set Normal to regular white on black text colors:
  25. hi Normal ctermfg=LightGray ctermbg=Black guifg=#dddddd guibg=Black
  26. " Syntax highlighting (other color-groups using default, see :help group-name):
  27. hi Comment cterm=NONE ctermfg=DarkCyan gui=NONE guifg=#00aaaa
  28. hi Constant cterm=NONE ctermfg=LightCyan gui=NONE guifg=#00ffff
  29. hi Identifier cterm=NONE ctermfg=LightMagenta gui=NONE guifg=#ff00ff
  30. hi Function cterm=NONE ctermfg=LightGreen gui=NONE guifg=#00ff00
  31. hi Statement cterm=NONE ctermfg=White gui=bold guifg=#ffffff
  32. hi PreProc cterm=NONE ctermfg=Yellow gui=NONE guifg=#ffff00
  33. hi Type cterm=NONE ctermfg=LightGreen gui=bold guifg=#00ff00
  34. hi Special cterm=NONE ctermfg=LightRed gui=NONE guifg=#ff0000
  35. hi Delimiter cterm=NONE ctermfg=Yellow gui=NONE guifg=#ffff00