extra python highlighting/syntax rules
This commit is contained in:
parent
a2848dde6f
commit
a07ef9b271
|
@ -0,0 +1,2 @@
|
|||
syn match pythonBrackets "[(){}\[\]]" containedin=ALL
|
||||
syn match pythonNoise "[,:]" containedin=ALL
|
|
@ -515,6 +515,11 @@ hi! def link GitGutterChangeDelete InterfaceSignModified
|
|||
|
||||
" #python definitions
|
||||
hi! def link pythonImport CRNoise
|
||||
hi! def link pythonInclude pythonImport
|
||||
hi! def link pythonBrackets CRNoiseDark
|
||||
hi! def link pythonQuotes CRNoise
|
||||
hi! def link pythonDot CRNoise
|
||||
hi! def link pythonNoise CRNoiseDark
|
||||
|
||||
"""""""""""""""
|
||||
" #highlighting
|
||||
|
|
|
@ -318,7 +318,7 @@ endif
|
|||
" }}}
|
||||
|
||||
if g:pymode_syntax_slow_sync
|
||||
syn sync minlines=2000
|
||||
syn sync minlines=2000"{{{
|
||||
else
|
||||
" This is fast but code inside triple quoted strings screws it up. It
|
||||
" is impossible to fix because the only way to know if you are inside a
|
||||
|
@ -326,6 +326,7 @@ else
|
|||
syn sync match pythonSync grouphere NONE "):$"
|
||||
syn sync maxlines=200
|
||||
endif
|
||||
"}}}
|
||||
|
||||
" Highlight {{{
|
||||
" =============
|
||||
|
|
Loading…
Reference in New Issue