python.vim 1.74 KB
Newer Older
Oscar Brink's avatar
Oscar Brink committed
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
" Vim color file
" Maintainer:   Oscar Brink <oscbri-7@student.ltu.se>
" Last Change:  2018 10 07

" The lines that are commented are not in use. These colors are 'inherited'
" from the main file. To override, simply uncomment them.


" All Python keywords 
" Color:	Orange1
hi link pythonStatement     pythonAllKeywords
hi link pythonConditional   pythonAllKeywords
hi link pythonRepeat        pythonAllKeywords
hi link pythonOperator      pythonAllKeywords
hi link pythonException     pythonAllKeywords
hi link pythonInclude       pythonAllKeywords
hi link pythonAsync         pythonAllKeywords

hi pythonAllKeywords    ctermfg=214     cterm=none


" Python builtin functions
" Color:	SkyBlue2
hi link pythonBuiltin       pythonAllBuiltins
hi link pythonExceptions    pythonAllBuiltins

hi  pythonAllBuiltins   ctermfg=111     cterm=none


" Python decorators (@ sign normal color)
" Color:	Yellow3
"hi pythonDecorator     ctermfg=75      cterm=none
hi pythonDecoratorName  ctermfg=184     cterm=none


" Python function names
" Color:	LightGoldenRod2
hi pythonFunction       ctermfg=222     cterm=none


" Python comments
" Color:	Grey50
"hi pythonComment        ctermfg=244     cterm=none


" Python todo TODO
" Color:	Yellow1
"hi pythonTodo           ctermfg=226     cterm=italic


" Python numbers (constants)
" Color:	MediumOrchid3 
"hi pythonNumber         ctermfg=133     cterm=none


" Python Strings
" Color:	Green4
"hi link pythonString        pythonStringGroup
"hi link pythonRawString     pythonStringGroup
"hi link pythonQuotes        pythonStringGroup
"hi link pythonTripleQuotes  pythonStringGroup

"hi pythonStringGroup    ctermfg=64      cterm=none


" Python escape sequences
" Color:    LightGoldenrod3
"hi pythonEscape         ctermfg=179     cterm=none