Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- could not source "$VIM\vimrc"
- sourcing "$HOME\_vimrc"
- line 1: so \\nyprodfs01\profiles$\kharper\vimfiles\.vimrc
- line 1: sourcing "\\nyprodfs01\profiles$\kharper\vimfiles\.vimrc"
- line 1: "Pathogen setup
- line 2: execute pathogen#infect()
- Searching for "autoload/pathogen.vim" in "\\nyprodfs01\profiles$\kharper/vimfiles,C:\Program Files (x86)\Vim/vimfiles,C:\Program Files (x86)\Vim\vim74,C:\Program Files (x86)\Vim/vimfiles/after,\\nyprodfs01\profiles$\kharper/vimfiles/after"
- Searching for "\\nyprodfs01\profiles$\kharper/vimfiles\autoload/pathogen.vim"
- line 2: sourcing "\\nyprodfs01\profiles$\kharper\vimfiles\autoload\pathogen.vim"
- line 1: " pathogen.vim - path option manipulation
- line 2: " Maintainer: Tim Pope <http://tpo.pe/>
- line 3: " Version: 2.2
- line 4:
- line 5: " Install in ~/.vim/autoload (or ~\vimfiles\autoload).
- line 6: "
- line 7: " For management of individually installed plugins in ~/.vim/bundle (or
- line 8: " ~\vimfiles\bundle), adding `execute pathogen#infect()` to the top of your
- line 9: " .vimrc is the only other setup necessary.
- line 10: "
- line 11: " The API is documented inline below. For maximum ease of reading,
- line 12: " :set foldmethod=marker
- line 13:
- line 14: if exists("g:loaded_pathogen") || &cp
- line 15: finish
- line 16: endif
- line 17: let g:loaded_pathogen = 1
- line 18:
- line 19: function! s:warn(msg)
- line 24:
- line 25: " Point of entry for basic default usage. Give a relative path to invoke
- line 26: " pathogen#incubate() (defaults to "bundle/{}"), or an absolute path to invoke
- line 27: " pathogen#surround(). For backwards compatibility purposes, a full path that
- line 28: " does not end in {} or * is given to pathogen#runtime_prepend_subdirectories()
- line 29: " instead.
- line 30: function! pathogen#infect(...) abort " {{{1
- line 47:
- line 48: " Split a path into a list.
- line 49: function! pathogen#split(path) abort " {{{1
- line 54:
- line 55: " Convert a list to a path.
- line 56: function! pathogen#join(...) abort " {{{1
- line 81:
- line 82: " Convert a list to a path with escaped spaces for 'path', 'tag', etc.
- line 83: function! pathogen#legacyjoin(...) abort " {{{1
- line 86:
- line 87: " Remove duplicates from a list.
- line 88: function! pathogen#uniq(list) abort " {{{1
- line 104:
- line 105: " \ on Windows unless shellslash is set, / everywhere else.
- line 106: function! pathogen#separator() abort " {{{1
- line 109:
- line 110: " Convenience wrapper around glob() which returns a list.
- line 111: function! pathogen#glob(pattern) abort " {{{1
- line 115:
- line 116: " Like pathogen#glob(), only limit the results to directories.
- line 117: function! pathogen#glob_directories(pattern) abort " {{{1
- line 120:
- line 121: " Turn filetype detection off and back on again if it was already enabled.
- line 122: function! pathogen#cycle_filetype() " {{{1
- line 128:
- line 129: " Check if a bundle is disabled. A bundle is considered disabled if it ends
- line 130: " in a tilde or its basename or full name is included in the list
- line 131: " g:pathogen_disabled.
- line 132: function! pathogen#is_disabled(path) " {{{1
- line 142:
- line 143: " Prepend the given directory to the runtime path and append its corresponding
- line 144: " after directory. If the directory is already included, move it to the
- line 145: " outermost position. Wildcards are added as is. Ending a path in /{} causes
- line 146: " all subdirectories to be added (except those in g:pathogen_disabled).
- line 147: function! pathogen#surround(path) abort " {{{1
- line 164:
- line 165: " Prepend all subdirectories of path to the rtp, and append all 'after'
- line 166: " directories in those subdirectories. Deprecated.
- line 167: function! pathogen#runtime_prepend_subdirectories(path) " {{{1
- line 171:
- line 172: " For each directory in the runtime path, add a second entry with the given
- line 173: " argument appended. If the argument ends in '/{}', add a separate entry for
- line 174: " each subdirectory. The default argument is 'bundle/{}', which means that
- line 175: " .vim/bundle/*, $VIM/vimfiles/bundle/*, $VIMRUNTIME/bundle/*,
- line 176: " $VIM/vim/files/bundle/*/after, and .vim/bundle/*/after will be added (on
- line 177: " UNIX).
- line 178: function! pathogen#incubate(...) abort " {{{1
- line 204:
- line 205: " Deprecated alias for pathogen#incubate().
- line 206: function! pathogen#runtime_append_all_bundles(...) abort " {{{1
- line 214:
- line 215: let s:done_bundles = ''
- line 216: " }}}1
- line 217:
- line 218: " Invoke :helptags on all non-$VIM doc directories in runtimepath.
- line 219: function! pathogen#helptags() abort " {{{1
- line 229:
- line 230: command! -bar Helptags :call pathogen#helptags()
- line 231:
- line 232: " Execute the given command. This is basically a backdoor for --remote-expr.
- line 233: function! pathogen#execute(...) abort " {{{1
- line 239:
- line 240: " Like findfile(), but hardcoded to use the runtimepath.
- line 241: function! pathogen#runtime_findfile(file,count) abort "{{{1
- line 250:
- line 251: " Backport of fnameescape().
- line 252: function! pathogen#fnameescape(string) abort " {{{1
- line 261:
- line 262: if exists(':Vedit')
- line 263: finish
- line 264: endif
- line 265:
- line 266: let s:vopen_warning = 0
- line 267:
- line 268: function! s:find(count,cmd,file,lcd) " {{{1
- line 288:
- line 289: function! s:Findcomplete(A,L,P) " {{{1
- line 316:
- line 317: command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Ve :execute s:find(<count>,'edit<bang>',<q-args>,0)
- line 318: command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vedit :execute s:find(<count>,'edit<bang>',<q-args>,0)
- line 319: command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vopen :execute s:find(<count>,'edit<bang>',<q-args>,1)
- line 320: command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vsplit :execute s:find(<count>,'split',<q-args>,<bang>1)
- line 321: command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vvsplit :execute s:find(<count>,'vsplit',<q-args>,<bang>1)
- line 322: command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vtabedit :execute s:find(<count>,'tabedit',<q-args>,<bang>1)
- line 323: command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vpedit :execute s:find(<count>,'pedit',<q-args>,<bang>1)
- line 324: command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vread :execute s:find(<count>,'read',<q-args>,<bang>1)
- line 325:
- line 326: " vim:set et sw=2:
- finished sourcing \\nyprodfs01\profiles$\kharper\vimfiles\autoload\pathogen.vim
- continuing in \\nyprodfs01\profiles$\kharper\vimfiles\.vimrc
- calling function pathogen#infect()
- line 1: for path in a:0 ? reverse(copy(a:000)) : ['bundle/{}']
- line 2: if path =~# '^[^\\/]\+$'
- line 3: call s:warn('Change pathogen#infect('.string(path).') to pathogen#infect('.string(path.'/{}').')')
- line 4: call pathogen#incubate(path . '/{}')
- line 5: elseif path =~# '^[^\\/]\+[\\/]\%({}\|\*\)$'
- line 6: call pathogen#incubate(path)
- calling function pathogen#infect..pathogen#incubate('bundle/{}')
- line 1: let sep = pathogen#separator()
- calling function pathogen#infect..pathogen#incubate..pathogen#separator()
- line 1: return !exists("+shellslash") || &shellslash ? '/' : '\'
- function pathogen#infect..pathogen#incubate..pathogen#separator returning '\'
- continuing in function pathogen#infect..pathogen#incubate
- line 2: let name = a:0 ? a:1 : 'bundle/{}'
- line 3: if "\n".s:done_bundles =~# "\\M\n".name."\n"
- line 4: return ""
- line 5: endif
- line 6: let s:done_bundles .= name . "\n"
- line 7: let list = []
- line 8: for dir in pathogen#split(&rtp)
- calling function pathogen#infect..pathogen#incubate..pathogen#split('\\nyprodfs01\profiles$\kharper/vimfi...odfs01\profiles$\kharper/vimfiles/after')
- line 1: if type(a:path) == type([]) | return a:path | endif
- line 1: return a:path | endif
- line 1: endif
- line 2: let split = split(a:path,'\\\@<!\%(\\\\\)*\zs,')
- line 3: return map(split,'substitute(v:val,''\\\([\\,]\)'',''\1'',"g")')
- function pathogen#infect..pathogen#incubate..pathogen#split returning ['\nyprodfs01\profiles$\kharper/vimfi...dfs01\profiles$\kharper/vimfiles/after']
- continuing in function pathogen#infect..pathogen#incubate
- line 9: if dir =~# '\<after$'
- line 10: if name =~# '{}$'
- line 11: let list += filter(pathogen#glob_directories(substitute(dir,'after$',name[0:-3],'').'*'.sep.'after'), '!pathogen#is_disabled(v:val[0:-7])') + [dir]
- line 12: else
- line 13: let list += [dir, substitute(dir, 'after$', '', '') . name . sep . 'after']
- line 14: endif
- line 15: else
- line 16: if name =~# '{}$'
- line 17: let list += [dir] + filter(pathogen#glob_directories(dir.sep.name[0:-3].'*'), '!pathogen#is_disabled(v:val)')
- calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories('\nyprodfs01\profiles$\kharper/vimfiles\bundle/*')
- line 1: return filter(pathogen#glob(a:pattern),'isdirectory(v:val)')
- calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob('\nyprodfs01\profiles$\kharper/vimfiles\bundle/*')
- line 1: let files = split(glob(a:pattern),"\n")
- line 2: return map(files,'substitute(v:val,"[".pathogen#separator()."/]$","","")')
- function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob returning []
- continuing in function pathogen#infect..pathogen#incubate..pathogen#glob_directories
- function pathogen#infect..pathogen#incubate..pathogen#glob_directories returning []
- continuing in function pathogen#infect..pathogen#incubate
- line 18: else
- line 19: let list += [dir . sep . name, dir]
- line 20: endif
- line 21: endif
- line 22: endfor
- line 8: for dir in pathogen#split(&rtp)
- line 9: if dir =~# '\<after$'
- line 10: if name =~# '{}$'
- line 11: let list += filter(pathogen#glob_directories(substitute(dir,'after$',name[0:-3],'').'*'.sep.'after'), '!pathogen#is_disabled(v:val[0:-7])') + [dir]
- line 12: else
- line 13: let list += [dir, substitute(dir, 'after$', '', '') . name . sep . 'after']
- line 14: endif
- line 15: else
- line 16: if name =~# '{}$'
- line 17: let list += [dir] + filter(pathogen#glob_directories(dir.sep.name[0:-3].'*'), '!pathogen#is_disabled(v:val)')
- calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories('C:\Program Files (x86)\Vim/vimfiles\bundle/*')
- line 1: return filter(pathogen#glob(a:pattern),'isdirectory(v:val)')
- calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob('C:\Program Files (x86)\Vim/vimfiles\bundle/*')
- line 1: let files = split(glob(a:pattern),"\n")
- line 2: return map(files,'substitute(v:val,"[".pathogen#separator()."/]$","","")')
- function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob returning []
- continuing in function pathogen#infect..pathogen#incubate..pathogen#glob_directories
- function pathogen#infect..pathogen#incubate..pathogen#glob_directories returning []
- continuing in function pathogen#infect..pathogen#incubate
- line 18: else
- line 19: let list += [dir . sep . name, dir]
- line 20: endif
- line 21: endif
- line 22: endfor
- line 8: for dir in pathogen#split(&rtp)
- line 9: if dir =~# '\<after$'
- line 10: if name =~# '{}$'
- line 11: let list += filter(pathogen#glob_directories(substitute(dir,'after$',name[0:-3],'').'*'.sep.'after'), '!pathogen#is_disabled(v:val[0:-7])') + [dir]
- line 12: else
- line 13: let list += [dir, substitute(dir, 'after$', '', '') . name . sep . 'after']
- line 14: endif
- line 15: else
- line 16: if name =~# '{}$'
- line 17: let list += [dir] + filter(pathogen#glob_directories(dir.sep.name[0:-3].'*'), '!pathogen#is_disabled(v:val)')
- calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories('C:\Program Files (x86)\Vim\vim74\bundle/*')
- line 1: return filter(pathogen#glob(a:pattern),'isdirectory(v:val)')
- calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob('C:\Program Files (x86)\Vim\vim74\bundle/*')
- line 1: let files = split(glob(a:pattern),"\n")
- line 2: return map(files,'substitute(v:val,"[".pathogen#separator()."/]$","","")')
- function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob returning []
- continuing in function pathogen#infect..pathogen#incubate..pathogen#glob_directories
- function pathogen#infect..pathogen#incubate..pathogen#glob_directories returning []
- continuing in function pathogen#infect..pathogen#incubate
- line 18: else
- line 19: let list += [dir . sep . name, dir]
- line 20: endif
- line 21: endif
- line 22: endfor
- line 8: for dir in pathogen#split(&rtp)
- line 9: if dir =~# '\<after$'
- line 10: if name =~# '{}$'
- line 11: let list += filter(pathogen#glob_directories(substitute(dir,'after$',name[0:-3],'').'*'.sep.'after'), '!pathogen#is_disabled(v:val[0:-7])') + [dir]
- calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories('C:\Program Files (x86)\Vim/vimfiles/bundle/*\after')
- line 1: return filter(pathogen#glob(a:pattern),'isdirectory(v:val)')
- calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob('C:\Program Files (x86)\Vim/vimfiles/bundle/*\after')
- line 1: let files = split(glob(a:pattern),"\n")
- line 2: return map(files,'substitute(v:val,"[".pathogen#separator()."/]$","","")')
- function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob returning []
- continuing in function pathogen#infect..pathogen#incubate..pathogen#glob_directories
- function pathogen#infect..pathogen#incubate..pathogen#glob_directories returning []
- continuing in function pathogen#infect..pathogen#incubate
- line 12: else
- line 13: let list += [dir, substitute(dir, 'after$', '', '') . name . sep . 'after']
- line 14: endif
- line 15: else
- line 16: if name =~# '{}$'
- line 17: let list += [dir] + filter(pathogen#glob_directories(dir.sep.name[0:-3].'*'), '!pathogen#is_disabled(v:val)')
- line 18: else
- line 19: let list += [dir . sep . name, dir]
- line 20: endif
- line 21: endif
- line 22: endfor
- line 8: for dir in pathogen#split(&rtp)
- line 9: if dir =~# '\<after$'
- line 10: if name =~# '{}$'
- line 11: let list += filter(pathogen#glob_directories(substitute(dir,'after$',name[0:-3],'').'*'.sep.'after'), '!pathogen#is_disabled(v:val[0:-7])') + [dir]
- calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories('\nyprodfs01\profiles$\kharper/vimfiles/bundle/*\after')
- line 1: return filter(pathogen#glob(a:pattern),'isdirectory(v:val)')
- calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob('\nyprodfs01\profiles$\kharper/vimfiles/bundle/*\after')
- line 1: let files = split(glob(a:pattern),"\n")
- line 2: return map(files,'substitute(v:val,"[".pathogen#separator()."/]$","","")')
- function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob returning []
- continuing in function pathogen#infect..pathogen#incubate..pathogen#glob_directories
- function pathogen#infect..pathogen#incubate..pathogen#glob_directories returning []
- continuing in function pathogen#infect..pathogen#incubate
- line 12: else
- line 13: let list += [dir, substitute(dir, 'after$', '', '') . name . sep . 'after']
- line 14: endif
- line 15: else
- line 16: if name =~# '{}$'
- line 17: let list += [dir] + filter(pathogen#glob_directories(dir.sep.name[0:-3].'*'), '!pathogen#is_disabled(v:val)')
- line 18: else
- line 19: let list += [dir . sep . name, dir]
- line 20: endif
- line 21: endif
- line 22: endfor
- line 8: for dir in pathogen#split(&rtp)
- line 9: if dir =~# '\<after$'
- line 10: if name =~# '{}$'
- line 11: let list += filter(pathogen#glob_directories(substitute(dir,'after$',name[0:-3],'').'*'.sep.'after'), '!pathogen#is_disabled(v:val[0:-7])') + [dir]
- line 12: else
- line 13: let list += [dir, substitute(dir, 'after$', '', '') . name . sep . 'after']
- line 14: endif
- line 15: else
- line 16: if name =~# '{}$'
- line 17: let list += [dir] + filter(pathogen#glob_directories(dir.sep.name[0:-3].'*'), '!pathogen#is_disabled(v:val)')
- line 18: else
- line 19: let list += [dir . sep . name, dir]
- line 20: endif
- line 21: endif
- line 22: endfor
- line 23: let &rtp = pathogen#join(pathogen#uniq(list))
- calling function pathogen#infect..pathogen#incubate..pathogen#uniq(['\nyprodfs01\profiles$\kharper/vimfi...dfs01\profiles$\kharper/vimfiles/after'])
- line 1: let i = 0
- line 2: let seen = {}
- line 3: while i < len(a:list)
- line 4: if (a:list[i] ==# '' && exists('empty')) || has_key(seen,a:list[i])
- line 5: call remove(a:list,i)
- line 6: elseif a:list[i] ==# ''
- line 7: let i += 1
- line 8: let empty = 1
- line 9: else
- line 10: let seen[a:list[i]] = 1
- line 11: let i += 1
- line 12: endif
- line 13: endwhile
- line 3: while i < len(a:list)
- line 4: if (a:list[i] ==# '' && exists('empty')) || has_key(seen,a:list[i])
- line 5: call remove(a:list,i)
- line 6: elseif a:list[i] ==# ''
- line 7: let i += 1
- line 8: let empty = 1
- line 9: else
- line 10: let seen[a:list[i]] = 1
- line 11: let i += 1
- line 12: endif
- line 13: endwhile
- line 3: while i < len(a:list)
- line 4: if (a:list[i] ==# '' && exists('empty')) || has_key(seen,a:list[i])
- line 5: call remove(a:list,i)
- line 6: elseif a:list[i] ==# ''
- line 7: let i += 1
- line 8: let empty = 1
- line 9: else
- line 10: let seen[a:list[i]] = 1
- line 11: let i += 1
- line 12: endif
- line 13: endwhile
- line 3: while i < len(a:list)
- line 4: if (a:list[i] ==# '' && exists('empty')) || has_key(seen,a:list[i])
- line 5: call remove(a:list,i)
- line 6: elseif a:list[i] ==# ''
- line 7: let i += 1
- line 8: let empty = 1
- line 9: else
- line 10: let seen[a:list[i]] = 1
- line 11: let i += 1
- line 12: endif
- line 13: endwhile
- line 3: while i < len(a:list)
- line 4: if (a:list[i] ==# '' && exists('empty')) || has_key(seen,a:list[i])
- line 5: call remove(a:list,i)
- line 6: elseif a:list[i] ==# ''
- line 7: let i += 1
- line 8: let empty = 1
- line 9: else
- line 10: let seen[a:list[i]] = 1
- line 11: let i += 1
- line 12: endif
- line 13: endwhile
- line 3: while i < len(a:list)
- line 4: if (a:list[i] ==# '' && exists('empty')) || has_key(seen,a:list[i])
- line 5: call remove(a:list,i)
- line 6: elseif a:list[i] ==# ''
- line 7: let i += 1
- line 8: let empty = 1
- line 9: else
- line 10: let seen[a:list[i]] = 1
- line 11: let i += 1
- line 12: endif
- line 13: endwhile
- line 14: return a:list
- function pathogen#infect..pathogen#incubate..pathogen#uniq returning ['\nyprodfs01\profiles$\kharper/vimfi...dfs01\profiles$\kharper/vimfiles/after']
- continuing in function pathogen#infect..pathogen#incubate
- calling function pathogen#infect..pathogen#incubate..pathogen#join(['\nyprodfs01\profiles$\kharper/vimfi...dfs01\profiles$\kharper/vimfiles/after'])
- line 1: if type(a:1) == type(1) && a:1
- line 2: let i = 1
- line 3: let space = ' '
- line 4: else
- line 5: let i = 0
- line 6: let space = ''
- line 7: endif
- line 8: let path = ""
- line 9: while i < a:0
- line 10: if type(a:000[i]) == type([])
- line 11: let list = a:000[i]
- line 12: let j = 0
- line 13: while j < len(list)
- line 14: let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
- line 15: let path .= ',' . escaped
- line 16: let j += 1
- line 17: endwhile
- line 13: while j < len(list)
- line 14: let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
- line 15: let path .= ',' . escaped
- line 16: let j += 1
- line 17: endwhile
- line 13: while j < len(list)
- line 14: let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
- line 15: let path .= ',' . escaped
- line 16: let j += 1
- line 17: endwhile
- line 13: while j < len(list)
- line 14: let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
- line 15: let path .= ',' . escaped
- line 16: let j += 1
- line 17: endwhile
- line 13: while j < len(list)
- line 14: let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
- line 15: let path .= ',' . escaped
- line 16: let j += 1
- line 17: endwhile
- line 13: while j < len(list)
- line 14: let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
- line 15: let path .= ',' . escaped
- line 16: let j += 1
- line 17: endwhile
- line 18: else
- line 19: let path .= "," . a:000[i]
- line 20: endif
- line 21: let i += 1
- line 22: endwhile
- line 9: while i < a:0
- line 10: if type(a:000[i]) == type([])
- line 11: let list = a:000[i]
- line 12: let j = 0
- line 13: while j < len(list)
- line 14: let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
- line 15: let path .= ',' . escaped
- line 16: let j += 1
- line 17: endwhile
- line 18: else
- line 19: let path .= "," . a:000[i]
- line 20: endif
- line 21: let i += 1
- line 22: endwhile
- line 23: return substitute(path,'^,','','')
- function pathogen#infect..pathogen#incubate..pathogen#join returning '\nyprodfs01\profiles$\kharper/vimfil...odfs01\profiles$\kharper/vimfiles/after'
- continuing in function pathogen#infect..pathogen#incubate
- line 24: return 1
- function pathogen#infect..pathogen#incubate returning #1
- continuing in function pathogen#infect
- line 7: elseif path =~# '[\\/]\%({}\|\*\)$'
- line 8: call pathogen#surround(path)
- line 9: else
- line 10: call s:warn('Change pathogen#infect('.string(path).') to pathogen#infect('.string(path.'/{}').')')
- line 11: call pathogen#surround(path . '/{}')
- line 12: endif
- line 13: endfor
- line 1: for path in a:0 ? reverse(copy(a:000)) : ['bundle/{}']
- line 2: if path =~# '^[^\\/]\+$'
- line 3: call s:warn('Change pathogen#infect('.string(path).') to pathogen#infect('.string(path.'/{}').')')
- line 4: call pathogen#incubate(path . '/{}')
- line 5: elseif path =~# '^[^\\/]\+[\\/]\%({}\|\*\)$'
- line 6: call pathogen#incubate(path)
- line 7: elseif path =~# '[\\/]\%({}\|\*\)$'
- line 8: call pathogen#surround(path)
- line 9: else
- line 10: call s:warn('Change pathogen#infect('.string(path).') to pathogen#infect('.string(path.'/{}').')')
- line 11: call pathogen#surround(path . '/{}')
- line 12: endif
- line 13: endfor
- line 14: call pathogen#cycle_filetype()
- calling function pathogen#infect..pathogen#cycle_filetype()
- line 1: if exists('g:did_load_filetypes')
- line 2: filetype off
- line 3: filetype on
- line 4: endif
- function pathogen#infect..pathogen#cycle_filetype returning #0
- continuing in function pathogen#infect
- line 15: return ''
- function pathogen#infect returning ''
- continuing in \\nyprodfs01\profiles$\kharper\vimfiles\.vimrc
- line 2:
- line 3:
- line 4: "Change leader
- line 5: let mapleader = ","
- line 6:
- line 7: "Turn off beeping
- line 8: set noeb vb t_vb=
- line 9:
- line 10: "Allow edited hidden buffers
- line 11: set hidden
- line 12:
- line 13: "Indent settings
- line 14: set tabstop=4
- line 15: set shiftwidth=4
- line 16: set softtabstop=4
- line 17: set expandtab
- line 18:
- line 19: "Filetype specific settings
- line 20: autocmd FileType html setlocal ts=2 sts=2 sw=2
- line 21: autocmd FileType xml setlocal ts=2 sts=2 sw=2
- line 22: autocmd FileType ruby setlocal ts=2 sts=2 sw=2
- line 23: autocmd FileType eruby setlocal ts=2 sts=2 sw=2
- line 24: autocmd FileType sql setlocal noet
- line 25:
- line 26: "Set casing options
- line 27: set ignorecase
- line 28: set smartcase
- line 29:
- line 30: "Relative numbering
- line 31: set number
- line 32: set relativenumber
- line 33:
- line 34: function! NumberToggle()
- line 41:
- line 42: nnoremap <C-n> :call NumberToggle()<CR>
- line 43:
- line 44: "Colors
- line 45: colorscheme zenburn
- Searching for "colors/zenburn.vim" in "\nyprodfs01\profiles$\kharper/vimfiles,C:\Program Files (x86)\Vim/vimfiles,C:\Program Files (x86)\Vim\vim74,C:\Program Files (x86)\Vim/vimfiles/after,\nyprodfs01\profiles$\kharper/vimfiles/after"
- Searching for "\nyprodfs01\profiles$\kharper/vimfiles\colors/zenburn.vim"
- Searching for "C:\Program Files (x86)\Vim/vimfiles\colors/zenburn.vim"
- Searching for "C:\Program Files (x86)\Vim\vim74\colors/zenburn.vim"
- Searching for "C:\Program Files (x86)\Vim/vimfiles/after\colors/zenburn.vim"
- Searching for "\nyprodfs01\profiles$\kharper/vimfiles/after\colors/zenburn.vim"
- not found in 'runtimepath': "colors/zenburn.vim"
- Error detected while processing \\nyprodfs01\profiles$\kharper\vimfiles\.vimrc:
- line 45:
- E185: Cannot find color scheme 'zenburn'
- line 46:
- line 47: "Set up powerline
- line 48: set rtp+=/usr/local/lib/python2.7/site-packages/powerline/bindings/vim
- line 49:
- line 50: "Set gvim start size and font
- line 51: if has("gui_running")
- line 52: if has("win32")
- line 53: set guifont=Source_Code_Pro:h9:cANSI
- line 54: else
- line 55: set guifont=Source\ Code\ Pro\ Medium\ 9
- line 56: endif
- line 57:
- line 58: set clipboard=unnamed
- line 59:
- line 60: "Remove menu bar and toolbar
- line 61: set guioptions-=m
- line 62: set guioptions-=T
- line 63: endif
- line 64:
- line 65: "Windows specific settings
- line 66: if has("win32")
- line 67: "Set the shell to use powershell instead of cmd
- line 68: set shell=powershell.exe
- line 69: set shellcmdflag=-command
- line 70:
- line 71: if exists("&novsvim_useeditorindent")
- line 72: set novsvim_useeditorindent
- line 73: endif
- line 74: endif
- line 75:
- line 76: "Fold settings
- line 77: set foldmethod=indent
- line 78: set foldnestmax=2
- line 79: set foldlevel=1000
- line 80: nnoremap <space> za
- line 81: nnoremap zC zM
- line 82: nnoremap zO zR
- line 83:
- line 84: "Save fold settings on exit and reload on start
- line 85: au BufWinLeave * silent! mkview
- line 86: au BufWinEnter * silent! loadview
- line 87:
- line 88: "NERDTree settings
- line 89: let g:NERDTreeWinPos = "right"
- line 90: nnoremap <leader>. :NERDTree<CR>
- line 91: let NERDTreeIgnore = ['\.pyc$']
- line 92: autocmd vimenter * if !argc() | NERDTree | endif
- line 93:
- line 94: "Change CtrlP behavior
- line 95: let g:ctrlp_cmd = 'CtrlPMixed'
- line 96:
- line 97: "Buffer switching
- line 98: :nnoremap <C-b> :buffers<CR>:buffer<Space>
- line 99:
- line 100: "Open all buffers in tabs
- line 101: map <leader>bt :tab sball<CR>
- line 102:
- line 103: "Tab navigation
- line 104: map <C-H> :tabp<CR>
- line 105: map <C-L> :tabn<CR>
- line 106: map <C-T> :tabnew %<CR>
- line 107:
- line 108: "Fix weird inconsistency with Y
- line 109: map Y y$
- line 110:
- line 111: "Make K the opposite of J
- line 112: nmap K i<CR><esc>k$
- line 113:
- line 114: "Shift blocks without leaving visual mode
- line 115: vnoremap < <gv
- line 116: vnoremap > >gv
- finished sourcing \\nyprodfs01\profiles$\kharper\vimfiles\.vimrc
- continuing in \\nyprodfs01\profiles$\kharper\.vimrc
- finished sourcing $HOME\_vimrc
- Searching for "plugin/**/*.vim" in "\nyprodfs01\profiles$\kharper/vimfiles,C:\Program Files (x86)\Vim/vimfiles,C:\Program Files (x86)\Vim\vim74,C:\Program Files (x86)\Vim/vimfiles/after,\nyprodfs01\profiles$\kharper/vimfiles/after,/usr/local/lib/python2.7/site-packages/powerline/bindings/vim"
- Searching for "\nyprodfs01\profiles$\kharper/vimfiles\plugin/**/*.vim"
- Searching for "C:\Program Files (x86)\Vim/vimfiles\plugin/**/*.vim"
- Searching for "C:\Program Files (x86)\Vim\vim74\plugin/**/*.vim"
- sourcing "C:\Program Files (x86)\Vim\vim74\plugin\getscriptPlugin.vim"
- line 1: " ---------------------------------------------------------------------
- line 2: " getscriptPlugin.vim
- line 3: " Author:^ICharles E. Campbell
- line 4: " Date:^IJan 07, 2008
- line 5: " Installing:^I:help glvs-install
- line 6: " Usage:^I:help glvs
- line 7: "
- line 8: " GetLatestVimScripts: 642 1 :AutoInstall: getscript.vim
- line 9: "
- line 10: " (Rom 15:11 WEB) Again, "Praise the Lord, all you Gentiles! Let
- line 11: " all the peoples praise Him."
- line 12: " ---------------------------------------------------------------------
- line 13: " Initialization:^I{{{1
- line 14: " if you're sourcing this file, surely you can't be
- line 15: " expecting vim to be in its vi-compatible mode
- line 16: if &cp || exists("g:loaded_getscriptPlugin")
- line 17: if &verbose
- line 18: echo "GetLatestVimScripts is not vi-compatible; not loaded (you need to set nocp)"
- line 19: endif
- line 20: finish
- line 21: endif
- line 22: let g:loaded_getscriptPlugin = "v35"
- line 23: let s:keepcpo = &cpo
- line 24: set cpo&vim
- line 25:
- line 26: " ---------------------------------------------------------------------
- line 27: " Public Interface: {{{1
- line 28: com! -nargs=0 GetLatestVimScripts call getscript#GetLatestVimScripts()
- line 29: com! -nargs=0 GetScripts call getscript#GetLatestVimScripts()
- line 30: silent! com -nargs=0 GLVS call getscript#GetLatestVimScripts()
- line 31:
- line 32: " ---------------------------------------------------------------------
- line 33: " Restore Options: {{{1
- line 34: let &cpo= s:keepcpo
- line 35: unlet s:keepcpo
- line 36:
- line 37: " ---------------------------------------------------------------------
- line 38: " vim: ts=8 sts=2 fdm=marker nowrap
- finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\getscriptPlugin.vim
- sourcing "C:\Program Files (x86)\Vim\vim74\plugin\gzip.vim"
- line 1: " Vim plugin for editing compressed files.
- line 2: " Maintainer: Bram Moolenaar <[email protected]>
- line 3: " Last Change: 2010 Mar 10
- line 4:
- line 5: " Exit quickly when:
- line 6: " - this plugin was already loaded
- line 7: " - when 'compatible' is set
- line 8: " - some autocommands are already taking care of compressed files
- line 9: if exists("loaded_gzip") || &cp || exists("#BufReadPre#*.gz")
- line 10: finish
- line 11: endif
- line 12: let loaded_gzip = 1
- line 13:
- line 14: augroup gzip
- line 15: " Remove all gzip autocommands
- line 16: au!
- line 17:
- line 18: " Enable editing of gzipped files.
- line 19: " The functions are defined in autoload/gzip.vim.
- line 20: "
- line 21: " Set binary mode before reading the file.
- line 22: " Use "gzip -d", gunzip isn't always available.
- line 23: autocmd BufReadPre,FileReadPre^I*.gz,*.bz2,*.Z,*.lzma,*.xz setlocal bin
- line 24: autocmd BufReadPost,FileReadPost^I*.gz call gzip#read("gzip -dn")
- line 25: autocmd BufReadPost,FileReadPost^I*.bz2 call gzip#read("bzip2 -d")
- line 26: autocmd BufReadPost,FileReadPost^I*.Z call gzip#read("uncompress")
- line 27: autocmd BufReadPost,FileReadPost^I*.lzma call gzip#read("lzma -d")
- line 28: autocmd BufReadPost,FileReadPost^I*.xz call gzip#read("xz -d")
- line 29: autocmd BufWritePost,FileWritePost^I*.gz call gzip#write("gzip")
- line 30: autocmd BufWritePost,FileWritePost^I*.bz2 call gzip#write("bzip2")
- line 31: autocmd BufWritePost,FileWritePost^I*.Z call gzip#write("compress -f")
- line 32: autocmd BufWritePost,FileWritePost^I*.lzma call gzip#write("lzma -z")
- line 33: autocmd BufWritePost,FileWritePost^I*.xz call gzip#write("xz -z")
- line 34: autocmd FileAppendPre^I^I^I*.gz call gzip#appre("gzip -dn")
- line 35: autocmd FileAppendPre^I^I^I*.bz2 call gzip#appre("bzip2 -d")
- line 36: autocmd FileAppendPre^I^I^I*.Z call gzip#appre("uncompress")
- line 37: autocmd FileAppendPre^I^I^I*.lzma call gzip#appre("lzma -d")
- line 38: autocmd FileAppendPre^I^I^I*.xz call gzip#appre("xz -d")
- line 39: autocmd FileAppendPost^I^I*.gz call gzip#write("gzip")
- line 40: autocmd FileAppendPost^I^I*.bz2 call gzip#write("bzip2")
- line 41: autocmd FileAppendPost^I^I*.Z call gzip#write("compress -f")
- line 42: autocmd FileAppendPost^I^I*.lzma call gzip#write("lzma -z")
- line 43: autocmd FileAppendPost^I^I*.xz call gzip#write("xz -z")
- line 44: augroup END
- finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\gzip.vim
- sourcing "C:\Program Files (x86)\Vim\vim74\plugin\matchparen.vim"
- line 1: " Vim plugin for showing matching parens
- line 2: " Maintainer: Bram Moolenaar <[email protected]>
- line 3: " Last Change: 2013 May 08
- line 4:
- line 5: " Exit quickly when:
- line 6: " - this plugin was already loaded (or disabled)
- line 7: " - when 'compatible' is set
- line 8: " - the "CursorMoved" autocmd event is not available.
- line 9: if exists("g:loaded_matchparen") || &cp || !exists("##CursorMoved")
- line 10: finish
- line 11: endif
- line 12: let g:loaded_matchparen = 1
- line 13:
- line 14: if !exists("g:matchparen_timeout")
- line 15: let g:matchparen_timeout = 300
- line 16: endif
- line 17: if !exists("g:matchparen_insert_timeout")
- line 18: let g:matchparen_insert_timeout = 60
- line 19: endif
- line 20:
- line 21: augroup matchparen
- line 22: " Replace all matchparen autocommands
- line 23: autocmd! CursorMoved,CursorMovedI,WinEnter * call s:Highlight_Matching_Pair()
- line 24: if exists('##TextChanged')
- line 25: autocmd! TextChanged,TextChangedI * call s:Highlight_Matching_Pair()
- line 26: endif
- line 27: augroup END
- line 28:
- line 29: " Skip the rest if it was already done.
- line 30: if exists("*s:Highlight_Matching_Pair")
- line 31: finish
- line 32: endif
- line 33:
- line 34: let s:cpo_save = &cpo
- line 35: set cpo-=C
- line 36:
- line 37: " The function that is invoked (very often) to define a ":match" highlighting
- line 38: " for any matching paren.
- line 39: function! s:Highlight_Matching_Pair()
- line 160:
- line 161: " Define commands that will disable and enable the plugin.
- line 163: command! NoMatchParen windo 3match none | unlet! g:loaded_matchparen | au! matchparen
- line 164: command! DoMatchParen runtime plugin/matchparen.vim | windo doau CursorMoved
- line 165:
- line 166: let &cpo = s:cpo_save
- line 167: unlet s:cpo_save
- finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\matchparen.vim
- sourcing "C:\Program Files (x86)\Vim\vim74\plugin\netrwPlugin.vim"
- line 1: " netrwPlugin.vim: Handles file transfer and remote directory listing across a network
- line 2: " PLUGIN SECTION
- line 3: " Date:^I^IApr 30, 2013
- line 4: " Maintainer:^ICharles E Campbell <[email protected]>
- line 5: " GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
- line 6: " Copyright: Copyright (C) 1999-2012 Charles E. Campbell {{{1
- line 7: " Permission is hereby granted to use and distribute this code,
- line 8: " with or without modifications, provided that this copyright
- line 9: " notice is copied with it. Like anything else that's free,
- line 10: " netrw.vim, netrwPlugin.vim, and netrwSettings.vim are provided
- line 11: " *as is* and comes with no warranty of any kind, either
- line 12: " expressed or implied. By using this plugin, you agree that
- line 13: " in no event will the copyright holder be liable for any damages
- line 14: " resulting from the use of this software.
- line 15: "
- line 16: " But be doers of the Word, and not only hearers, deluding your own selves {{{1
- line 17: " (James 1:22 RSV)
- line 18: " =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- line 19: " Load Once: {{{1
- line 20: if &cp || exists("g:loaded_netrwPlugin")
- line 21: finish
- line 22: endif
- line 23: "DechoTabOn
- line 24: let g:loaded_netrwPlugin = "v149"
- line 25: if v:version < 702
- line 26: echohl WarningMsg | echo "***netrw*** you need vim version 7.2 for this version of netrw" | echohl None
- line 26: echo "***netrw*** you need vim version 7.2 for this version of netrw" | echohl None
- line 26: echohl None
- line 27: finish
- line 28: endif
- line 29: let s:keepcpo = &cpo
- line 30: set cpo&vim
- line 31: "DechoTabOn
- line 32:
- line 33: " ---------------------------------------------------------------------
- line 34: " Public Interface: {{{1
- line 35:
- line 36: " Local Browsing: {{{2
- line 37: augroup FileExplorer
- line 38: au!
- line 39: " SEE Benzinger problem...
- line 40: au BufEnter *^Isil! call s:LocalBrowse(expand("<amatch>"))
- line 41: au VimEnter *^Isil! call s:VimEnter(expand("<amatch>"))
- line 42: if has("win32") || has("win95") || has("win64") || has("win16")
- line 43: au BufEnter .* sil! call s:LocalBrowse(expand("<amatch>"))
- line 44: endif
- line 45: augroup END
- line 46:
- line 47: " Network Browsing Reading Writing: {{{2
- line 48: augroup Network
- line 49: au!
- line 50: au BufReadCmd file://*^I^I^I^I^I^I^I^I^Icall netrw#FileUrlRead(expand("<amatch>"))
- line 51: au BufReadCmd ftp://*,rcp://*,scp://*,http://*,https://*,dav://*,davs://*,rsync://*,sftp://*^Iexe "sil doau BufReadPre ".fnameescape(expand("<amatch>"))|call netrw#Nread(2,expand("<amatch>"))|exe "sil doau BufReadPost ".fnameescape(expand("<amatch>"))
- line 52: au FileReadCmd ftp://*,rcp://*,scp://*,http://*,https://*,dav://*,davs://*,rsync://*,sftp://*^Iexe "sil doau FileReadPre ".fnameescape(expand("<amatch>"))|call netrw#Nread(1,expand("<amatch>"))|exe "sil doau FileReadPost ".fnameescape(expand("<amatch>"))
- line 53: au BufWriteCmd ftp://*,rcp://*,scp://*,dav://*,davs://*,rsync://*,sftp://*^I^I^Iexe "sil doau BufWritePre ".fnameescape(expand("<amatch>"))|exe 'Nwrite '.fnameescape(expand("<amatch>"))|exe "sil doau BufWritePost ".fnameescape(expand("<amatch>"))
- line 54: au FileWriteCmd ftp://*,rcp://*,scp://*,dav://*,davs://*,rsync://*,sftp://*^I^I^Iexe "sil doau FileWritePre ".fnameescape(expand("<amatch>"))|exe "'[,']".'Nwrite '.fnameescape(expand("<amatch>"))|exe "sil doau FileWritePost ".fnameescape(expand("<amatch>"))
- line 55: try
- line 56: au SourceCmd ftp://*,rcp://*,scp://*,http://*,https://*,dav://*,davs://*,rsync://*,sftp://*^Iexe 'Nsource '.fnameescape(expand("<amatch>"))
- line 57: catch /^Vim\%((\a\+)\)\=:E216/
- line 58: au SourcePre ftp://*,rcp://*,scp://*,http://*,https://*,dav://*,davs://*,rsync://*,sftp://*^Iexe 'Nsource '.fnameescape(expand("<amatch>"))
- line 59: endtry
- line 60: augroup END
- line 61:
- line 62: " Commands: :Nread, :Nwrite, :NetUserPass {{{2
- line 63: com! -count=1 -nargs=*^INread^I^Icall netrw#NetrwSavePosn()<bar>call netrw#NetRead(<count>,<f-args>)<bar>call netrw#NetrwRestorePosn()
- line 64: com! -range=% -nargs=*^INwrite^I^Icall netrw#NetrwSavePosn()<bar><line1>,<line2>call netrw#NetWrite(<f-args>)<bar>call netrw#NetrwRestorePosn()
- line 65: com! -nargs=*^I^INetUserPass^Icall NetUserPass(<f-args>)
- line 66: com! -nargs=*^I Nsource^I^Icall netrw#NetrwSavePosn()<bar>call netrw#NetSource(<f-args>)<bar>call netrw#NetrwRestorePosn()
- line 67:
- line 68: " Commands: :Explore, :Sexplore, Hexplore, Vexplore {{{2
- line 69: com! -nargs=* -bar -bang -count=0 -complete=dir^IExplore^I^Icall netrw#Explore(<count>,0,0+<bang>0,<q-args>)
- line 70: com! -nargs=* -bar -bang -count=0 -complete=dir^ISexplore^Icall netrw#Explore(<count>,1,0+<bang>0,<q-args>)
- line 71: com! -nargs=* -bar -bang -count=0 -complete=dir^IHexplore^Icall netrw#Explore(<count>,1,2+<bang>0,<q-args>)
- line 72: com! -nargs=* -bar -bang -count=0 -complete=dir^IVexplore^Icall netrw#Explore(<count>,1,4+<bang>0,<q-args>)
- line 73: com! -nargs=* -bar -count=0 -complete=dir^ITexplore^Icall netrw#Explore(<count>,0,6 ,<q-args>)
- line 74: com! -nargs=* -bar -bang^I^I^INexplore^Icall netrw#Explore(-1,0,0,<q-args>)
- line 75: com! -nargs=* -bar -bang^I^I^IPexplore^Icall netrw#Explore(-2,0,0,<q-args>)
- line 76:
- line 77: " Commands: NetrwSettings {{{2
- line 78: com! -nargs=0^INetrwSettings^Icall netrwSettings#NetrwSettings()
- line 79: com! -bang^INetrwClean^Icall netrw#NetrwClean(<bang>0)
- line 80:
- line 81: " Maps:
- line 82: if !exists("g:netrw_nogx") && maparg('gx','n') == ""
- line 83: if !hasmapto('<Plug>NetrwBrowseX')
- line 84: nmap <unique> gx <Plug>NetrwBrowseX
- line 85: endif
- line 86: nno <silent> <Plug>NetrwBrowseX :call netrw#NetrwBrowseX(expand("<cWORD>"),0)<cr>
- line 87: endif
- line 88:
- line 89: " ---------------------------------------------------------------------
- line 90: " LocalBrowse: {{{2
- line 91: fun! s:LocalBrowse(dirname)
- line 116:
- line 117: " ---------------------------------------------------------------------
- line 118: " s:VimEnter: {{{2
- line 119: fun! s:VimEnter(dirname)
- line 127:
- line 128: " ---------------------------------------------------------------------
- line 129: " NetrwStatusLine: {{{1
- line 130: fun! NetrwStatusLine()
- line 141:
- line 142: " ------------------------------------------------------------------------
- line 143: " NetUserPass: set username and password for subsequent ftp transfer {{{1
- line 144: " Usage: :call NetUserPass()^I^I^I-- will prompt for userid and password
- line 145: "^I :call NetUserPass("uid")^I^I-- will prompt for password
- line 146: "^I :call NetUserPass("uid","password") -- sets global userid and password
- line 147: fun! NetUserPass(...)
- line 171:
- line 172: " ------------------------------------------------------------------------
- line 173: " Modelines And Restoration: {{{1
- line 174: let &cpo= s:keepcpo
- line 175: unlet s:keepcpo
- line 176: " vim:ts=8 fdm=marker
- finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\netrwPlugin.vim
- sourcing "C:\Program Files (x86)\Vim\vim74\plugin\rrhelper.vim"
- line 1: " Vim plugin with helper function(s) for --remote-wait
- line 2: " Maintainer: Flemming Madsen <[email protected]>
- line 3: " Last Change: 2008 May 29
- line 4:
- line 5: " Has this already been loaded?
- line 6: if exists("loaded_rrhelper") || !has("clientserver")
- line 7: finish
- line 8: endif
- line 9: let loaded_rrhelper = 1
- line 10:
- line 11: " Setup answers for a --remote-wait client who will assume
- line 12: " a SetupRemoteReplies() function in the command server
- line 13:
- line 14: function SetupRemoteReplies()
- line 41:
- line 42: function DoRemoteReply(id, cnt, group, file)
- line 47:
- line 48: " vim: set sw=2 sts=2 :
- finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\rrhelper.vim
- sourcing "C:\Program Files (x86)\Vim\vim74\plugin\spellfile.vim"
- line 1: " Vim plugin for downloading spell files
- line 2: " Maintainer: Bram Moolenaar <[email protected]>
- line 3: " Last Change: 2006 Feb 01
- line 4:
- line 5: " Exit quickly when:
- line 6: " - this plugin was already loaded
- line 7: " - when 'compatible' is set
- line 8: " - some autocommands are already taking care of spell files
- line 9: if exists("loaded_spellfile_plugin") || &cp || exists("#SpellFileMissing")
- line 10: finish
- line 11: endif
- line 12: let loaded_spellfile_plugin = 1
- line 13:
- line 14: " The function is in the autoload directory.
- line 15: autocmd SpellFileMissing * call spellfile#LoadFile(expand('<amatch>'))
- finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\spellfile.vim
- sourcing "C:\Program Files (x86)\Vim\vim74\plugin\tarPlugin.vim"
- line 1: " tarPlugin.vim -- a Vim plugin for browsing tarfiles
- line 2: " Original was copyright (c) 2002, Michael C. Toren <[email protected]>
- line 3: " Modified by Charles E. Campbell
- line 4: " Distributed under the GNU General Public License.
- line 5: "
- line 6: " Updates are available from <http://michael.toren.net/code/>. If you
- line 7: " find this script useful, or have suggestions for improvements, please
- line 8: " let me know.
- line 9: " Also look there for further comments and documentation.
- line 10: "
- line 11: " This part only sets the autocommands. The functions are in autoload/tar.vim.
- line 12: " ---------------------------------------------------------------------
- line 13: " Load Once: {{{1
- line 14: if &cp || exists("g:loaded_tarPlugin")
- line 15: finish
- line 16: endif
- line 17: let g:loaded_tarPlugin = "v29"
- line 18: let s:keepcpo = &cpo
- line 19: set cpo&vim
- line 20:
- line 21: " ---------------------------------------------------------------------
- line 22: " Public Interface: {{{1
- line 23: augroup tar
- line 24: au!
- line 25: au BufReadCmd tarfile::*^Icall tar#Read(expand("<amatch>"), 1)
- line 26: au FileReadCmd tarfile::*^Icall tar#Read(expand("<amatch>"), 0)
- line 27: au BufWriteCmd tarfile::*^Icall tar#Write(expand("<amatch>"))
- line 28: au FileWriteCmd tarfile::*^Icall tar#Write(expand("<amatch>"))
- line 29:
- line 30: if has("unix")
- line 31: au BufReadCmd tarfile::*/*^Icall tar#Read(expand("<amatch>"), 1)
- line 32: au FileReadCmd tarfile::*/*^Icall tar#Read(expand("<amatch>"), 0)
- line 33: au BufWriteCmd tarfile::*/*^Icall tar#Write(expand("<amatch>"))
- line 34: au FileWriteCmd tarfile::*/*^Icall tar#Write(expand("<amatch>"))
- line 35: endif
- line 36:
- line 37: au BufReadCmd *.tar.gz^I^Icall tar#Browse(expand("<amatch>"))
- line 38: au BufReadCmd *.tar^I^I^Icall tar#Browse(expand("<amatch>"))
- line 39: au BufReadCmd *.lrp^I^I^Icall tar#Browse(expand("<amatch>"))
- line 40: au BufReadCmd *.tar.bz2^I^Icall tar#Browse(expand("<amatch>"))
- line 41: au BufReadCmd *.tar.Z^I^Icall tar#Browse(expand("<amatch>"))
- line 42: au BufReadCmd *.tgz^I^I^Icall tar#Browse(expand("<amatch>"))
- line 43: au BufReadCmd *.tar.lzma^Icall tar#Browse(expand("<amatch>"))
- line 44: au BufReadCmd *.tar.xz^I^Icall tar#Browse(expand("<amatch>"))
- line 45: au BufReadCmd *.txz^I^I^Icall tar#Browse(expand("<amatch>"))
- line 46: augroup END
- line 47: com! -nargs=? -complete=file Vimuntar call tar#Vimuntar(<q-args>)
- line 48:
- line 49: " ---------------------------------------------------------------------
- line 50: " Restoration And Modelines: {{{1
- line 51: " vim: fdm=marker
- line 52: let &cpo= s:keepcpo
- line 53: unlet s:keepcpo
- finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\tarPlugin.vim
- sourcing "C:\Program Files (x86)\Vim\vim74\plugin\tohtml.vim"
- line 1: " Vim plugin for converting a syntax highlighted file to HTML.
- line 2: " Maintainer: Ben Fritz <[email protected]>
- line 3: " Last Change: 2013 Jul 08
- line 4: "
- line 5: " The core of the code is in $VIMRUNTIME/autoload/tohtml.vim and
- line 6: " $VIMRUNTIME/syntax/2html.vim
- line 7: "
- line 8: " TODO: {{{
- line 9: " * Options for generating the CSS in external style sheets. New :TOcss
- line 10: " command to convert the current color scheme into a (mostly) generic CSS
- line 11: " stylesheet which can be re-used. Alternate stylesheet support? Good start
- line 12: " by Erik Falor
- line 13: " ( https://groups.google.com/d/topic/vim_use/7XTmC4D22dU/discussion ).
- line 14: " * Add optional argument to :TOhtml command to specify mode (gui, cterm,
- line 15: " term) to use for the styling. Suggestion by "nacitar".
- line 16: " * Add way to override or specify which RGB colors map to the color numbers
- line 17: " in cterm. Get better defaults than just guessing? Suggestion by "nacitar".
- line 18: " * Disable filetype detection until after all processing is done.
- line 19: " * Add option for not generating the hyperlink on stuff that looks like a
- line 20: " URL? Or just color the link to fit with the colorscheme (and only special
- line 21: " when hovering)?
- line 22: " * Bug: Opera does not allow printing more than one page if uncopyable
- line 23: " regions is turned on. Possible solution: Add normal text line numbers with
- line 24: " display:none, set to display:inline for print style sheets, and hide
- line 25: " <input> elements for print, to allow Opera printing multiple pages (and
- line 26: " other uncopyable areas?). May need to make the new text invisible to IE
- line 27: " with conditional comments to prevent copying it, IE for some reason likes
- line 28: " to copy hidden text. Other browsers too?
- line 29: " * Bug: still a 1px gap throughout the fold column when html_prevent_copy is
- line 30: " "fn" in some browsers. Specifically, in Chromium on Ubuntu (but not Chrome
- line 31: " on Windows). Perhaps it is font related?
- line 32: " * Bug: still some gaps in the fold column when html_prevent_copy contains
- line 33: " 'd' and showing the whole diff (observed in multiple browsers). Only gaps
- line 34: " on diff lines though.
- line 35: " * Undercurl support via CSS3, with fallback to dotted or something:
- line 36: "^Ihttps://groups.google.com/d/topic/vim_use/BzXA6He1pHg/discussion
- line 37: " * Redo updates for modified default foldtext (v11) when/if the patch is
- line 38: " accepted to modify it.
- line 39: " * Test case +diff_one_file-dynamic_folds+expand_tabs-hover_unfold
- line 40: "^I^I+ignore_conceal-ignore_folding+no_foldcolumn+no_pre+no_progress
- line 41: "^I^I+number_lines-pre_wrap-use_css+use_xhtml+whole_filler.xhtml
- line 42: " does not show the whole diff filler as it is supposed to?
- line 43: " * Bug: when 'isprint' is wrong for the current encoding, will generate
- line 44: " invalid content. Can/should anything be done about this? Maybe a separate
- line 45: " plugin to correct 'isprint' based on encoding?
- line 46: " * Check to see if the windows-125\d encodings actually work in Unix without
- line 47: " the 8bit- prefix. Add prefix to autoload dictionaries for Unix if not.
- line 48: " * Font auto-detection similar to
- line 49: " http://www.vim.org/scripts/script.php?script_id=2384 but for a variety of
- line 50: " platforms.
- line 51: " * Error thrown when sourcing 2html.vim directly when plugins are not loaded.
- line 52: " * Pull in code from http://www.vim.org/scripts/script.php?script_id=3113 :
- line 53: "^I- listchars support
- line 54: "^I- full-line background highlight
- line 55: "^I- other?
- line 56: " * Make it so deleted lines in a diff don't create side-scrolling (get it
- line 57: " free with full-line background highlight above).
- line 58: " * Restore open/closed folds and cursor position after processing each file
- line 59: " with option not to restore for speed increase.
- line 60: " * Add extra meta info (generation time, etc.)?
- line 61: " * Tidy up so we can use strict doctype in even more situations
- line 62: " * Implementation detail: add threshold for writing the lines to the html
- line 63: " buffer before we're done (5000 or so lines should do it)
- line 64: " * TODO comments for code cleanup scattered throughout
- line 65: "}}}
- line 66:
- line 67: if exists('g:loaded_2html_plugin')
- line 68: finish
- line 69: endif
- line 70: let g:loaded_2html_plugin = 'vim7.4_v1'
- line 71:
- line 72: "
- line 73: " Changelog: {{{
- line 74: " 7.4_v1 (this version): Fix modeline mangling for new "Vim:" format, and
- line 75: "^I^I^I also for version-specific modelines like "vim>703:".
- line 76: "
- line 77: " 7.3 updates: {{{
- line 78: " 7.3_v14 (ad6996a23e3e): Allow suppressing line number anchors using
- line 79: "^I^I^I g:html_line_ids=0. Allow customizing
- line 80: "^I^I^I important IDs (like line IDs and fold IDs) using
- line 81: "^I^I^I g:html_id_expr evalutated when the buffer conversion
- line 82: "^I^I^I is started.
- line 83: " 7.3_v13 (2eb30f341e8d): Keep foldmethod at manual in the generated file and
- line 84: "^I^I^I insert modeline to set it to manual.
- line 85: "^I^I^I Fix bug: diff mode with 2 unsaved buffers creates a
- line 86: "^I^I^I duplicate of one buffer instead of including both.
- line 87: "^I^I^I Add anchors to each line so you can put '#L123'
- line 88: "^I^I^I or '#123' at the end of the URL to jump to line 123
- line 89: "^I^I^I (idea by Andy Spencer). Add javascript to open folds
- line 90: "^I^I^I to show the anchor being jumped to if it is hidden.
- line 91: "^I^I^I Fix XML validation error: &nsbp; not part of XML.
- line 92: "^I^I^I Allow TOhtml to chain together with other commands
- line 93: "^I^I^I using |.
- line 94: " 7.3_v12 (9910cbff5f16): Fix modeline mangling to also work for when multiple
- line 95: "^I^I^I highlight groups make up the start-of-modeline text.
- line 96: "^I^I^I Improve render time of page with uncopyable regions
- line 97: "^I^I^I by not using one-input-per-char. Change name of
- line 98: "^I^I^I uncopyable option from html_unselectable to
- line 99: "^I^I^I html_prevent_copy. Added html_no_invalid option and
- line 100: "^I^I^I default to inserting invalid markup for uncopyable
- line 101: "^I^I^I regions to prevent MS Word from pasting undeletable
- line 102: "^I^I^I <input> elements. Fix 'cpo' handling (Thilo Six).
- line 103: "^I^I 7.3_v12b1: Add html_unselectable option. Rework logic to
- line 104: "^I^I^I eliminate post-processing substitute commands in
- line 105: "^I^I^I favor of doing the work up front. Remove unnecessary
- line 106: "^I^I^I special treatment of 'LineNr' highlight group. Minor
- line 107: "^I^I^I speed improvements. Fix modeline mangling in
- line 108: "^I^I^I generated output so it works for text in the first
- line 109: "^I^I^I column. Fix missing line number and fold column in
- line 110: "^I^I^I diff filler lines. Fix that some fonts have a 1px
- line 111: "^I^I^I gap (using a dirty hack, improvements welcome). Add
- line 112: "^I^I^I "colorscheme" meta tag. Does NOT include support for
- line 113: "^I^I^I the new default foldtext added in v11, as the patch
- line 114: "^I^I^I adding it has not yet been included in Vim.
- line 115: " 7.3_v11 ( unreleased ): Support new default foldtext from patch by Christian
- line 116: "^I^I^I Brabandt in
- line 117: "^I^I^I http://groups.google.com/d/topic/vim_dev/B6FSGfq9VoI/discussion.
- line 118: "^I^I^I This patch has not yet been included in Vim, thus
- line 119: "^I^I^I these changes are removed in the next version.
- line 120: " 7.3_v10 (fd09a9c8468e): Fix error E684 when converting a range wholly inside
- line 121: "^I^I^I multiple nested folds with dynamic folding on.
- line 122: "^I^I^I Also fix problem with foldtext in this situation.
- line 123: " 7.3_v9 (0877b8d6370e): Add html_pre_wrap option active with html_use_css
- line 124: "^I^I^I and without html_no_pre, default value same as
- line 125: "^I^I^I 'wrap' option, (Andy Spencer). Don't use
- line 126: "^I^I^I 'fileencoding' for converted document encoding if
- line 127: "^I^I^I 'buftype' indicates a special buffer which isn't
- line 128: "^I^I^I written.
- line 129: " 7.3_v8 (85c5a72551e2): Add html_expand_tabs option to allow leaving tab
- line 130: "^I^I^I characters in generated output (Andy Spencer).
- line 131: "^I^I^I Escape text that looks like a modeline so Vim
- line 132: "^I^I^I doesn't use anything in the converted HTML as a
- line 133: "^I^I^I modeline. Bugfixes: Fix folding when a fold starts
- line 134: "^I^I^I before the conversion range. Remove fold column when
- line 135: "^I^I^I there are no folds.
- line 136: " 7.3_v7 (840c3cadb842): see betas released on vim_dev below:
- line 137: "^I^I 7.3_v7b3: Fixed bug, convert Unicode to UTF-8 all the way.
- line 138: "^I^I 7.3_v7b2: Remove automatic detection of encodings that are not
- line 139: "^I^I^I supported by all major browsers according to
- line 140: "^I^I^I http://wiki.whatwg.org/wiki/Web_Encodings and
- line 141: "^I^I^I convert to UTF-8 for all Unicode encodings. Make
- line 142: "^I^I^I HTML encoding to Vim encoding detection be
- line 143: "^I^I^I case-insensitive for built-in pairs.
- line 144: "^I^I 7.3_v7b1: Remove use of setwinvar() function which cannot be
- line 145: "^I^I^I called in restricted mode (Andy Spencer). Use
- line 146: "^I^I^I 'fencoding' instead of 'encoding' to determine by
- line 147: "^I^I^I charset, and make sure the 'fenc' of the generated
- line 148: "^I^I^I file matches its indicated charset. Add charsets for
- line 149: "^I^I^I all of Vim's natively supported encodings.
- line 150: " 7.3_v6 (0d3f0e3d289b): Really fix bug with 'nowrapscan', 'magic' and other
- line 151: "^I^I^I user settings interfering with diff mode generation,
- line 152: "^I^I^I trailing whitespace (e.g. line number column) when
- line 153: "^I^I^I using html_no_pre, and bugs when using
- line 154: "^I^I^I html_hover_unfold.
- line 155: " 7.3_v5 ( unreleased ): Fix bug with 'nowrapscan' and also with out-of-sync
- line 156: "^I^I^I folds in diff mode when first line was folded.
- line 157: " 7.3_v4 (7e008c174cc3): Bugfixes, especially for xhtml markup, and diff mode
- line 158: " 7.3_v3 (a29075150aee): Refactor option handling and make html_use_css
- line 159: "^I^I^I default to true when not set to anything. Use strict
- line 160: "^I^I^I doctypes where possible. Rename use_xhtml option to
- line 161: "^I^I^I html_use_xhtml for consistency. Use .xhtml extension
- line 162: "^I^I^I when using this option. Add meta tag for settings.
- line 163: " 7.3_v2 (80229a724a11): Fix syntax highlighting in diff mode to use both the
- line 164: "^I^I^I diff colors and the normal syntax colors
- line 165: " 7.3_v1 (e7751177126b): Add conceal support and meta tags in output
- line 166: " Pre-v1 baseline: Mercurial changeset 3c9324c0800e
- line 167: "}}}
- line 168: "}}}
- line 169:
- line 170: " Define the :TOhtml command when:
- line 171: " - 'compatible' is not set
- line 172: " - this plugin was not already loaded
- line 173: " - user commands are available. {{{
- line 174: if !&cp && !exists(":TOhtml") && has("user_commands")
- line 175: command -range=% -bar TOhtml :call tohtml#Convert2HTML(<line1>, <line2>)
- line 176: endif "}}}
- line 177:
- line 178: " Make sure any patches will probably use consistent indent
- line 179: " vim: ts=8 sw=2 sts=2 noet fdm=marker
- finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\tohtml.vim
- sourcing "C:\Program Files (x86)\Vim\vim74\plugin\vimballPlugin.vim"
- line 1: " vimballPlugin : construct a file containing both paths and files
- line 2: " Author: Charles E. Campbell, Jr.
- line 3: " Copyright: (c) 2004-2010 by Charles E. Campbell, Jr.
- line 4: " The VIM LICENSE applies to Vimball.vim, and Vimball.txt
- line 5: " (see |copyright|) except use "Vimball" instead of "Vim".
- line 6: " No warranty, express or implied.
- line 7: " *** *** Use At-Your-Own-Risk! *** ***
- line 8: "
- line 9: " (Rom 2:1 WEB) Therefore you are without excuse, O man, whoever you are who
- line 10: " judge. For in that which you judge another, you condemn yourself. For
- line 11: " you who judge practice the same things.
- line 12: " GetLatestVimScripts: 1502 1 :AutoInstall: vimball.vim
- line 13:
- line 14: " ---------------------------------------------------------------------
- line 15: " Load Once: {{{1
- line 16: if &cp || exists("g:loaded_vimballPlugin")
- line 17: finish
- line 18: endif
- line 19: let g:loaded_vimballPlugin = "v35"
- line 20: let s:keepcpo = &cpo
- line 21: set cpo&vim
- line 22:
- line 23: " ------------------------------------------------------------------------------
- line 24: " Public Interface: {{{1
- line 25: com! -ra -complete=file -na=+ -bang MkVimball^I^I^I^Icall vimball#MkVimball(<line1>,<line2>,<bang>0,<f-args>)
- line 26: com! -na=? -complete=dir UseVimball^I^I^I^I^I^Icall vimball#Vimball(1,<f-args>)
- line 27: com! -na=0 VimballList^I^I^I^I^I^Icall vimball#Vimball(0)
- line 28: com! -na=* -complete=dir RmVimball^I^I^I^I^I^I^Icall vimball#SaveSettings()|call vimball#RmVimball(<f-args>)|call vimball#RestoreSettings()
- line 29: au BufEnter *.vba,*.vba.gz,*.vba.bz2,*.vba.zip,*.vba.xz^Isetlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff != 'unix'|setlocal ma ff=unix noma|endif|call vimball#ShowMesg(0,"Source this file to extract it! (:so %)")
- line 30: au SourceCmd *.vba.gz,*.vba.bz2,*.vba.zip,*.vba.xz^I^I^Iif expand("%")!=expand("<afile>") | exe "1sp" fnameescape(expand("<afile>"))|endif|call vimball#Decompress(expand("<amatch>"))|so %|if expand("%")!=expand("<afile>")|close|endif
- line 31: au SourceCmd *.vba^I^I^I^I^I^I^I^I^I^I^Iif expand("%")!=expand("<afile>") | exe "1sp" fnameescape(expand("<afile>"))|call vimball#Vimball(1)|close|else|call vimball#Vimball(1)|endif
- line 32: au BufEnter *.vmb,*.vmb.gz,*.vmb.bz2,*.vmb.zip,*.vmb.xz^Isetlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff != 'unix'|setlocal ma ff=unix noma|endif|call vimball#ShowMesg(0,"Source this file to extract it! (:so %)")
- line 33: au SourceCmd *.vmb.gz,*.vmb.bz2,*.vmb.zip,*.vmb.xz^I^I^Iif expand("%")!=expand("<afile>") | exe "1sp" fnameescape(expand("<afile>"))|endif|call vimball#Decompress(expand("<amatch>"))|so %|if expand("%")!=expand("<afile>")|close|endif
- line 34: au SourceCmd *.vmb^I^I^I^I^I^I^I^I^I^I^Iif expand("%")!=expand("<afile>") | exe "1sp" fnameescape(expand("<afile>"))|call vimball#Vimball(1)|close|else|call vimball#Vimball(1)|endif
- line 35:
- line 36: " =====================================================================
- line 37: " Restoration And Modelines: {{{1
- line 38: " vim: fdm=marker
- line 39: let &cpo= s:keepcpo
- line 40: unlet s:keepcpo
- finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\vimballPlugin.vim
- sourcing "C:\Program Files (x86)\Vim\vim74\plugin\zipPlugin.vim"
- line 1: " zipPlugin.vim: Handles browsing zipfiles
- line 2: " PLUGIN PORTION
- line 3: " Date:^I^I^IJun 07, 2013
- line 4: " Maintainer:^ICharles E Campbell <[email protected]>
- line 5: " License:^I^IVim License (see vim's :help license)
- line 6: " Copyright: Copyright (C) 2005-2013 Charles E. Campbell {{{1
- line 7: " Permission is hereby granted to use and distribute this code,
- line 8: " with or without modifications, provided that this copyright
- line 9: " notice is copied with it. Like anything else that's free,
- line 10: " zipPlugin.vim is provided *as is* and comes with no warranty
- line 11: " of any kind, either expressed or implied. By using this
- line 12: " plugin, you agree that in no event will the copyright
- line 13: " holder be liable for any damages resulting from the use
- line 14: " of this software.
- line 15: "
- line 16: " (James 4:8 WEB) Draw near to God, and he will draw near to you.
- line 17: " Cleanse your hands, you sinners; and purify your hearts, you double-minded.
- line 18: " ---------------------------------------------------------------------
- line 19: " Load Once: {{{1
- line 20: if &cp || exists("g:loaded_zipPlugin")
- line 21: finish
- line 22: endif
- line 23: let g:loaded_zipPlugin = "v27"
- line 24: let s:keepcpo = &cpo
- line 25: set cpo&vim
- line 26:
- line 27: " ---------------------------------------------------------------------
- line 28: " Options: {{{1
- line 29: if !exists("g:zipPlugin_ext")
- line 30: let g:zipPlugin_ext= '*.zip,*.jar,*.xpi,*.ja,*.war,*.ear,*.celzip,*.oxt,*.kmz,*.wsz,*.xap,*.docx,*.docm,*.dotx,*.dotm,*.potx,*.potm,*.ppsx,*.ppsm,*.pptx,*.pptm,*.ppam,*.sldx,*.thmx,*.xlam,*.xlsx,*.xlsm,*.xlsb,*.xltx,*.xltm,*.xlam,*.crtx,*.vdw,*.glox,*.gcsx,*.gqsx'
- line 31: endif
- line 32:
- line 33: " ---------------------------------------------------------------------
- line 34: " Public Interface: {{{1
- line 35: augroup zip
- line 36: au!
- line 37: au BufReadCmd zipfile:*^Icall zip#Read(expand("<amatch>"), 1)
- line 38: au FileReadCmd zipfile:*^Icall zip#Read(expand("<amatch>"), 0)
- line 39: au BufWriteCmd zipfile:*^Icall zip#Write(expand("<amatch>"))
- line 40: au FileWriteCmd zipfile:*^Icall zip#Write(expand("<amatch>"))
- line 41:
- line 42: if has("unix")
- line 43: au BufReadCmd zipfile:*/*^Icall zip#Read(expand("<amatch>"), 1)
- line 44: au FileReadCmd zipfile:*/*^Icall zip#Read(expand("<amatch>"), 0)
- line 45: au BufWriteCmd zipfile:*/*^Icall zip#Write(expand("<amatch>"))
- line 46: au FileWriteCmd zipfile:*/*^Icall zip#Write(expand("<amatch>"))
- line 47: endif
- line 48:
- line 49: exe "au BufReadCmd ".g:zipPlugin_ext.' call zip#Browse(expand("<amatch>"))'
- line 49: au BufReadCmd *.zip,*.jar,*.xpi,*.ja,*.war,*.ear,*.celzip,*.oxt,*.kmz,*.wsz,*.xap,*.docx,*.docm,*.dotx,*.dotm,*.potx,*.potm,*.ppsx,*.ppsm,*.pptx,*.pptm,*.ppam,*.sldx,*.thmx,*.xlam,*.xlsx,*.xlsm,*.xlsb,*.xltx,*.xltm,*.xlam,*.crtx,*.vdw,*.glox,*.gcsx,*.gqsx call zip#Browse(expand("<amatch>"))
- line 50: augroup END
- line 51:
- line 52: " ---------------------------------------------------------------------
- line 53: " Restoration And Modelines: {{{1
- line 54: " vim: fdm=marker
- line 55: let &cpo= s:keepcpo
- line 56: unlet s:keepcpo
- finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\zipPlugin.vim
- Searching for "C:\Program Files (x86)\Vim/vimfiles/after\plugin/**/*.vim"
- Searching for "\nyprodfs01\profiles$\kharper/vimfiles/after\plugin/**/*.vim"
- Searching for "/usr/local/lib/python2.7/site-packages/powerline/bindings/vim\plugin/**/*.vim"
- Reading viminfo file "\\nyprodfs01\profiles$\kharper\_viminfo" info oldfiles
- Executing BufWinEnter Auto commands for "*"
- autocommand silent! loadview
- line 0: silent! loadview
- Error detected while processing BufWinEnter Auto commands for "*":
- E32: No file name
- Executing BufEnter Auto commands for "*"
- autocommand sil! call s:LocalBrowse(expand("<amatch>"))
- line 0: sil! call s:LocalBrowse(expand("<amatch>"))
- calling function <SNR>7_LocalBrowse('')
- line 1: " unfortunate interaction -- debugging calls can't be used here;
- line 2: " the BufEnter event causes triggering when attempts to write to
- line 3: " the DBG buffer are made.
- line 4: if !exists("s:vimentered")
- line 5: return
- function <SNR>7_LocalBrowse returning #0
- continuing in BufEnter Auto commands for "*"
- Executing VimEnter Auto commands for "*"
- autocommand if !argc() | NERDTree | endif
- line 0: if !argc() | NERDTree | endif
- line 0: NERDTree | endif
- Error detected while processing VimEnter Auto commands for "*":
- E492: Not an editor command: NERDTree | endif
- Executing VimEnter Auto commands for "*"
- autocommand sil! call s:VimEnter(expand("<amatch>"))
- line 0: sil! call s:VimEnter(expand("<amatch>"))
- Executing CursorMoved Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMoved Auto commands for "*"
- calling function pathogen#separator()
- line 1: return !exists("+shellslash") || &shellslash ? '/' : '\'
- function pathogen#separator returning '\'
- E10: \ should be followed by /, ? or &
- E121: Undefined variable: execute
- E15: Invalid expression: execute pathogen#separator()
- calling function pathogen#separator()
- line 1: return !exists("+shellslash") || &shellslash ? '/' : '\'
- function pathogen#separator returning '\'
- E10: \ should be followed by /, ? or &
- "autoload\pathogen.vim"
- "autoload\pathogen.vim" 326L, 12059C
- Reading viminfo file "\\nyprodfs01\profiles$\kharper\_viminfo" marks
- Executing BufEnter Auto commands for "*"
- autocommand sil! call s:LocalBrowse(expand("<amatch>"))
- line 0: sil! call s:LocalBrowse(expand("<amatch>"))
- calling function <SNR>7_LocalBrowse('//nyprodfs01/profiles$/kharper/vimfiles/autoload/pathogen.vim')
- line 1: " unfortunate interaction -- debugging calls can't be used here;
- line 2: " the BufEnter event causes triggering when attempts to write to
- line 3: " the DBG buffer are made.
- line 4: if !exists("s:vimentered")
- line 5: return
- function <SNR>7_LocalBrowse returning #0
- continuing in BufEnter Auto commands for "*"
- Executing BufWinEnter Auto commands for "*"
- autocommand silent! loadview
- line 0: silent! loadview
- line 0: could not source "C:\Program Files (x86)\Vim/vimfiles/view\~=+vimfiles=+autoload=+pathogen.vim="
- Executing TextChanged Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in TextChanged Auto commands for "*"
- Executing CursorMoved Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMoved Auto commands for "*"
- Executing CursorMoved Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMoved Auto commands for "*"
- Executing CursorMoved Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMoved Auto commands for "*"
- Executing CursorMoved Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMoved Auto commands for "*"
- Executing CursorMoved Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMoved Auto commands for "*"
- Executing CursorMoved Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMoved Auto commands for "*"
- Executing CursorMoved Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMoved Auto commands for "*"
- Executing CursorMoved Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMoved Auto commands for "*"
- /separator
- Executing CursorMoved Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMoved Auto commands for "*"
- Executing CursorMoved Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMoved Auto commands for "*"
- -- INSERT --
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMoved Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMoved Auto commands for "*"
- Executing TextChanged Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in TextChanged Auto commands for "*"
- -- INSERT --
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- -- INSERT --
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- -- INSERT --
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- -- INSERT --
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMovedI Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMovedI Auto commands for "*"
- Executing CursorMoved Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in CursorMoved Auto commands for "*"
- Executing TextChanged Auto commands for "*"
- autocommand call s:Highlight_Matching_Pair()
- line 0: call s:Highlight_Matching_Pair()
- calling function <SNR>6_Highlight_Matching_Pair()
- line 1: " Remove any previous match.
- line 2: if exists('w:paren_hl_on') && w:paren_hl_on
- line 3: 3match none
- line 4: let w:paren_hl_on = 0
- line 5: endif
- line 6:
- line 7: " Avoid that we remove the popup menu.
- line 8: " Return when there are no colors (looks like the cursor jumps).
- line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
- line 10: return
- line 11: endif
- line 12:
- line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
- line 14: let c_lnum = line('.')
- line 15: let c_col = col('.')
- line 16: let before = 0
- line 17:
- line 18: let c = getline(c_lnum)[c_col - 1]
- line 19: let plist = split(&matchpairs, '.\zs[:,]')
- line 20: let i = index(plist, c)
- line 21: if i < 0
- line 22: " not found, in Insert mode try character before the cursor
- line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
- line 24: let before = 1
- line 25: let c = getline(c_lnum)[c_col - 2]
- line 26: let i = index(plist, c)
- line 27: endif
- line 28: if i < 0
- line 29: " not found, nothing to do
- line 30: return
- function <SNR>6_Highlight_Matching_Pair returning #0
- continuing in TextChanged Auto commands for "*"
- "autoload\pathogen.vim"
- "autoload\pathogen.vim" 327L, 12074C written
- Executing BufWinLeave Auto commands for "*"
- autocommand silent! mkview
- line 0: silent! mkview
- Error detected while processing BufWinLeave Auto commands for "*":
- E739: Cannot create directory: C:\Program Files (x86)\Vim/vimfiles/view
- Error detected while processing BufWinLeave Auto commands for "*":
- E190: Cannot open "C:\Program Files (x86)\Vim/vimfiles/view\~=+vimfiles=+autoload=+pathogen.vim=" for writing
- Writing viminfo file "\\nyprodfs01\profiles$\kharper\_viminfo"
Advertisement
Add Comment
Please, Sign In to add comment