Skip to content

Commit 7d140a1

Browse files
author
Gerrit van Doorn
committed
First commit
0 parents  commit 7d140a1

File tree

143 files changed

+17882
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+17882
-0
lines changed

autoload/pathogen.vim

+142
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
" pathogen.vim - path option manipulation
2+
" Maintainer: Tim Pope <[email protected]>
3+
" Version: 1.3
4+
5+
" Install in ~/.vim/autoload (or ~\vimfiles\autoload).
6+
"
7+
" API is documented below.
8+
9+
if exists("g:loaded_pathogen") || &cp
10+
finish
11+
endif
12+
let g:loaded_pathogen = 1
13+
14+
" Split a path into a list.
15+
function! pathogen#split(path) abort " {{{1
16+
if type(a:path) == type([]) | return a:path | endif
17+
let split = split(a:path,'\\\@<!\%(\\\\\)*\zs,')
18+
return map(split,'substitute(v:val,''\\\([\\,]\)'',''\1'',"g")')
19+
endfunction " }}}1
20+
21+
" Convert a list to a path.
22+
function! pathogen#join(...) abort " {{{1
23+
if type(a:1) == type(1) && a:1
24+
let i = 1
25+
let space = ' '
26+
else
27+
let i = 0
28+
let space = ''
29+
endif
30+
let path = ""
31+
while i < a:0
32+
if type(a:000[i]) == type([])
33+
let list = a:000[i]
34+
let j = 0
35+
while j < len(list)
36+
let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
37+
let path .= ',' . escaped
38+
let j += 1
39+
endwhile
40+
else
41+
let path .= "," . a:000[i]
42+
endif
43+
let i += 1
44+
endwhile
45+
return substitute(path,'^,','','')
46+
endfunction " }}}1
47+
48+
" Convert a list to a path with escaped spaces for 'path', 'tag', etc.
49+
function! pathogen#legacyjoin(...) abort " {{{1
50+
return call('pathogen#join',[1] + a:000)
51+
endfunction " }}}1
52+
53+
" Remove duplicates from a list.
54+
function! pathogen#uniq(list) abort " {{{1
55+
let i = 0
56+
let seen = {}
57+
while i < len(a:list)
58+
if has_key(seen,a:list[i])
59+
call remove(a:list,i)
60+
else
61+
let seen[a:list[i]] = 1
62+
let i += 1
63+
endif
64+
endwhile
65+
return a:list
66+
endfunction " }}}1
67+
68+
" \ on Windows unless shellslash is set, / everywhere else.
69+
function! pathogen#separator() abort " {{{1
70+
return !exists("+shellslash") || &shellslash ? '/' : '\'
71+
endfunction " }}}1
72+
73+
" Convenience wrapper around glob() which returns a list.
74+
function! pathogen#glob(pattern) abort " {{{1
75+
let files = split(glob(a:pattern),"\n")
76+
return map(files,'substitute(v:val,"[".pathogen#separator()."/]$","","")')
77+
endfunction "}}}1
78+
79+
" Like pathogen#glob(), only limit the results to directories.
80+
function! pathogen#glob_directories(pattern) abort " {{{1
81+
return filter(pathogen#glob(a:pattern),'isdirectory(v:val)')
82+
endfunction "}}}1
83+
84+
" Checks if a bundle is 'disabled'. A bundle is considered 'disabled' if
85+
" its 'basename()' is included in g:pathogen_disabled[]'.
86+
function! pathogen#is_disabled(path) " {{{1
87+
if !exists("g:pathogen_disabled")
88+
return 0
89+
endif
90+
let sep = pathogen#separator()
91+
return index(g:pathogen_disabled, strpart(a:path, strridx(a:path, sep)+1)) != -1
92+
endfunction "}}}1
93+
94+
" Prepend all subdirectories of path to the rtp, and append all 'after'
95+
" directories in those subdirectories.
96+
function! pathogen#runtime_prepend_subdirectories(path) " {{{1
97+
let sep = pathogen#separator()
98+
let before = filter(pathogen#glob_directories(a:path.sep."*[^~]"), '!pathogen#is_disabled(v:val)')
99+
let after = filter(pathogen#glob_directories(a:path.sep."*[^~]".sep."after"), '!pathogen#is_disabled(v:val[0:-7])')
100+
let rtp = pathogen#split(&rtp)
101+
let path = expand(a:path)
102+
call filter(rtp,'v:val[0:strlen(path)-1] !=# path')
103+
let &rtp = pathogen#join(pathogen#uniq(before + rtp + after))
104+
return &rtp
105+
endfunction " }}}1
106+
107+
" For each directory in rtp, check for a subdirectory named dir. If it
108+
" exists, add all subdirectories of that subdirectory to the rtp, immediately
109+
" after the original directory. If no argument is given, 'bundle' is used.
110+
" Repeated calls with the same arguments are ignored.
111+
function! pathogen#runtime_append_all_bundles(...) " {{{1
112+
let sep = pathogen#separator()
113+
let name = a:0 ? a:1 : 'bundle'
114+
if "\n".s:done_bundles =~# "\\M\n".name."\n"
115+
return ""
116+
endif
117+
let s:done_bundles .= name . "\n"
118+
let list = []
119+
for dir in pathogen#split(&rtp)
120+
if dir =~# '\<after$'
121+
let list += filter(pathogen#glob_directories(substitute(dir,'after$',name,'').sep.'*[^~]'.sep.'after'), '!pathogen#is_disabled(v:val[0:-7])') + [dir]
122+
else
123+
let list += [dir] + filter(pathogen#glob_directories(dir.sep.name.sep.'*[^~]'), '!pathogen#is_disabled(v:val)')
124+
endif
125+
endfor
126+
let &rtp = pathogen#join(pathogen#uniq(list))
127+
return 1
128+
endfunction
129+
130+
let s:done_bundles = ''
131+
" }}}1
132+
133+
" Invoke :helptags on all non-$VIM doc directories in runtimepath.
134+
function! pathogen#helptags() " {{{1
135+
for dir in pathogen#split(&rtp)
136+
if dir[0 : strlen($VIM)-1] !=# $VIM && isdirectory(dir.'/doc') && !empty(glob(dir.'/doc/*')) && (!filereadable(dir.'/doc/tags') || filewritable(dir.'/doc/tags'))
137+
helptags `=dir.'/doc'`
138+
endif
139+
endfor
140+
endfunction " }}}1
141+
142+
" vim:set ft=vim ts=8 sw=2 sts=2:

bundle/protobuf/ftdetect/proto.vim

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
augroup filetype
2+
au! BufRead,BufNewFile *.proto setfiletype proto
3+
augroup end

colors/256-jungle.vim

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
" Vim color file
2+
" Maintainer: Piotr Husiatyński <[email protected]>
3+
4+
set background=dark
5+
set t_Co=256
6+
let g:colors_name="256-jungle"
7+
8+
let python_highlight_all = 1
9+
let c_gnu = 1
10+
11+
12+
hi Normal ctermfg=253 ctermbg=234 cterm=None
13+
hi Cursor ctermfg=253 ctermbg=57 cterm=None
14+
hi SpecialKey ctermfg=70 ctermbg=None cterm=None
15+
hi Directory ctermfg=57 ctermbg=254 cterm=None
16+
hi ErrorMsg ctermfg=160 ctermbg=245 cterm=None
17+
hi PreProc ctermfg=243 ctermbg=None cterm=Bold
18+
hi Search ctermfg=125 ctermbg=None cterm=Bold
19+
hi Type ctermfg=166 ctermbg=None cterm=Bold
20+
hi Statement ctermfg=172 ctermbg=None cterm=Bold
21+
hi Comment ctermfg=240 ctermbg=None cterm=None
22+
hi LineNr ctermfg=244 ctermbg=233 cterm=None
23+
hi NonText ctermfg=105 ctermbg=None cterm=Bold
24+
hi DiffText ctermfg=165 ctermbg=244 cterm=None
25+
hi Constant ctermfg=76 ctermbg=None cterm=None
26+
hi Todo ctermfg=162 ctermbg=None cterm=Bold
27+
hi Identifier ctermfg=142 ctermbg=None cterm=Bold
28+
hi Error ctermfg=None ctermbg=196 cterm=Bold
29+
hi Special ctermfg=172 ctermbg=None cterm=Bold
30+
hi Ignore ctermfg=221 ctermbg=None cterm=Bold
31+
hi Underline ctermfg=147 ctermbg=None cterm=Italic
32+
33+
hi FoldColumn ctermfg=132 ctermbg=None cterm=None
34+
hi Folded ctermfg=132 ctermbg=None cterm=Bold
35+
36+
hi Visual ctermfg=248 ctermbg=238 cterm=None
37+
38+
hi Pmenu ctermfg=62 ctermbg=233 cterm=None
39+
hi PmenuSel ctermfg=69 ctermbg=232 cterm=Bold
40+
hi PmenuSbar ctermfg=247 ctermbg=233 cterm=Bold
41+
hi PmenuThumb ctermfg=248 ctermbg=233 cterm=None
42+
43+
hi StatusLineNC ctermfg=248 ctermbg=239 cterm=None
44+
hi StatusLine ctermfg=39 ctermbg=239 cterm=None
45+
hi VertSplit ctermfg=239 ctermbg=239 cterm=None
46+
47+
hi TabLine ctermfg=245 ctermbg=239 cterm=None
48+
hi TabLineFill ctermfg=239 ctermbg=239
49+
hi TabLineSel ctermfg=104 ctermbg=236 cterm=Bold
50+
"vim: sw=4

colors/adaryn.vim

+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
" Vim color file
2+
" Maintainer: Glenn T. Norton <[email protected]>
3+
" Last Change: 2003-04-11
4+
5+
" adaryn - A color scheme named after my daughter, Adaryn. (A-da-rin)
6+
" I like deep, sharp colors and this scheme is inspired by
7+
" Bohdan Vlasyuk's darkblue.
8+
" The cterm background is black since the dark blue was just too light.
9+
" Also the cterm colors are very close to an old Borland C++ color setup.
10+
11+
set background=dark
12+
hi clear
13+
if exists("syntax_on")
14+
syntax reset
15+
endif
16+
17+
let colors_name = "adaryn"
18+
19+
hi Normal guifg=#fffff0 guibg=#00003F ctermfg=white ctermbg=Black
20+
hi ErrorMsg guifg=#ffffff guibg=#287eff ctermfg=white ctermbg=red
21+
hi Visual guifg=#8080ff guibg=fg gui=reverse ctermfg=blue ctermbg=fg cterm=reverse
22+
23+
hi VisualNOS guifg=#8080ff guibg=fg gui=reverse,underline ctermfg=lightblue ctermbg=fg cterm=reverse,underline
24+
25+
hi Todo guifg=#d14a14 guibg=#1248d1 ctermfg=red ctermbg=darkblue
26+
27+
hi Search guifg=#90fff0 guibg=#2050d0 ctermfg=white ctermbg=darkblue cterm=underline term=underline
28+
29+
hi IncSearch guifg=#b0ffff guibg=#2050d0 ctermfg=darkblue ctermbg=gray
30+
31+
hi SpecialKey guifg=cyan ctermfg=darkcyan
32+
hi Directory guifg=cyan ctermfg=cyan
33+
hi Title guifg=#BDD094 gui=none ctermfg=magenta cterm=bold
34+
hi WarningMsg guifg=red ctermfg=red
35+
hi WildMenu guifg=yellow guibg=black ctermfg=yellow ctermbg=black cterm=none term=none
36+
hi ModeMsg guifg=#22cce2 ctermfg=lightblue
37+
hi MoreMsg ctermfg=darkgreen ctermfg=darkgreen
38+
hi Question guifg=green gui=none ctermfg=green cterm=none
39+
hi NonText guifg=#0030ff ctermfg=darkblue
40+
41+
hi StatusLine guifg=blue guibg=darkgray gui=none ctermfg=blue ctermbg=gray term=none cterm=none
42+
43+
hi StatusLineNC guifg=black guibg=darkgray gui=none ctermfg=black ctermbg=gray term=none cterm=none
44+
45+
hi VertSplit guifg=black guibg=darkgray gui=none ctermfg=black ctermbg=gray term=none cterm=none
46+
47+
hi Folded guifg=#808080 guibg=#000040 ctermfg=darkgrey ctermbg=black cterm=bold term=bold
48+
49+
hi FoldColumn guifg=#808080 guibg=#000040 ctermfg=darkgrey ctermbg=black cterm=bold term=bold
50+
51+
hi LineNr guifg=#90f020 ctermfg=green cterm=none
52+
53+
hi DiffAdd guibg=darkblue ctermbg=darkblue term=none cterm=none
54+
hi DiffChange guibg=darkmagenta ctermbg=magenta cterm=none
55+
hi DiffDelete ctermfg=blue ctermbg=cyan gui=bold guifg=Blue guibg=DarkCyan
56+
hi DiffText cterm=bold ctermbg=red gui=bold guibg=Red
57+
58+
hi Cursor guifg=#000020 guibg=#ffaf38 ctermfg=bg ctermbg=brown
59+
hi lCursor guifg=#ffffff guibg=#000000 ctermfg=bg ctermbg=darkgreen
60+
61+
62+
hi Comment guifg=yellow ctermfg=Yellow
63+
hi Constant ctermfg=green guifg=green cterm=none
64+
hi Special ctermfg=White guifg=#FFFFFF cterm=none gui=none
65+
hi Identifier ctermfg=DarkRed guifg=#BDD094 cterm=none
66+
hi Statement ctermfg=LightCyan cterm=none guifg=#A9A900 gui=none
67+
hi PreProc ctermfg=DarkRed guifg=#ffffff gui=none cterm=none
68+
hi type ctermfg=LightCyan guifg=LightBlue gui=none cterm=none
69+
hi Underlined cterm=underline term=underline
70+
hi Ignore guifg=bg ctermfg=bg
71+
72+

colors/adrian.vim

+97
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
" Vim colorscheme file
2+
" Maintainer: Adrian Nagle <[email protected]>
3+
" Last Change: 2001-09-25 07:48:15 Mountain Daylight Time
4+
" URL: http://www.naglenet.org/vim/syntax/adrian.vim
5+
" MAIN URL: http://www.naglenet.org/vim
6+
7+
" This is my custom syntax file to override the defaults provided with Vim.
8+
" This file should be located in $HOME/vimfiles/colors.
9+
10+
" This file should automatically be sourced by $RUNTIMEPATH.
11+
12+
" NOTE(S):
13+
" *(1)
14+
" The color definitions assumes and is intended for a black or dark
15+
" background.
16+
17+
" *(2)
18+
" This file is specifically in Unix style EOL format so that I can simply
19+
" copy this file between Windows and Unix systems. VIM can source files in
20+
" with the UNIX EOL format (only <NL> instead of <CR><NR> for DOS) in any
21+
" operating system if the 'fileformats' is not empty and there is no <CR>
22+
" just before the <NL> on the first line. See ':help :source_crnl' and
23+
" ':help fileformats'.
24+
"
25+
" *(3)
26+
" Move this file to adrian.vim for vim6.0aw.
27+
"
28+
29+
30+
31+
hi clear
32+
set background=dark
33+
if exists("syntax_on")
34+
syntax reset
35+
endif
36+
let g:colors_name = "adrian"
37+
38+
" Normal is for the normal (unhighlighted) text and background.
39+
" NonText is below the last line (~ lines).
40+
highlight Normal guibg=Black guifg=Green
41+
highlight Cursor guibg=Grey70 guifg=White
42+
highlight NonText guibg=Grey80
43+
highlight StatusLine gui=bold guibg=DarkGrey guifg=Orange
44+
highlight StatusLineNC guibg=DarkGrey guifg=Orange
45+
46+
highlight Comment term=bold ctermfg=LightGrey guifg=#d1ddff
47+
highlight Constant term=underline ctermfg=White guifg=#ffa0a0
48+
"highlight Number term=underline ctermfg=Yellow guifg=Yellow
49+
highlight Identifier term=underline ctermfg=Cyan guifg=#40ffff
50+
highlight Statement term=bold ctermfg=Yellow gui=bold guifg=#ffff60
51+
highlight PreProc term=underline ctermfg=Blue guifg=#ff4500
52+
highlight Type term=underline ctermfg=DarkGrey gui=bold guifg=#7d96ff
53+
highlight Special term=bold ctermfg=Magenta guifg=Orange
54+
highlight Ignore ctermfg=black guifg=bg
55+
highlight Error ctermfg=White ctermbg=Red guifg=White guibg=Red
56+
highlight Todo ctermfg=Blue ctermbg=Yellow guifg=Blue guibg=Yellow
57+
58+
" Change the highlight of search matches (for use with :set hls).
59+
highlight Search ctermfg=Black ctermbg=Yellow guifg=Black guibg=Yellow
60+
61+
" Change the highlight of visual highlight.
62+
highlight Visual cterm=NONE ctermfg=Black ctermbg=LightGrey gui=NONE guifg=Black guibg=Grey70
63+
64+
highlight Float ctermfg=Blue guifg=#88AAEE
65+
highlight Exception ctermfg=Red ctermbg=White guifg=Red guibg=White
66+
highlight Typedef ctermfg=White ctermbg=Blue gui=bold guifg=White guibg=Blue
67+
highlight SpecialChar ctermfg=Black ctermbg=White guifg=Black guibg=White
68+
highlight Delimiter ctermfg=White ctermbg=Black guifg=White guibg=Black
69+
highlight SpecialComment ctermfg=Black ctermbg=Green guifg=Black guibg=Green
70+
71+
" Common groups that link to default highlighting.
72+
" You can specify other highlighting easily.
73+
highlight link String Constant
74+
highlight link Character Constant
75+
highlight link Number Constant
76+
highlight link Boolean Statement
77+
"highlight link Float Number
78+
highlight link Function Identifier
79+
highlight link Conditional Type
80+
highlight link Repeat Type
81+
highlight link Label Type
82+
highlight link Operator Type
83+
highlight link Keyword Type
84+
"highlight link Exception Type
85+
highlight link Include PreProc
86+
highlight link Define PreProc
87+
highlight link Macro PreProc
88+
highlight link PreCondit PreProc
89+
highlight link StorageClass Type
90+
highlight link Structure Type
91+
"highlight link Typedef Type
92+
"highlight link SpecialChar Special
93+
highlight link Tag Special
94+
"highlight link Delimiter Special
95+
"highlight link SpecialComment Special
96+
highlight link Debug Special
97+

0 commit comments

Comments
 (0)