mirror of
https://github.com/mhinz/vim-galore.git
synced 2025-06-07 18:39:31 +08:00
48 lines
1.4 KiB
VimL
Executable File
48 lines
1.4 KiB
VimL
Executable File
" Vim color file
|
|
" Maintainer: Mikel Ward <mikel@mikelward.com>
|
|
" Last Change: 2008 Jan 16
|
|
|
|
" Remove all existing highlighting and set the defaults.
|
|
highlight clear
|
|
|
|
" Load the syntax highlighting defaults, if it's enabled.
|
|
"if exists("syntax_on")
|
|
" syntax reset
|
|
"endif
|
|
|
|
let colors_name = "basic"
|
|
|
|
" Remove all highlighting
|
|
highlight clear Constant
|
|
highlight clear Number
|
|
highlight clear Statement
|
|
highlight clear PreProc
|
|
highlight clear Type
|
|
highlight clear Special
|
|
highlight clear Identifier
|
|
|
|
highlight clear String
|
|
highlight clear Comment
|
|
highlight clear Error
|
|
highlight clear LineNr
|
|
highlight clear NonText
|
|
highlight clear SpecialKey
|
|
|
|
" Set up some simple non-intrusive colors
|
|
if &background == "light"
|
|
highlight String term=underline cterm=NONE ctermfg=DarkGreen
|
|
highlight Comment term=bold cterm=NONE ctermfg=DarkBlue
|
|
highlight Error term=reverse cterm=NONE ctermfg=DarkRed
|
|
highlight LineNr term=bold cterm=NONE ctermfg=DarkYellow
|
|
highlight NonText term=bold cterm=NONE ctermfg=DarkYellow
|
|
highlight SpecialKey term=bold cterm=NONE ctermfg=DarkYellow
|
|
else
|
|
highlight String term=underline cterm=NONE ctermfg=Magenta
|
|
highlight Comment term=bold cterm=NONE ctermfg=Cyan
|
|
highlight Error term=reverse cterm=NONE ctermbg=Red
|
|
highlight LineNr term=bold cterm=NONE ctermfg=Yellow
|
|
highlight NonText term=bold cterm=NONE ctermfg=Yellow
|
|
highlight SpecialKey term=bold cterm=NONE ctermfg=Yellow
|
|
endif
|
|
|