forked from ma6174/vim
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbasic.vim
47 lines (40 loc) · 1.37 KB
/
basic.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
" Vim color file
" Maintainer: Mikel Ward <[email protected]>
" 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