Permalink
Browse files

python.vim options added

  • Loading branch information...
1 parent a574e8e commit 3d6305fea4b74df7befe85724230c2249890b5eb @matagus committed Jun 20, 2011
Showing with 124 additions and 114 deletions.
  1. +114 −114 colors/baycomb.vim
  2. +10 −0 vimrc
View
@@ -2,7 +2,7 @@
" baycomb v2.4
" http://www.vim.org/scripts/script.php?script_id=1454
"
-" Maintainer: Shawn Axsom <axs221@gmail.com>
+" Maintainer: Shawn Axsom <axs221@gmail.com>
"
" * Place :colo baycomb in your VimRC/GVimRC file
" * Also add :set background=dark or :setbackground=light
@@ -17,7 +17,7 @@ if version > 580
" complaining
hi clear
if exists("syntax_on")
- syntax reset
+ syntax reset
endif
endif
@@ -28,11 +28,11 @@ hi Normal guifg=#a0b4e0 guibg=#11121a "1a1823
hi NonText guifg=#382920 guibg=bg
hi Folded guibg=#232235 guifg=grey
-hi FoldColumn guibg=#0a0a18 guifg=#dbcaa5
+hi FoldColumn guibg=#0a0a18 guifg=#dbcaa5
hi LineNr guibg=#101124 guifg=#206aa9
-hi StatusLine guibg=#354070 guifg=#6880ea gui=none
-hi StatusLineNC guibg=#2c3054 guifg=#5c6dbe gui=none
-hi VertSplit guibg=#22253c guifg=#223355 gui=none
+hi StatusLine guibg=#354070 guifg=#6880ea gui=none
+hi StatusLineNC guibg=#2c3054 guifg=#5c6dbe gui=none
+hi VertSplit guibg=#22253c guifg=#223355 gui=none
hi tablinesel guibg=#515a71 guifg=#50aae5 gui=none
hi tabline guibg=#4d4d5f guifg=#5b7098 gui=none
@@ -43,23 +43,23 @@ hi tablinefill guibg=#2d2d3f guifg=#aaaaaa gui=none
"hi SpellLocal
"hi SpellRare
-hi MatchParen guibg=#7b5a55 guifg=#001122
+hi MatchParen guibg=#7b5a55 guifg=#001122
" syntax highlighting """"""""""""""""""""""""""""""""""""""""
-hi Comment guifg=#349d58 guibg=bg
-hi Title guifg=#e5e5ca gui=none
+hi Comment guifg=#349d58 guibg=bg
+hi Title guifg=#e5e5ca gui=none
hi Underlined guifg=#bac5ba gui=none
hi Statement guifg=#fca8ad gui=none "a080aa
-hi Type guifg=#0490e8 gui=bold
-hi Constant guifg=#5c78f0 "guibg=#111a2a
+hi Type guifg=#0490e8 gui=bold
+hi Constant guifg=#5c78f0 "guibg=#111a2a
hi Number guifg=#4580b4 "guibg=#111a2a
hi PreProc guifg=#ba75cf
-hi Special guifg=#aaaaca
+hi Special guifg=#aaaaca
hi Ignore guifg=grey40
-hi Todo guifg=orangered guibg=yellow2
+hi Todo guifg=orangered guibg=yellow2
hi Error guibg=#b03452
hi Function guifg=#bab588 guibg=bg gui=bold
hi Identifier guifg=#5094c4
@@ -75,7 +75,7 @@ highlight Exception gui=bold guifg=#d0a8ad guibg=bg
" highlight groups
"hi CursorIM
-hi Directory guifg=#bbd0df
+hi Directory guifg=#bbd0df
hi DiffText guibg=#004335
hi DiffChange guibg=#685b5c
hi DiffAdd guibg=#0a4b8c
@@ -86,15 +86,15 @@ hi Cursor guibg=#cad5c0 guifg=#0000aa
hi Search guibg=darkyellow guifg=black
-hi IncSearch guifg=#babeaa guibg=#3a4520
+hi IncSearch guifg=#babeaa guibg=#3a4520
-hi ModeMsg guifg=#00AACC
+hi ModeMsg guifg=#00AACC
hi MoreMsg guifg=SeaGreen
-hi Question guifg=#AABBCC
-hi SpecialKey guifg=#90dcb0
+hi Question guifg=#AABBCC
+hi SpecialKey guifg=#90dcb0
hi Visual guifg=#102030 guibg=#80a0f0
hi VisualNOS guifg=#201a30 guibg=#a3a5FF
-hi WarningMsg guifg=salmon
+hi WarningMsg guifg=salmon
"hi WildMenu
"hi Menu
"hi Scrollbar guibg=grey30 guifg=tan
@@ -117,56 +117,56 @@ highlight Operator ctermfg=yellow
highlight Conditional ctermfg=darkred
highlight Repeat ctermfg=darkred
hi Exception ctermfg=darkred
-hi SpecialKey ctermfg=darkgreen
-hi NonText cterm=bold ctermfg=darkgrey
-hi Directory ctermfg=darkcyan
-hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
-hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
-hi Search ctermfg=black ctermbg=darkyellow cterm=NONE
-hi MoreMsg ctermfg=darkgreen
-hi ModeMsg cterm=NONE ctermfg=brown
-hi LineNr ctermfg=darkcyan ctermbg=black
-hi Question ctermfg=green
-hi StatusLine ctermfg=yellow ctermbg=darkblue cterm=NONE
+hi SpecialKey ctermfg=darkgreen
+hi NonText cterm=bold ctermfg=darkgrey
+hi Directory ctermfg=darkcyan
+hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
+hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
+hi Search ctermfg=black ctermbg=darkyellow cterm=NONE
+hi MoreMsg ctermfg=darkgreen
+hi ModeMsg cterm=NONE ctermfg=brown
+hi LineNr ctermfg=darkcyan ctermbg=black
+hi Question ctermfg=green
+hi StatusLine ctermfg=yellow ctermbg=darkblue cterm=NONE
hi StatusLineNC ctermfg=grey ctermbg=darkblue cterm=NONE
-hi VertSplit ctermfg=black ctermbg=darkgrey cterm=NONE
-hi Title ctermfg=yellow cterm=NONE
-hi Visual ctermbg=grey ctermfg=blue cterm=NONE
-hi VisualNOS ctermbg=grey ctermfg=blue cterm=NONE
-hi WarningMsg ctermfg=1
-hi WildMenu ctermfg=0 ctermbg=3
-hi Folded ctermfg=darkgreen ctermbg=darkblue cterm=NONE
-hi FoldColumn ctermfg=yellow ctermbg=black
-hi DiffAdd ctermbg=4
-hi DiffChange ctermbg=5
-hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
-hi DiffText cterm=bold ctermbg=1
-hi Comment ctermfg=darkgreen ctermbg=black
+hi VertSplit ctermfg=black ctermbg=darkgrey cterm=NONE
+hi Title ctermfg=yellow cterm=NONE
+hi Visual ctermbg=grey ctermfg=blue cterm=NONE
+hi VisualNOS ctermbg=grey ctermfg=blue cterm=NONE
+hi WarningMsg ctermfg=1
+hi WildMenu ctermfg=0 ctermbg=3
+hi Folded ctermfg=darkgreen ctermbg=darkblue cterm=NONE
+hi FoldColumn ctermfg=yellow ctermbg=black
+hi DiffAdd ctermbg=4
+hi DiffChange ctermbg=5
+hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
+hi DiffText cterm=bold ctermbg=1
+hi Comment ctermfg=darkgreen ctermbg=black
hi Identifier ctermfg=cyan
"set comments to grey on non-Windows OS's to make sure
"it is readable
if &term == "builtin_gui" || &term == "win32"
- hi function ctermfg=grey
- hi Type ctermfg=darkyellow ctermbg=darkblue
- hi IncSearch ctermfg=black ctermbg=grey cterm=NONE
- hi Search ctermfg=black ctermbg=darkgrey cterm=NONE
+ hi function ctermfg=grey
+ hi Type ctermfg=darkyellow ctermbg=darkblue
+ hi IncSearch ctermfg=black ctermbg=grey cterm=NONE
+ hi Search ctermfg=black ctermbg=darkgrey cterm=NONE
else
- hi function ctermfg=white
- hi Type ctermfg=grey
- hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
- hi Search ctermfg=black ctermbg=darkyellow cterm=NONE
+ hi function ctermfg=white
+ hi Type ctermfg=grey
+ hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
+ hi Search ctermfg=black ctermbg=darkyellow cterm=NONE
endif
""""""""""""""""""""""""""""""""""""""""""""""""""""""
-hi Constant ctermfg=darkcyan
-hi Special ctermfg=white
-hi Statement ctermfg=yellow
-hi PreProc ctermfg=darkred
-hi Underlined ctermfg=cyan cterm=NONE
-hi Ignore cterm=bold ctermfg=7
-hi Ignore ctermfg=darkgrey
-hi Error cterm=bold ctermfg=7 ctermbg=1
+hi Constant ctermfg=darkcyan
+hi Special ctermfg=white
+hi Statement ctermfg=yellow
+hi PreProc ctermfg=darkred
+hi Underlined ctermfg=cyan cterm=NONE
+hi Ignore cterm=bold ctermfg=7
+hi Ignore ctermfg=darkgrey
+hi Error cterm=bold ctermfg=7 ctermbg=1
" new Vim 7.0 items
hi Pmenu ctermbg=darkblue ctermfg=lightgrey
@@ -177,7 +177,7 @@ hi tabline ctermfg=black ctermbg=blue
hi tablinefill ctermfg=green ctermbg=darkblue
"vim: sw=4
"
-hi MatchParen ctermfg=black ctermbg=green
+hi MatchParen ctermfg=black ctermbg=green
elseif &background == "light"
@@ -190,23 +190,23 @@ hi NonText guifg=#382920 guibg=#152555
"set comments to grey on non-Windows OS's to make sure
"it is readable
if &term == "builtin_gui" || &term == "win32"
- hi Comment guifg=#daddb8 guibg=#308ae5
+ hi Comment guifg=#daddb8 guibg=#308ae5
else
- hi Comment guifg=darkyellow guibg=#207ada
+ hi Comment guifg=darkyellow guibg=#207ada
endif
""""""""""""""""""""""""""""""""""""""""""""""""""""""
-hi Title guifg=#857540 gui=none
+hi Title guifg=#857540 gui=none
hi Underlined guifg=#8a758a
hi Statement guifg=#da302a gui=none
-hi Type guifg=#307aca gui=none
-hi Constant guifg=#3a40aa gui=none
+hi Type guifg=#307aca gui=none
+hi Constant guifg=#3a40aa gui=none
hi PreProc guifg=#9570b5
hi Identifier guifg=#856075 "gui=bold
-hi Special guifg=#652a7a
+hi Special guifg=#652a7a
hi Ignore guifg=grey40
-hi Todo guifg=orangered guibg=yellow2
+hi Todo guifg=orangered guibg=yellow2
hi Error guibg=#b03452
"""""this section borrowed from OceanDeep/Midnight"""""
hi Number guifg=#006bcd
@@ -222,7 +222,7 @@ highlight Exception gui=none guifg=#ea5460
" highlight groups
"hi CursorIM
-hi Directory guifg=#bbd0df
+hi Directory guifg=#bbd0df
"hi DiffAdd
"hi DiffChange
"hi DiffDelete
@@ -231,25 +231,25 @@ hi ErrorMsg guibg=#ff4545
hi Cursor guibg=#cadaca guifg=#05293d
-hi FoldColumn guibg=#409ae0 guifg=darkgrey
-"hi FoldColumn guibg=#83a5cd guifg=#70459F
+hi FoldColumn guibg=#409ae0 guifg=darkgrey
+"hi FoldColumn guibg=#83a5cd guifg=#70459F
hi LineNr guibg=#409ae0 guifg=darkblue gui=bold
"hi LineNr guibg=#081c30 guifg=#80a0dA
-hi StatusLine guibg=#20b5fd guifg=#0a150d gui=none
-hi StatusLineNC guibg=#0580da guifg=#302d34 gui=none
+hi StatusLine guibg=#20b5fd guifg=#0a150d gui=none
+hi StatusLineNC guibg=#0580da guifg=#302d34 gui=none
hi Search guibg=#babdad guifg=#3a4520
-hi IncSearch guifg=#dadeca guibg=#3a4520
+hi IncSearch guifg=#dadeca guibg=#3a4520
-hi VertSplit guibg=#525f95 guifg=grey50 gui=none
+hi VertSplit guibg=#525f95 guifg=grey50 gui=none
hi Folded guibg=#252f5d guifg=#BBDDCC
-hi ModeMsg guifg=#00AACC
+hi ModeMsg guifg=#00AACC
hi MoreMsg guifg=SeaGreen
-hi Question guifg=#AABBCC
-hi SpecialKey guifg=#308c70
+hi Question guifg=#AABBCC
+hi SpecialKey guifg=#308c70
hi Visual guifg=#008FBF guibg=#33DFEF
"hi VisualNOS
-hi WarningMsg guifg=salmon
+hi WarningMsg guifg=salmon
"hi WildMenu
"hi Menu
"hi Scrollbar guibg=grey30 guifg=tan
@@ -272,43 +272,43 @@ highlight Conditional ctermfg=magenta
highlight Repeat ctermfg=magenta
hi Exception ctermfg=red
hi function ctermfg=darkyellow
-hi SpecialKey ctermfg=darkgreen
-hi NonText cterm=bold ctermfg=darkgrey ctermbg=grey
-hi Directory ctermfg=darkcyan
-hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
-hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
-hi Search ctermfg=white ctermbg=darkyellow cterm=NONE
-hi MoreMsg ctermfg=darkgreen
-hi ModeMsg cterm=NONE ctermfg=brown
-hi LineNr ctermfg=black ctermbg=blue
-hi Question ctermfg=green
-hi StatusLine ctermfg=cyan ctermbg=blue cterm=NONE
+hi SpecialKey ctermfg=darkgreen
+hi NonText cterm=bold ctermfg=darkgrey ctermbg=grey
+hi Directory ctermfg=darkcyan
+hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
+hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
+hi Search ctermfg=white ctermbg=darkyellow cterm=NONE
+hi MoreMsg ctermfg=darkgreen
+hi ModeMsg cterm=NONE ctermfg=brown
+hi LineNr ctermfg=black ctermbg=blue
+hi Question ctermfg=green
+hi StatusLine ctermfg=cyan ctermbg=blue cterm=NONE
hi StatusLineNC ctermfg=grey ctermbg=darkblue cterm=NONE
-hi VertSplit ctermfg=black ctermbg=black cterm=NONE
-hi Title ctermfg=darkyellow ctermbg=white
-hi Visual ctermbg=darkcyan ctermfg=cyan cterm=NONE
-hi VisualNOS ctermbg=darkcyan ctermfg=white cterm=NONE
-hi WarningMsg ctermfg=1
-hi WildMenu ctermfg=0 ctermbg=3
-hi Folded ctermfg=black ctermbg=white cterm=NONE
-hi FoldColumn ctermfg=green ctermbg=blue
-hi DiffAdd ctermbg=4
-hi DiffChange ctermbg=5
-hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
-hi DiffText cterm=bold ctermbg=1
-
-hi Comment ctermfg=grey ctermbg=blue
-
-hi Constant ctermfg=darkblue
-hi Special ctermfg=darkmagenta
-hi Identifier ctermfg=darkyellow cterm=NONE
-hi Statement ctermfg=red
-hi PreProc ctermfg=magenta
-hi Type ctermfg=darkcyan "or darkcyan
-hi Underlined ctermfg=black ctermbg=white
-hi Ignore cterm=bold ctermfg=7
-hi Ignore ctermfg=darkgrey
-hi Error cterm=bold ctermfg=7 ctermbg=1
+hi VertSplit ctermfg=black ctermbg=black cterm=NONE
+hi Title ctermfg=darkyellow ctermbg=white
+hi Visual ctermbg=darkcyan ctermfg=cyan cterm=NONE
+hi VisualNOS ctermbg=darkcyan ctermfg=white cterm=NONE
+hi WarningMsg ctermfg=1
+hi WildMenu ctermfg=0 ctermbg=3
+hi Folded ctermfg=black ctermbg=white cterm=NONE
+hi FoldColumn ctermfg=green ctermbg=blue
+hi DiffAdd ctermbg=4
+hi DiffChange ctermbg=5
+hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
+hi DiffText cterm=bold ctermbg=1
+
+hi Comment ctermfg=grey ctermbg=blue
+
+hi Constant ctermfg=darkblue
+hi Special ctermfg=darkmagenta
+hi Identifier ctermfg=darkyellow cterm=NONE
+hi Statement ctermfg=red
+hi PreProc ctermfg=magenta
+hi Type ctermfg=darkcyan "or darkcyan
+hi Underlined ctermfg=black ctermbg=white
+hi Ignore cterm=bold ctermfg=7
+hi Ignore ctermfg=darkgrey
+hi Error cterm=bold ctermfg=7 ctermbg=1
" new Vim 7.0 items
hi Pmenu ctermbg=darkblue ctermfg=lightgrey
View
10 vimrc
@@ -40,6 +40,16 @@ set tabstop=4
set expandtab
set autoindent
+" python-vim options:
+let python_slow_sync = 1
+let python_highlight_all = 1 " this implies:
+"let python_highlight_builtins = 1
+"let python_highlight_exceptions = 1
+"let python_highlight_string_formatting = 1
+"let python_highlight_indent_errors = 1
+"let python_highlight_space_errors = 1
+"let python_highlight_doctests = 1
+
" NERD_tree config
let NERDTreeChDirMode=2
let NERDTreeIgnore=['\.vim$', '\~$', '\.pyc$', '\.swp$']

0 comments on commit 3d6305f

Please sign in to comment.