diff --git a/vim/after/syntax/python.vim b/vim/after/syntax/python.vim new file mode 100644 index 0000000..5e73fe4 --- /dev/null +++ b/vim/after/syntax/python.vim @@ -0,0 +1,2 @@ +syn match pythonBrackets "[(){}\[\]]" containedin=ALL +syn match pythonNoise "[,:]" containedin=ALL diff --git a/vim/colors/customred256.vim b/vim/colors/customred256.vim index 0c72bde..a8b1cb0 100644 --- a/vim/colors/customred256.vim +++ b/vim/colors/customred256.vim @@ -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 diff --git a/vim/syntax/python.vim b/vim/syntax/python.vim index 3762d25..bee1c4a 100644 --- a/vim/syntax/python.vim +++ b/vim/syntax/python.vim @@ -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 {{{ " =============