Guest User

Untitled

a guest
Oct 15th, 2013
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 119.42 KB | None | 0 0
  1.  
  2. could not source "$VIM\vimrc"
  3. sourcing "$HOME\_vimrc"
  4. line 1: so \\nyprodfs01\profiles$\kharper\vimfiles\.vimrc
  5. line 1: sourcing "\\nyprodfs01\profiles$\kharper\vimfiles\.vimrc"
  6. line 1: "Pathogen setup
  7. line 2: execute pathogen#infect()
  8. 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"
  9. Searching for "\\nyprodfs01\profiles$\kharper/vimfiles\autoload/pathogen.vim"
  10. line 2: sourcing "\\nyprodfs01\profiles$\kharper\vimfiles\autoload\pathogen.vim"
  11. line 1: " pathogen.vim - path option manipulation
  12. line 2: " Maintainer: Tim Pope <http://tpo.pe/>
  13. line 3: " Version: 2.2
  14. line 4:
  15. line 5: " Install in ~/.vim/autoload (or ~\vimfiles\autoload).
  16. line 6: "
  17. line 7: " For management of individually installed plugins in ~/.vim/bundle (or
  18. line 8: " ~\vimfiles\bundle), adding `execute pathogen#infect()` to the top of your
  19. line 9: " .vimrc is the only other setup necessary.
  20. line 10: "
  21. line 11: " The API is documented inline below. For maximum ease of reading,
  22. line 12: " :set foldmethod=marker
  23. line 13:
  24. line 14: if exists("g:loaded_pathogen") || &cp
  25. line 15: finish
  26. line 16: endif
  27. line 17: let g:loaded_pathogen = 1
  28. line 18:
  29. line 19: function! s:warn(msg)
  30. line 24:
  31. line 25: " Point of entry for basic default usage. Give a relative path to invoke
  32. line 26: " pathogen#incubate() (defaults to "bundle/{}"), or an absolute path to invoke
  33. line 27: " pathogen#surround(). For backwards compatibility purposes, a full path that
  34. line 28: " does not end in {} or * is given to pathogen#runtime_prepend_subdirectories()
  35. line 29: " instead.
  36. line 30: function! pathogen#infect(...) abort " {{{1
  37. line 47:
  38. line 48: " Split a path into a list.
  39. line 49: function! pathogen#split(path) abort " {{{1
  40. line 54:
  41. line 55: " Convert a list to a path.
  42. line 56: function! pathogen#join(...) abort " {{{1
  43. line 81:
  44. line 82: " Convert a list to a path with escaped spaces for 'path', 'tag', etc.
  45. line 83: function! pathogen#legacyjoin(...) abort " {{{1
  46. line 86:
  47. line 87: " Remove duplicates from a list.
  48. line 88: function! pathogen#uniq(list) abort " {{{1
  49. line 104:
  50. line 105: " \ on Windows unless shellslash is set, / everywhere else.
  51. line 106: function! pathogen#separator() abort " {{{1
  52. line 109:
  53. line 110: " Convenience wrapper around glob() which returns a list.
  54. line 111: function! pathogen#glob(pattern) abort " {{{1
  55. line 115:
  56. line 116: " Like pathogen#glob(), only limit the results to directories.
  57. line 117: function! pathogen#glob_directories(pattern) abort " {{{1
  58. line 120:
  59. line 121: " Turn filetype detection off and back on again if it was already enabled.
  60. line 122: function! pathogen#cycle_filetype() " {{{1
  61. line 128:
  62. line 129: " Check if a bundle is disabled. A bundle is considered disabled if it ends
  63. line 130: " in a tilde or its basename or full name is included in the list
  64. line 131: " g:pathogen_disabled.
  65. line 132: function! pathogen#is_disabled(path) " {{{1
  66. line 142:
  67. line 143: " Prepend the given directory to the runtime path and append its corresponding
  68. line 144: " after directory. If the directory is already included, move it to the
  69. line 145: " outermost position. Wildcards are added as is. Ending a path in /{} causes
  70. line 146: " all subdirectories to be added (except those in g:pathogen_disabled).
  71. line 147: function! pathogen#surround(path) abort " {{{1
  72. line 164:
  73. line 165: " Prepend all subdirectories of path to the rtp, and append all 'after'
  74. line 166: " directories in those subdirectories. Deprecated.
  75. line 167: function! pathogen#runtime_prepend_subdirectories(path) " {{{1
  76. line 171:
  77. line 172: " For each directory in the runtime path, add a second entry with the given
  78. line 173: " argument appended. If the argument ends in '/{}', add a separate entry for
  79. line 174: " each subdirectory. The default argument is 'bundle/{}', which means that
  80. line 175: " .vim/bundle/*, $VIM/vimfiles/bundle/*, $VIMRUNTIME/bundle/*,
  81. line 176: " $VIM/vim/files/bundle/*/after, and .vim/bundle/*/after will be added (on
  82. line 177: " UNIX).
  83. line 178: function! pathogen#incubate(...) abort " {{{1
  84. line 204:
  85. line 205: " Deprecated alias for pathogen#incubate().
  86. line 206: function! pathogen#runtime_append_all_bundles(...) abort " {{{1
  87. line 214:
  88. line 215: let s:done_bundles = ''
  89. line 216: " }}}1
  90. line 217:
  91. line 218: " Invoke :helptags on all non-$VIM doc directories in runtimepath.
  92. line 219: function! pathogen#helptags() abort " {{{1
  93. line 229:
  94. line 230: command! -bar Helptags :call pathogen#helptags()
  95. line 231:
  96. line 232: " Execute the given command. This is basically a backdoor for --remote-expr.
  97. line 233: function! pathogen#execute(...) abort " {{{1
  98. line 239:
  99. line 240: " Like findfile(), but hardcoded to use the runtimepath.
  100. line 241: function! pathogen#runtime_findfile(file,count) abort "{{{1
  101. line 250:
  102. line 251: " Backport of fnameescape().
  103. line 252: function! pathogen#fnameescape(string) abort " {{{1
  104. line 261:
  105. line 262: if exists(':Vedit')
  106. line 263: finish
  107. line 264: endif
  108. line 265:
  109. line 266: let s:vopen_warning = 0
  110. line 267:
  111. line 268: function! s:find(count,cmd,file,lcd) " {{{1
  112. line 288:
  113. line 289: function! s:Findcomplete(A,L,P) " {{{1
  114. line 316:
  115. line 317: command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Ve :execute s:find(<count>,'edit<bang>',<q-args>,0)
  116. line 318: command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vedit :execute s:find(<count>,'edit<bang>',<q-args>,0)
  117. line 319: command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vopen :execute s:find(<count>,'edit<bang>',<q-args>,1)
  118. line 320: command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vsplit :execute s:find(<count>,'split',<q-args>,<bang>1)
  119. line 321: command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vvsplit :execute s:find(<count>,'vsplit',<q-args>,<bang>1)
  120. line 322: command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vtabedit :execute s:find(<count>,'tabedit',<q-args>,<bang>1)
  121. line 323: command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vpedit :execute s:find(<count>,'pedit',<q-args>,<bang>1)
  122. line 324: command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vread :execute s:find(<count>,'read',<q-args>,<bang>1)
  123. line 325:
  124. line 326: " vim:set et sw=2:
  125. finished sourcing \\nyprodfs01\profiles$\kharper\vimfiles\autoload\pathogen.vim
  126. continuing in \\nyprodfs01\profiles$\kharper\vimfiles\.vimrc
  127. calling function pathogen#infect()
  128.  
  129. line 1: for path in a:0 ? reverse(copy(a:000)) : ['bundle/{}']
  130. line 2: if path =~# '^[^\\/]\+$'
  131. line 3: call s:warn('Change pathogen#infect('.string(path).') to pathogen#infect('.string(path.'/{}').')')
  132. line 4: call pathogen#incubate(path . '/{}')
  133. line 5: elseif path =~# '^[^\\/]\+[\\/]\%({}\|\*\)$'
  134. line 6: call pathogen#incubate(path)
  135. calling function pathogen#infect..pathogen#incubate('bundle/{}')
  136.  
  137. line 1: let sep = pathogen#separator()
  138. calling function pathogen#infect..pathogen#incubate..pathogen#separator()
  139.  
  140. line 1: return !exists("+shellslash") || &shellslash ? '/' : '\'
  141. function pathogen#infect..pathogen#incubate..pathogen#separator returning '\'
  142.  
  143. continuing in function pathogen#infect..pathogen#incubate
  144.  
  145. line 2: let name = a:0 ? a:1 : 'bundle/{}'
  146. line 3: if "\n".s:done_bundles =~# "\\M\n".name."\n"
  147. line 4: return ""
  148. line 5: endif
  149. line 6: let s:done_bundles .= name . "\n"
  150. line 7: let list = []
  151. line 8: for dir in pathogen#split(&rtp)
  152. calling function pathogen#infect..pathogen#incubate..pathogen#split('\\nyprodfs01\profiles$\kharper/vimfi...odfs01\profiles$\kharper/vimfiles/after')
  153.  
  154. line 1: if type(a:path) == type([]) | return a:path | endif
  155. line 1: return a:path | endif
  156. line 1: endif
  157. line 2: let split = split(a:path,'\\\@<!\%(\\\\\)*\zs,')
  158. line 3: return map(split,'substitute(v:val,''\\\([\\,]\)'',''\1'',"g")')
  159. function pathogen#infect..pathogen#incubate..pathogen#split returning ['\nyprodfs01\profiles$\kharper/vimfi...dfs01\profiles$\kharper/vimfiles/after']
  160.  
  161. continuing in function pathogen#infect..pathogen#incubate
  162.  
  163. line 9: if dir =~# '\<after$'
  164. line 10: if name =~# '{}$'
  165. line 11: let list += filter(pathogen#glob_directories(substitute(dir,'after$',name[0:-3],'').'*'.sep.'after'), '!pathogen#is_disabled(v:val[0:-7])') + [dir]
  166. line 12: else
  167. line 13: let list += [dir, substitute(dir, 'after$', '', '') . name . sep . 'after']
  168. line 14: endif
  169. line 15: else
  170. line 16: if name =~# '{}$'
  171. line 17: let list += [dir] + filter(pathogen#glob_directories(dir.sep.name[0:-3].'*'), '!pathogen#is_disabled(v:val)')
  172. calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories('\nyprodfs01\profiles$\kharper/vimfiles\bundle/*')
  173.  
  174. line 1: return filter(pathogen#glob(a:pattern),'isdirectory(v:val)')
  175. calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob('\nyprodfs01\profiles$\kharper/vimfiles\bundle/*')
  176.  
  177. line 1: let files = split(glob(a:pattern),"\n")
  178. line 2: return map(files,'substitute(v:val,"[".pathogen#separator()."/]$","","")')
  179. function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob returning []
  180.  
  181. continuing in function pathogen#infect..pathogen#incubate..pathogen#glob_directories
  182.  
  183. function pathogen#infect..pathogen#incubate..pathogen#glob_directories returning []
  184.  
  185. continuing in function pathogen#infect..pathogen#incubate
  186.  
  187. line 18: else
  188. line 19: let list += [dir . sep . name, dir]
  189. line 20: endif
  190. line 21: endif
  191. line 22: endfor
  192. line 8: for dir in pathogen#split(&rtp)
  193. line 9: if dir =~# '\<after$'
  194. line 10: if name =~# '{}$'
  195. line 11: let list += filter(pathogen#glob_directories(substitute(dir,'after$',name[0:-3],'').'*'.sep.'after'), '!pathogen#is_disabled(v:val[0:-7])') + [dir]
  196. line 12: else
  197. line 13: let list += [dir, substitute(dir, 'after$', '', '') . name . sep . 'after']
  198. line 14: endif
  199. line 15: else
  200. line 16: if name =~# '{}$'
  201. line 17: let list += [dir] + filter(pathogen#glob_directories(dir.sep.name[0:-3].'*'), '!pathogen#is_disabled(v:val)')
  202. calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories('C:\Program Files (x86)\Vim/vimfiles\bundle/*')
  203.  
  204. line 1: return filter(pathogen#glob(a:pattern),'isdirectory(v:val)')
  205. calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob('C:\Program Files (x86)\Vim/vimfiles\bundle/*')
  206.  
  207. line 1: let files = split(glob(a:pattern),"\n")
  208. line 2: return map(files,'substitute(v:val,"[".pathogen#separator()."/]$","","")')
  209. function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob returning []
  210.  
  211. continuing in function pathogen#infect..pathogen#incubate..pathogen#glob_directories
  212.  
  213. function pathogen#infect..pathogen#incubate..pathogen#glob_directories returning []
  214.  
  215. continuing in function pathogen#infect..pathogen#incubate
  216.  
  217. line 18: else
  218. line 19: let list += [dir . sep . name, dir]
  219. line 20: endif
  220. line 21: endif
  221. line 22: endfor
  222. line 8: for dir in pathogen#split(&rtp)
  223. line 9: if dir =~# '\<after$'
  224. line 10: if name =~# '{}$'
  225. line 11: let list += filter(pathogen#glob_directories(substitute(dir,'after$',name[0:-3],'').'*'.sep.'after'), '!pathogen#is_disabled(v:val[0:-7])') + [dir]
  226. line 12: else
  227. line 13: let list += [dir, substitute(dir, 'after$', '', '') . name . sep . 'after']
  228. line 14: endif
  229. line 15: else
  230. line 16: if name =~# '{}$'
  231. line 17: let list += [dir] + filter(pathogen#glob_directories(dir.sep.name[0:-3].'*'), '!pathogen#is_disabled(v:val)')
  232. calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories('C:\Program Files (x86)\Vim\vim74\bundle/*')
  233.  
  234. line 1: return filter(pathogen#glob(a:pattern),'isdirectory(v:val)')
  235. calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob('C:\Program Files (x86)\Vim\vim74\bundle/*')
  236.  
  237. line 1: let files = split(glob(a:pattern),"\n")
  238. line 2: return map(files,'substitute(v:val,"[".pathogen#separator()."/]$","","")')
  239. function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob returning []
  240.  
  241. continuing in function pathogen#infect..pathogen#incubate..pathogen#glob_directories
  242.  
  243. function pathogen#infect..pathogen#incubate..pathogen#glob_directories returning []
  244.  
  245. continuing in function pathogen#infect..pathogen#incubate
  246.  
  247. line 18: else
  248. line 19: let list += [dir . sep . name, dir]
  249. line 20: endif
  250. line 21: endif
  251. line 22: endfor
  252. line 8: for dir in pathogen#split(&rtp)
  253. line 9: if dir =~# '\<after$'
  254. line 10: if name =~# '{}$'
  255. line 11: let list += filter(pathogen#glob_directories(substitute(dir,'after$',name[0:-3],'').'*'.sep.'after'), '!pathogen#is_disabled(v:val[0:-7])') + [dir]
  256. calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories('C:\Program Files (x86)\Vim/vimfiles/bundle/*\after')
  257.  
  258. line 1: return filter(pathogen#glob(a:pattern),'isdirectory(v:val)')
  259. calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob('C:\Program Files (x86)\Vim/vimfiles/bundle/*\after')
  260.  
  261. line 1: let files = split(glob(a:pattern),"\n")
  262. line 2: return map(files,'substitute(v:val,"[".pathogen#separator()."/]$","","")')
  263. function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob returning []
  264.  
  265. continuing in function pathogen#infect..pathogen#incubate..pathogen#glob_directories
  266.  
  267. function pathogen#infect..pathogen#incubate..pathogen#glob_directories returning []
  268.  
  269. continuing in function pathogen#infect..pathogen#incubate
  270.  
  271. line 12: else
  272. line 13: let list += [dir, substitute(dir, 'after$', '', '') . name . sep . 'after']
  273. line 14: endif
  274. line 15: else
  275. line 16: if name =~# '{}$'
  276. line 17: let list += [dir] + filter(pathogen#glob_directories(dir.sep.name[0:-3].'*'), '!pathogen#is_disabled(v:val)')
  277. line 18: else
  278. line 19: let list += [dir . sep . name, dir]
  279. line 20: endif
  280. line 21: endif
  281. line 22: endfor
  282. line 8: for dir in pathogen#split(&rtp)
  283. line 9: if dir =~# '\<after$'
  284. line 10: if name =~# '{}$'
  285. line 11: let list += filter(pathogen#glob_directories(substitute(dir,'after$',name[0:-3],'').'*'.sep.'after'), '!pathogen#is_disabled(v:val[0:-7])') + [dir]
  286. calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories('\nyprodfs01\profiles$\kharper/vimfiles/bundle/*\after')
  287.  
  288. line 1: return filter(pathogen#glob(a:pattern),'isdirectory(v:val)')
  289. calling function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob('\nyprodfs01\profiles$\kharper/vimfiles/bundle/*\after')
  290.  
  291. line 1: let files = split(glob(a:pattern),"\n")
  292. line 2: return map(files,'substitute(v:val,"[".pathogen#separator()."/]$","","")')
  293. function pathogen#infect..pathogen#incubate..pathogen#glob_directories..pathogen#glob returning []
  294.  
  295. continuing in function pathogen#infect..pathogen#incubate..pathogen#glob_directories
  296.  
  297. function pathogen#infect..pathogen#incubate..pathogen#glob_directories returning []
  298.  
  299. continuing in function pathogen#infect..pathogen#incubate
  300.  
  301. line 12: else
  302. line 13: let list += [dir, substitute(dir, 'after$', '', '') . name . sep . 'after']
  303. line 14: endif
  304. line 15: else
  305. line 16: if name =~# '{}$'
  306. line 17: let list += [dir] + filter(pathogen#glob_directories(dir.sep.name[0:-3].'*'), '!pathogen#is_disabled(v:val)')
  307. line 18: else
  308. line 19: let list += [dir . sep . name, dir]
  309. line 20: endif
  310. line 21: endif
  311. line 22: endfor
  312. line 8: for dir in pathogen#split(&rtp)
  313. line 9: if dir =~# '\<after$'
  314. line 10: if name =~# '{}$'
  315. line 11: let list += filter(pathogen#glob_directories(substitute(dir,'after$',name[0:-3],'').'*'.sep.'after'), '!pathogen#is_disabled(v:val[0:-7])') + [dir]
  316. line 12: else
  317. line 13: let list += [dir, substitute(dir, 'after$', '', '') . name . sep . 'after']
  318. line 14: endif
  319. line 15: else
  320. line 16: if name =~# '{}$'
  321. line 17: let list += [dir] + filter(pathogen#glob_directories(dir.sep.name[0:-3].'*'), '!pathogen#is_disabled(v:val)')
  322. line 18: else
  323. line 19: let list += [dir . sep . name, dir]
  324. line 20: endif
  325. line 21: endif
  326. line 22: endfor
  327. line 23: let &rtp = pathogen#join(pathogen#uniq(list))
  328. calling function pathogen#infect..pathogen#incubate..pathogen#uniq(['\nyprodfs01\profiles$\kharper/vimfi...dfs01\profiles$\kharper/vimfiles/after'])
  329.  
  330. line 1: let i = 0
  331. line 2: let seen = {}
  332. line 3: while i < len(a:list)
  333. line 4: if (a:list[i] ==# '' && exists('empty')) || has_key(seen,a:list[i])
  334. line 5: call remove(a:list,i)
  335. line 6: elseif a:list[i] ==# ''
  336. line 7: let i += 1
  337. line 8: let empty = 1
  338. line 9: else
  339. line 10: let seen[a:list[i]] = 1
  340. line 11: let i += 1
  341. line 12: endif
  342. line 13: endwhile
  343. line 3: while i < len(a:list)
  344. line 4: if (a:list[i] ==# '' && exists('empty')) || has_key(seen,a:list[i])
  345. line 5: call remove(a:list,i)
  346. line 6: elseif a:list[i] ==# ''
  347. line 7: let i += 1
  348. line 8: let empty = 1
  349. line 9: else
  350. line 10: let seen[a:list[i]] = 1
  351. line 11: let i += 1
  352. line 12: endif
  353. line 13: endwhile
  354. line 3: while i < len(a:list)
  355. line 4: if (a:list[i] ==# '' && exists('empty')) || has_key(seen,a:list[i])
  356. line 5: call remove(a:list,i)
  357. line 6: elseif a:list[i] ==# ''
  358. line 7: let i += 1
  359. line 8: let empty = 1
  360. line 9: else
  361. line 10: let seen[a:list[i]] = 1
  362. line 11: let i += 1
  363. line 12: endif
  364. line 13: endwhile
  365. line 3: while i < len(a:list)
  366. line 4: if (a:list[i] ==# '' && exists('empty')) || has_key(seen,a:list[i])
  367. line 5: call remove(a:list,i)
  368. line 6: elseif a:list[i] ==# ''
  369. line 7: let i += 1
  370. line 8: let empty = 1
  371. line 9: else
  372. line 10: let seen[a:list[i]] = 1
  373. line 11: let i += 1
  374. line 12: endif
  375. line 13: endwhile
  376. line 3: while i < len(a:list)
  377. line 4: if (a:list[i] ==# '' && exists('empty')) || has_key(seen,a:list[i])
  378. line 5: call remove(a:list,i)
  379. line 6: elseif a:list[i] ==# ''
  380. line 7: let i += 1
  381. line 8: let empty = 1
  382. line 9: else
  383. line 10: let seen[a:list[i]] = 1
  384. line 11: let i += 1
  385. line 12: endif
  386. line 13: endwhile
  387. line 3: while i < len(a:list)
  388. line 4: if (a:list[i] ==# '' && exists('empty')) || has_key(seen,a:list[i])
  389. line 5: call remove(a:list,i)
  390. line 6: elseif a:list[i] ==# ''
  391. line 7: let i += 1
  392. line 8: let empty = 1
  393. line 9: else
  394. line 10: let seen[a:list[i]] = 1
  395. line 11: let i += 1
  396. line 12: endif
  397. line 13: endwhile
  398. line 14: return a:list
  399. function pathogen#infect..pathogen#incubate..pathogen#uniq returning ['\nyprodfs01\profiles$\kharper/vimfi...dfs01\profiles$\kharper/vimfiles/after']
  400.  
  401. continuing in function pathogen#infect..pathogen#incubate
  402.  
  403. calling function pathogen#infect..pathogen#incubate..pathogen#join(['\nyprodfs01\profiles$\kharper/vimfi...dfs01\profiles$\kharper/vimfiles/after'])
  404.  
  405. line 1: if type(a:1) == type(1) && a:1
  406. line 2: let i = 1
  407. line 3: let space = ' '
  408. line 4: else
  409. line 5: let i = 0
  410. line 6: let space = ''
  411. line 7: endif
  412. line 8: let path = ""
  413. line 9: while i < a:0
  414. line 10: if type(a:000[i]) == type([])
  415. line 11: let list = a:000[i]
  416. line 12: let j = 0
  417. line 13: while j < len(list)
  418. line 14: let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
  419. line 15: let path .= ',' . escaped
  420. line 16: let j += 1
  421. line 17: endwhile
  422. line 13: while j < len(list)
  423. line 14: let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
  424. line 15: let path .= ',' . escaped
  425. line 16: let j += 1
  426. line 17: endwhile
  427. line 13: while j < len(list)
  428. line 14: let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
  429. line 15: let path .= ',' . escaped
  430. line 16: let j += 1
  431. line 17: endwhile
  432. line 13: while j < len(list)
  433. line 14: let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
  434. line 15: let path .= ',' . escaped
  435. line 16: let j += 1
  436. line 17: endwhile
  437. line 13: while j < len(list)
  438. line 14: let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
  439. line 15: let path .= ',' . escaped
  440. line 16: let j += 1
  441. line 17: endwhile
  442. line 13: while j < len(list)
  443. line 14: let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
  444. line 15: let path .= ',' . escaped
  445. line 16: let j += 1
  446. line 17: endwhile
  447. line 18: else
  448. line 19: let path .= "," . a:000[i]
  449. line 20: endif
  450. line 21: let i += 1
  451. line 22: endwhile
  452. line 9: while i < a:0
  453. line 10: if type(a:000[i]) == type([])
  454. line 11: let list = a:000[i]
  455. line 12: let j = 0
  456. line 13: while j < len(list)
  457. line 14: let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
  458. line 15: let path .= ',' . escaped
  459. line 16: let j += 1
  460. line 17: endwhile
  461. line 18: else
  462. line 19: let path .= "," . a:000[i]
  463. line 20: endif
  464. line 21: let i += 1
  465. line 22: endwhile
  466. line 23: return substitute(path,'^,','','')
  467. function pathogen#infect..pathogen#incubate..pathogen#join returning '\nyprodfs01\profiles$\kharper/vimfil...odfs01\profiles$\kharper/vimfiles/after'
  468.  
  469. continuing in function pathogen#infect..pathogen#incubate
  470.  
  471. line 24: return 1
  472. function pathogen#infect..pathogen#incubate returning #1
  473.  
  474. continuing in function pathogen#infect
  475.  
  476. line 7: elseif path =~# '[\\/]\%({}\|\*\)$'
  477. line 8: call pathogen#surround(path)
  478. line 9: else
  479. line 10: call s:warn('Change pathogen#infect('.string(path).') to pathogen#infect('.string(path.'/{}').')')
  480. line 11: call pathogen#surround(path . '/{}')
  481. line 12: endif
  482. line 13: endfor
  483. line 1: for path in a:0 ? reverse(copy(a:000)) : ['bundle/{}']
  484. line 2: if path =~# '^[^\\/]\+$'
  485. line 3: call s:warn('Change pathogen#infect('.string(path).') to pathogen#infect('.string(path.'/{}').')')
  486. line 4: call pathogen#incubate(path . '/{}')
  487. line 5: elseif path =~# '^[^\\/]\+[\\/]\%({}\|\*\)$'
  488. line 6: call pathogen#incubate(path)
  489. line 7: elseif path =~# '[\\/]\%({}\|\*\)$'
  490. line 8: call pathogen#surround(path)
  491. line 9: else
  492. line 10: call s:warn('Change pathogen#infect('.string(path).') to pathogen#infect('.string(path.'/{}').')')
  493. line 11: call pathogen#surround(path . '/{}')
  494. line 12: endif
  495. line 13: endfor
  496. line 14: call pathogen#cycle_filetype()
  497. calling function pathogen#infect..pathogen#cycle_filetype()
  498.  
  499. line 1: if exists('g:did_load_filetypes')
  500. line 2: filetype off
  501. line 3: filetype on
  502. line 4: endif
  503. function pathogen#infect..pathogen#cycle_filetype returning #0
  504.  
  505. continuing in function pathogen#infect
  506.  
  507. line 15: return ''
  508. function pathogen#infect returning ''
  509.  
  510. continuing in \\nyprodfs01\profiles$\kharper\vimfiles\.vimrc
  511.  
  512. line 2:
  513. line 3:
  514. line 4: "Change leader
  515. line 5: let mapleader = ","
  516. line 6:
  517. line 7: "Turn off beeping
  518. line 8: set noeb vb t_vb=
  519. line 9:
  520. line 10: "Allow edited hidden buffers
  521. line 11: set hidden
  522. line 12:
  523. line 13: "Indent settings
  524. line 14: set tabstop=4
  525. line 15: set shiftwidth=4
  526. line 16: set softtabstop=4
  527. line 17: set expandtab
  528. line 18:
  529. line 19: "Filetype specific settings
  530. line 20: autocmd FileType html setlocal ts=2 sts=2 sw=2
  531. line 21: autocmd FileType xml setlocal ts=2 sts=2 sw=2
  532. line 22: autocmd FileType ruby setlocal ts=2 sts=2 sw=2
  533. line 23: autocmd FileType eruby setlocal ts=2 sts=2 sw=2
  534. line 24: autocmd FileType sql setlocal noet
  535. line 25:
  536. line 26: "Set casing options
  537. line 27: set ignorecase
  538. line 28: set smartcase
  539. line 29:
  540. line 30: "Relative numbering
  541. line 31: set number
  542. line 32: set relativenumber
  543. line 33:
  544. line 34: function! NumberToggle()
  545. line 41:
  546. line 42: nnoremap <C-n> :call NumberToggle()<CR>
  547. line 43:
  548. line 44: "Colors
  549. line 45: colorscheme zenburn
  550. 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"
  551. Searching for "\nyprodfs01\profiles$\kharper/vimfiles\colors/zenburn.vim"
  552. Searching for "C:\Program Files (x86)\Vim/vimfiles\colors/zenburn.vim"
  553. Searching for "C:\Program Files (x86)\Vim\vim74\colors/zenburn.vim"
  554. Searching for "C:\Program Files (x86)\Vim/vimfiles/after\colors/zenburn.vim"
  555. Searching for "\nyprodfs01\profiles$\kharper/vimfiles/after\colors/zenburn.vim"
  556. not found in 'runtimepath': "colors/zenburn.vim"
  557. Error detected while processing \\nyprodfs01\profiles$\kharper\vimfiles\.vimrc:
  558. line 45:
  559. E185: Cannot find color scheme 'zenburn'
  560. line 46:
  561. line 47: "Set up powerline
  562. line 48: set rtp+=/usr/local/lib/python2.7/site-packages/powerline/bindings/vim
  563. line 49:
  564. line 50: "Set gvim start size and font
  565. line 51: if has("gui_running")
  566. line 52: if has("win32")
  567. line 53: set guifont=Source_Code_Pro:h9:cANSI
  568. line 54: else
  569. line 55: set guifont=Source\ Code\ Pro\ Medium\ 9
  570. line 56: endif
  571. line 57:
  572. line 58: set clipboard=unnamed
  573. line 59:
  574. line 60: "Remove menu bar and toolbar
  575. line 61: set guioptions-=m
  576. line 62: set guioptions-=T
  577. line 63: endif
  578. line 64:
  579. line 65: "Windows specific settings
  580. line 66: if has("win32")
  581. line 67: "Set the shell to use powershell instead of cmd
  582. line 68: set shell=powershell.exe
  583. line 69: set shellcmdflag=-command
  584. line 70:
  585. line 71: if exists("&novsvim_useeditorindent")
  586. line 72: set novsvim_useeditorindent
  587. line 73: endif
  588. line 74: endif
  589. line 75:
  590. line 76: "Fold settings
  591. line 77: set foldmethod=indent
  592. line 78: set foldnestmax=2
  593. line 79: set foldlevel=1000
  594. line 80: nnoremap <space> za
  595. line 81: nnoremap zC zM
  596. line 82: nnoremap zO zR
  597. line 83:
  598. line 84: "Save fold settings on exit and reload on start
  599. line 85: au BufWinLeave * silent! mkview
  600. line 86: au BufWinEnter * silent! loadview
  601. line 87:
  602. line 88: "NERDTree settings
  603. line 89: let g:NERDTreeWinPos = "right"
  604. line 90: nnoremap <leader>. :NERDTree<CR>
  605. line 91: let NERDTreeIgnore = ['\.pyc$']
  606. line 92: autocmd vimenter * if !argc() | NERDTree | endif
  607. line 93:
  608. line 94: "Change CtrlP behavior
  609. line 95: let g:ctrlp_cmd = 'CtrlPMixed'
  610. line 96:
  611. line 97: "Buffer switching
  612. line 98: :nnoremap <C-b> :buffers<CR>:buffer<Space>
  613. line 99:
  614. line 100: "Open all buffers in tabs
  615. line 101: map <leader>bt :tab sball<CR>
  616. line 102:
  617. line 103: "Tab navigation
  618. line 104: map <C-H> :tabp<CR>
  619. line 105: map <C-L> :tabn<CR>
  620. line 106: map <C-T> :tabnew %<CR>
  621. line 107:
  622. line 108: "Fix weird inconsistency with Y
  623. line 109: map Y y$
  624. line 110:
  625. line 111: "Make K the opposite of J
  626. line 112: nmap K i<CR><esc>k$
  627. line 113:
  628. line 114: "Shift blocks without leaving visual mode
  629. line 115: vnoremap < <gv
  630. line 116: vnoremap > >gv
  631. finished sourcing \\nyprodfs01\profiles$\kharper\vimfiles\.vimrc
  632. continuing in \\nyprodfs01\profiles$\kharper\.vimrc
  633. finished sourcing $HOME\_vimrc
  634. 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"
  635. Searching for "\nyprodfs01\profiles$\kharper/vimfiles\plugin/**/*.vim"
  636. Searching for "C:\Program Files (x86)\Vim/vimfiles\plugin/**/*.vim"
  637. Searching for "C:\Program Files (x86)\Vim\vim74\plugin/**/*.vim"
  638. sourcing "C:\Program Files (x86)\Vim\vim74\plugin\getscriptPlugin.vim"
  639. line 1: " ---------------------------------------------------------------------
  640. line 2: " getscriptPlugin.vim
  641. line 3: " Author:^ICharles E. Campbell
  642. line 4: " Date:^IJan 07, 2008
  643. line 5: " Installing:^I:help glvs-install
  644. line 6: " Usage:^I:help glvs
  645. line 7: "
  646. line 8: " GetLatestVimScripts: 642 1 :AutoInstall: getscript.vim
  647. line 9: "
  648. line 10: " (Rom 15:11 WEB) Again, "Praise the Lord, all you Gentiles! Let
  649. line 11: " all the peoples praise Him."
  650. line 12: " ---------------------------------------------------------------------
  651. line 13: " Initialization:^I{{{1
  652. line 14: " if you're sourcing this file, surely you can't be
  653. line 15: " expecting vim to be in its vi-compatible mode
  654. line 16: if &cp || exists("g:loaded_getscriptPlugin")
  655. line 17: if &verbose
  656. line 18: echo "GetLatestVimScripts is not vi-compatible; not loaded (you need to set nocp)"
  657. line 19: endif
  658. line 20: finish
  659. line 21: endif
  660. line 22: let g:loaded_getscriptPlugin = "v35"
  661. line 23: let s:keepcpo = &cpo
  662. line 24: set cpo&vim
  663. line 25:
  664. line 26: " ---------------------------------------------------------------------
  665. line 27: " Public Interface: {{{1
  666. line 28: com! -nargs=0 GetLatestVimScripts call getscript#GetLatestVimScripts()
  667. line 29: com! -nargs=0 GetScripts call getscript#GetLatestVimScripts()
  668. line 30: silent! com -nargs=0 GLVS call getscript#GetLatestVimScripts()
  669. line 31:
  670. line 32: " ---------------------------------------------------------------------
  671. line 33: " Restore Options: {{{1
  672. line 34: let &cpo= s:keepcpo
  673. line 35: unlet s:keepcpo
  674. line 36:
  675. line 37: " ---------------------------------------------------------------------
  676. line 38: " vim: ts=8 sts=2 fdm=marker nowrap
  677. finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\getscriptPlugin.vim
  678. sourcing "C:\Program Files (x86)\Vim\vim74\plugin\gzip.vim"
  679. line 1: " Vim plugin for editing compressed files.
  680. line 2: " Maintainer: Bram Moolenaar <[email protected]>
  681. line 3: " Last Change: 2010 Mar 10
  682. line 4:
  683. line 5: " Exit quickly when:
  684. line 6: " - this plugin was already loaded
  685. line 7: " - when 'compatible' is set
  686. line 8: " - some autocommands are already taking care of compressed files
  687. line 9: if exists("loaded_gzip") || &cp || exists("#BufReadPre#*.gz")
  688. line 10: finish
  689. line 11: endif
  690. line 12: let loaded_gzip = 1
  691. line 13:
  692. line 14: augroup gzip
  693. line 15: " Remove all gzip autocommands
  694. line 16: au!
  695. line 17:
  696. line 18: " Enable editing of gzipped files.
  697. line 19: " The functions are defined in autoload/gzip.vim.
  698. line 20: "
  699. line 21: " Set binary mode before reading the file.
  700. line 22: " Use "gzip -d", gunzip isn't always available.
  701. line 23: autocmd BufReadPre,FileReadPre^I*.gz,*.bz2,*.Z,*.lzma,*.xz setlocal bin
  702. line 24: autocmd BufReadPost,FileReadPost^I*.gz call gzip#read("gzip -dn")
  703. line 25: autocmd BufReadPost,FileReadPost^I*.bz2 call gzip#read("bzip2 -d")
  704. line 26: autocmd BufReadPost,FileReadPost^I*.Z call gzip#read("uncompress")
  705. line 27: autocmd BufReadPost,FileReadPost^I*.lzma call gzip#read("lzma -d")
  706. line 28: autocmd BufReadPost,FileReadPost^I*.xz call gzip#read("xz -d")
  707. line 29: autocmd BufWritePost,FileWritePost^I*.gz call gzip#write("gzip")
  708. line 30: autocmd BufWritePost,FileWritePost^I*.bz2 call gzip#write("bzip2")
  709. line 31: autocmd BufWritePost,FileWritePost^I*.Z call gzip#write("compress -f")
  710. line 32: autocmd BufWritePost,FileWritePost^I*.lzma call gzip#write("lzma -z")
  711. line 33: autocmd BufWritePost,FileWritePost^I*.xz call gzip#write("xz -z")
  712. line 34: autocmd FileAppendPre^I^I^I*.gz call gzip#appre("gzip -dn")
  713. line 35: autocmd FileAppendPre^I^I^I*.bz2 call gzip#appre("bzip2 -d")
  714. line 36: autocmd FileAppendPre^I^I^I*.Z call gzip#appre("uncompress")
  715. line 37: autocmd FileAppendPre^I^I^I*.lzma call gzip#appre("lzma -d")
  716. line 38: autocmd FileAppendPre^I^I^I*.xz call gzip#appre("xz -d")
  717. line 39: autocmd FileAppendPost^I^I*.gz call gzip#write("gzip")
  718. line 40: autocmd FileAppendPost^I^I*.bz2 call gzip#write("bzip2")
  719. line 41: autocmd FileAppendPost^I^I*.Z call gzip#write("compress -f")
  720. line 42: autocmd FileAppendPost^I^I*.lzma call gzip#write("lzma -z")
  721. line 43: autocmd FileAppendPost^I^I*.xz call gzip#write("xz -z")
  722. line 44: augroup END
  723. finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\gzip.vim
  724. sourcing "C:\Program Files (x86)\Vim\vim74\plugin\matchparen.vim"
  725. line 1: " Vim plugin for showing matching parens
  726. line 2: " Maintainer: Bram Moolenaar <[email protected]>
  727. line 3: " Last Change: 2013 May 08
  728. line 4:
  729. line 5: " Exit quickly when:
  730. line 6: " - this plugin was already loaded (or disabled)
  731. line 7: " - when 'compatible' is set
  732. line 8: " - the "CursorMoved" autocmd event is not available.
  733. line 9: if exists("g:loaded_matchparen") || &cp || !exists("##CursorMoved")
  734. line 10: finish
  735. line 11: endif
  736. line 12: let g:loaded_matchparen = 1
  737. line 13:
  738. line 14: if !exists("g:matchparen_timeout")
  739. line 15: let g:matchparen_timeout = 300
  740. line 16: endif
  741. line 17: if !exists("g:matchparen_insert_timeout")
  742. line 18: let g:matchparen_insert_timeout = 60
  743. line 19: endif
  744. line 20:
  745. line 21: augroup matchparen
  746. line 22: " Replace all matchparen autocommands
  747. line 23: autocmd! CursorMoved,CursorMovedI,WinEnter * call s:Highlight_Matching_Pair()
  748. line 24: if exists('##TextChanged')
  749. line 25: autocmd! TextChanged,TextChangedI * call s:Highlight_Matching_Pair()
  750. line 26: endif
  751. line 27: augroup END
  752. line 28:
  753. line 29: " Skip the rest if it was already done.
  754. line 30: if exists("*s:Highlight_Matching_Pair")
  755. line 31: finish
  756. line 32: endif
  757. line 33:
  758. line 34: let s:cpo_save = &cpo
  759. line 35: set cpo-=C
  760. line 36:
  761. line 37: " The function that is invoked (very often) to define a ":match" highlighting
  762. line 38: " for any matching paren.
  763. line 39: function! s:Highlight_Matching_Pair()
  764. line 160:
  765. line 161: " Define commands that will disable and enable the plugin.
  766. line 163: command! NoMatchParen windo 3match none | unlet! g:loaded_matchparen | au! matchparen
  767. line 164: command! DoMatchParen runtime plugin/matchparen.vim | windo doau CursorMoved
  768. line 165:
  769. line 166: let &cpo = s:cpo_save
  770. line 167: unlet s:cpo_save
  771. finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\matchparen.vim
  772. sourcing "C:\Program Files (x86)\Vim\vim74\plugin\netrwPlugin.vim"
  773. line 1: " netrwPlugin.vim: Handles file transfer and remote directory listing across a network
  774. line 2: " PLUGIN SECTION
  775. line 3: " Date:^I^IApr 30, 2013
  776. line 4: " Maintainer:^ICharles E Campbell <[email protected]>
  777. line 5: " GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
  778. line 6: " Copyright: Copyright (C) 1999-2012 Charles E. Campbell {{{1
  779. line 7: " Permission is hereby granted to use and distribute this code,
  780. line 8: " with or without modifications, provided that this copyright
  781. line 9: " notice is copied with it. Like anything else that's free,
  782. line 10: " netrw.vim, netrwPlugin.vim, and netrwSettings.vim are provided
  783. line 11: " *as is* and comes with no warranty of any kind, either
  784. line 12: " expressed or implied. By using this plugin, you agree that
  785. line 13: " in no event will the copyright holder be liable for any damages
  786. line 14: " resulting from the use of this software.
  787. line 15: "
  788. line 16: " But be doers of the Word, and not only hearers, deluding your own selves {{{1
  789. line 17: " (James 1:22 RSV)
  790. line 18: " =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  791. line 19: " Load Once: {{{1
  792. line 20: if &cp || exists("g:loaded_netrwPlugin")
  793. line 21: finish
  794. line 22: endif
  795. line 23: "DechoTabOn
  796. line 24: let g:loaded_netrwPlugin = "v149"
  797. line 25: if v:version < 702
  798. line 26: echohl WarningMsg | echo "***netrw*** you need vim version 7.2 for this version of netrw" | echohl None
  799. line 26: echo "***netrw*** you need vim version 7.2 for this version of netrw" | echohl None
  800. line 26: echohl None
  801. line 27: finish
  802. line 28: endif
  803. line 29: let s:keepcpo = &cpo
  804. line 30: set cpo&vim
  805. line 31: "DechoTabOn
  806. line 32:
  807. line 33: " ---------------------------------------------------------------------
  808. line 34: " Public Interface: {{{1
  809. line 35:
  810. line 36: " Local Browsing: {{{2
  811. line 37: augroup FileExplorer
  812. line 38: au!
  813. line 39: " SEE Benzinger problem...
  814. line 40: au BufEnter *^Isil! call s:LocalBrowse(expand("<amatch>"))
  815. line 41: au VimEnter *^Isil! call s:VimEnter(expand("<amatch>"))
  816. line 42: if has("win32") || has("win95") || has("win64") || has("win16")
  817. line 43: au BufEnter .* sil! call s:LocalBrowse(expand("<amatch>"))
  818. line 44: endif
  819. line 45: augroup END
  820. line 46:
  821. line 47: " Network Browsing Reading Writing: {{{2
  822. line 48: augroup Network
  823. line 49: au!
  824. line 50: au BufReadCmd file://*^I^I^I^I^I^I^I^I^Icall netrw#FileUrlRead(expand("<amatch>"))
  825. 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>"))
  826. 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>"))
  827. 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>"))
  828. 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>"))
  829. line 55: try
  830. line 56: au SourceCmd ftp://*,rcp://*,scp://*,http://*,https://*,dav://*,davs://*,rsync://*,sftp://*^Iexe 'Nsource '.fnameescape(expand("<amatch>"))
  831. line 57: catch /^Vim\%((\a\+)\)\=:E216/
  832. line 58: au SourcePre ftp://*,rcp://*,scp://*,http://*,https://*,dav://*,davs://*,rsync://*,sftp://*^Iexe 'Nsource '.fnameescape(expand("<amatch>"))
  833. line 59: endtry
  834. line 60: augroup END
  835. line 61:
  836. line 62: " Commands: :Nread, :Nwrite, :NetUserPass {{{2
  837. line 63: com! -count=1 -nargs=*^INread^I^Icall netrw#NetrwSavePosn()<bar>call netrw#NetRead(<count>,<f-args>)<bar>call netrw#NetrwRestorePosn()
  838. line 64: com! -range=% -nargs=*^INwrite^I^Icall netrw#NetrwSavePosn()<bar><line1>,<line2>call netrw#NetWrite(<f-args>)<bar>call netrw#NetrwRestorePosn()
  839. line 65: com! -nargs=*^I^INetUserPass^Icall NetUserPass(<f-args>)
  840. line 66: com! -nargs=*^I Nsource^I^Icall netrw#NetrwSavePosn()<bar>call netrw#NetSource(<f-args>)<bar>call netrw#NetrwRestorePosn()
  841. line 67:
  842. line 68: " Commands: :Explore, :Sexplore, Hexplore, Vexplore {{{2
  843. line 69: com! -nargs=* -bar -bang -count=0 -complete=dir^IExplore^I^Icall netrw#Explore(<count>,0,0+<bang>0,<q-args>)
  844. line 70: com! -nargs=* -bar -bang -count=0 -complete=dir^ISexplore^Icall netrw#Explore(<count>,1,0+<bang>0,<q-args>)
  845. line 71: com! -nargs=* -bar -bang -count=0 -complete=dir^IHexplore^Icall netrw#Explore(<count>,1,2+<bang>0,<q-args>)
  846. line 72: com! -nargs=* -bar -bang -count=0 -complete=dir^IVexplore^Icall netrw#Explore(<count>,1,4+<bang>0,<q-args>)
  847. line 73: com! -nargs=* -bar -count=0 -complete=dir^ITexplore^Icall netrw#Explore(<count>,0,6 ,<q-args>)
  848. line 74: com! -nargs=* -bar -bang^I^I^INexplore^Icall netrw#Explore(-1,0,0,<q-args>)
  849. line 75: com! -nargs=* -bar -bang^I^I^IPexplore^Icall netrw#Explore(-2,0,0,<q-args>)
  850. line 76:
  851. line 77: " Commands: NetrwSettings {{{2
  852. line 78: com! -nargs=0^INetrwSettings^Icall netrwSettings#NetrwSettings()
  853. line 79: com! -bang^INetrwClean^Icall netrw#NetrwClean(<bang>0)
  854. line 80:
  855. line 81: " Maps:
  856. line 82: if !exists("g:netrw_nogx") && maparg('gx','n') == ""
  857. line 83: if !hasmapto('<Plug>NetrwBrowseX')
  858. line 84: nmap <unique> gx <Plug>NetrwBrowseX
  859. line 85: endif
  860. line 86: nno <silent> <Plug>NetrwBrowseX :call netrw#NetrwBrowseX(expand("<cWORD>"),0)<cr>
  861. line 87: endif
  862. line 88:
  863. line 89: " ---------------------------------------------------------------------
  864. line 90: " LocalBrowse: {{{2
  865. line 91: fun! s:LocalBrowse(dirname)
  866. line 116:
  867. line 117: " ---------------------------------------------------------------------
  868. line 118: " s:VimEnter: {{{2
  869. line 119: fun! s:VimEnter(dirname)
  870. line 127:
  871. line 128: " ---------------------------------------------------------------------
  872. line 129: " NetrwStatusLine: {{{1
  873. line 130: fun! NetrwStatusLine()
  874. line 141:
  875. line 142: " ------------------------------------------------------------------------
  876. line 143: " NetUserPass: set username and password for subsequent ftp transfer {{{1
  877. line 144: " Usage: :call NetUserPass()^I^I^I-- will prompt for userid and password
  878. line 145: "^I :call NetUserPass("uid")^I^I-- will prompt for password
  879. line 146: "^I :call NetUserPass("uid","password") -- sets global userid and password
  880. line 147: fun! NetUserPass(...)
  881. line 171:
  882. line 172: " ------------------------------------------------------------------------
  883. line 173: " Modelines And Restoration: {{{1
  884. line 174: let &cpo= s:keepcpo
  885. line 175: unlet s:keepcpo
  886. line 176: " vim:ts=8 fdm=marker
  887. finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\netrwPlugin.vim
  888. sourcing "C:\Program Files (x86)\Vim\vim74\plugin\rrhelper.vim"
  889. line 1: " Vim plugin with helper function(s) for --remote-wait
  890. line 2: " Maintainer: Flemming Madsen <[email protected]>
  891. line 3: " Last Change: 2008 May 29
  892. line 4:
  893. line 5: " Has this already been loaded?
  894. line 6: if exists("loaded_rrhelper") || !has("clientserver")
  895. line 7: finish
  896. line 8: endif
  897. line 9: let loaded_rrhelper = 1
  898. line 10:
  899. line 11: " Setup answers for a --remote-wait client who will assume
  900. line 12: " a SetupRemoteReplies() function in the command server
  901. line 13:
  902. line 14: function SetupRemoteReplies()
  903. line 41:
  904. line 42: function DoRemoteReply(id, cnt, group, file)
  905. line 47:
  906. line 48: " vim: set sw=2 sts=2 :
  907. finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\rrhelper.vim
  908. sourcing "C:\Program Files (x86)\Vim\vim74\plugin\spellfile.vim"
  909. line 1: " Vim plugin for downloading spell files
  910. line 2: " Maintainer: Bram Moolenaar <[email protected]>
  911. line 3: " Last Change: 2006 Feb 01
  912. line 4:
  913. line 5: " Exit quickly when:
  914. line 6: " - this plugin was already loaded
  915. line 7: " - when 'compatible' is set
  916. line 8: " - some autocommands are already taking care of spell files
  917. line 9: if exists("loaded_spellfile_plugin") || &cp || exists("#SpellFileMissing")
  918. line 10: finish
  919. line 11: endif
  920. line 12: let loaded_spellfile_plugin = 1
  921. line 13:
  922. line 14: " The function is in the autoload directory.
  923. line 15: autocmd SpellFileMissing * call spellfile#LoadFile(expand('<amatch>'))
  924. finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\spellfile.vim
  925. sourcing "C:\Program Files (x86)\Vim\vim74\plugin\tarPlugin.vim"
  926. line 1: " tarPlugin.vim -- a Vim plugin for browsing tarfiles
  927. line 2: " Original was copyright (c) 2002, Michael C. Toren <[email protected]>
  928. line 3: " Modified by Charles E. Campbell
  929. line 4: " Distributed under the GNU General Public License.
  930. line 5: "
  931. line 6: " Updates are available from <http://michael.toren.net/code/>. If you
  932. line 7: " find this script useful, or have suggestions for improvements, please
  933. line 8: " let me know.
  934. line 9: " Also look there for further comments and documentation.
  935. line 10: "
  936. line 11: " This part only sets the autocommands. The functions are in autoload/tar.vim.
  937. line 12: " ---------------------------------------------------------------------
  938. line 13: " Load Once: {{{1
  939. line 14: if &cp || exists("g:loaded_tarPlugin")
  940. line 15: finish
  941. line 16: endif
  942. line 17: let g:loaded_tarPlugin = "v29"
  943. line 18: let s:keepcpo = &cpo
  944. line 19: set cpo&vim
  945. line 20:
  946. line 21: " ---------------------------------------------------------------------
  947. line 22: " Public Interface: {{{1
  948. line 23: augroup tar
  949. line 24: au!
  950. line 25: au BufReadCmd tarfile::*^Icall tar#Read(expand("<amatch>"), 1)
  951. line 26: au FileReadCmd tarfile::*^Icall tar#Read(expand("<amatch>"), 0)
  952. line 27: au BufWriteCmd tarfile::*^Icall tar#Write(expand("<amatch>"))
  953. line 28: au FileWriteCmd tarfile::*^Icall tar#Write(expand("<amatch>"))
  954. line 29:
  955. line 30: if has("unix")
  956. line 31: au BufReadCmd tarfile::*/*^Icall tar#Read(expand("<amatch>"), 1)
  957. line 32: au FileReadCmd tarfile::*/*^Icall tar#Read(expand("<amatch>"), 0)
  958. line 33: au BufWriteCmd tarfile::*/*^Icall tar#Write(expand("<amatch>"))
  959. line 34: au FileWriteCmd tarfile::*/*^Icall tar#Write(expand("<amatch>"))
  960. line 35: endif
  961. line 36:
  962. line 37: au BufReadCmd *.tar.gz^I^Icall tar#Browse(expand("<amatch>"))
  963. line 38: au BufReadCmd *.tar^I^I^Icall tar#Browse(expand("<amatch>"))
  964. line 39: au BufReadCmd *.lrp^I^I^Icall tar#Browse(expand("<amatch>"))
  965. line 40: au BufReadCmd *.tar.bz2^I^Icall tar#Browse(expand("<amatch>"))
  966. line 41: au BufReadCmd *.tar.Z^I^Icall tar#Browse(expand("<amatch>"))
  967. line 42: au BufReadCmd *.tgz^I^I^Icall tar#Browse(expand("<amatch>"))
  968. line 43: au BufReadCmd *.tar.lzma^Icall tar#Browse(expand("<amatch>"))
  969. line 44: au BufReadCmd *.tar.xz^I^Icall tar#Browse(expand("<amatch>"))
  970. line 45: au BufReadCmd *.txz^I^I^Icall tar#Browse(expand("<amatch>"))
  971. line 46: augroup END
  972. line 47: com! -nargs=? -complete=file Vimuntar call tar#Vimuntar(<q-args>)
  973. line 48:
  974. line 49: " ---------------------------------------------------------------------
  975. line 50: " Restoration And Modelines: {{{1
  976. line 51: " vim: fdm=marker
  977. line 52: let &cpo= s:keepcpo
  978. line 53: unlet s:keepcpo
  979. finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\tarPlugin.vim
  980. sourcing "C:\Program Files (x86)\Vim\vim74\plugin\tohtml.vim"
  981. line 1: " Vim plugin for converting a syntax highlighted file to HTML.
  982. line 2: " Maintainer: Ben Fritz <[email protected]>
  983. line 3: " Last Change: 2013 Jul 08
  984. line 4: "
  985. line 5: " The core of the code is in $VIMRUNTIME/autoload/tohtml.vim and
  986. line 6: " $VIMRUNTIME/syntax/2html.vim
  987. line 7: "
  988. line 8: " TODO: {{{
  989. line 9: " * Options for generating the CSS in external style sheets. New :TOcss
  990. line 10: " command to convert the current color scheme into a (mostly) generic CSS
  991. line 11: " stylesheet which can be re-used. Alternate stylesheet support? Good start
  992. line 12: " by Erik Falor
  993. line 13: " ( https://groups.google.com/d/topic/vim_use/7XTmC4D22dU/discussion ).
  994. line 14: " * Add optional argument to :TOhtml command to specify mode (gui, cterm,
  995. line 15: " term) to use for the styling. Suggestion by "nacitar".
  996. line 16: " * Add way to override or specify which RGB colors map to the color numbers
  997. line 17: " in cterm. Get better defaults than just guessing? Suggestion by "nacitar".
  998. line 18: " * Disable filetype detection until after all processing is done.
  999. line 19: " * Add option for not generating the hyperlink on stuff that looks like a
  1000. line 20: " URL? Or just color the link to fit with the colorscheme (and only special
  1001. line 21: " when hovering)?
  1002. line 22: " * Bug: Opera does not allow printing more than one page if uncopyable
  1003. line 23: " regions is turned on. Possible solution: Add normal text line numbers with
  1004. line 24: " display:none, set to display:inline for print style sheets, and hide
  1005. line 25: " <input> elements for print, to allow Opera printing multiple pages (and
  1006. line 26: " other uncopyable areas?). May need to make the new text invisible to IE
  1007. line 27: " with conditional comments to prevent copying it, IE for some reason likes
  1008. line 28: " to copy hidden text. Other browsers too?
  1009. line 29: " * Bug: still a 1px gap throughout the fold column when html_prevent_copy is
  1010. line 30: " "fn" in some browsers. Specifically, in Chromium on Ubuntu (but not Chrome
  1011. line 31: " on Windows). Perhaps it is font related?
  1012. line 32: " * Bug: still some gaps in the fold column when html_prevent_copy contains
  1013. line 33: " 'd' and showing the whole diff (observed in multiple browsers). Only gaps
  1014. line 34: " on diff lines though.
  1015. line 35: " * Undercurl support via CSS3, with fallback to dotted or something:
  1016. line 36: "^Ihttps://groups.google.com/d/topic/vim_use/BzXA6He1pHg/discussion
  1017. line 37: " * Redo updates for modified default foldtext (v11) when/if the patch is
  1018. line 38: " accepted to modify it.
  1019. line 39: " * Test case +diff_one_file-dynamic_folds+expand_tabs-hover_unfold
  1020. line 40: "^I^I+ignore_conceal-ignore_folding+no_foldcolumn+no_pre+no_progress
  1021. line 41: "^I^I+number_lines-pre_wrap-use_css+use_xhtml+whole_filler.xhtml
  1022. line 42: " does not show the whole diff filler as it is supposed to?
  1023. line 43: " * Bug: when 'isprint' is wrong for the current encoding, will generate
  1024. line 44: " invalid content. Can/should anything be done about this? Maybe a separate
  1025. line 45: " plugin to correct 'isprint' based on encoding?
  1026. line 46: " * Check to see if the windows-125\d encodings actually work in Unix without
  1027. line 47: " the 8bit- prefix. Add prefix to autoload dictionaries for Unix if not.
  1028. line 48: " * Font auto-detection similar to
  1029. line 49: " http://www.vim.org/scripts/script.php?script_id=2384 but for a variety of
  1030. line 50: " platforms.
  1031. line 51: " * Error thrown when sourcing 2html.vim directly when plugins are not loaded.
  1032. line 52: " * Pull in code from http://www.vim.org/scripts/script.php?script_id=3113 :
  1033. line 53: "^I- listchars support
  1034. line 54: "^I- full-line background highlight
  1035. line 55: "^I- other?
  1036. line 56: " * Make it so deleted lines in a diff don't create side-scrolling (get it
  1037. line 57: " free with full-line background highlight above).
  1038. line 58: " * Restore open/closed folds and cursor position after processing each file
  1039. line 59: " with option not to restore for speed increase.
  1040. line 60: " * Add extra meta info (generation time, etc.)?
  1041. line 61: " * Tidy up so we can use strict doctype in even more situations
  1042. line 62: " * Implementation detail: add threshold for writing the lines to the html
  1043. line 63: " buffer before we're done (5000 or so lines should do it)
  1044. line 64: " * TODO comments for code cleanup scattered throughout
  1045. line 65: "}}}
  1046. line 66:
  1047. line 67: if exists('g:loaded_2html_plugin')
  1048. line 68: finish
  1049. line 69: endif
  1050. line 70: let g:loaded_2html_plugin = 'vim7.4_v1'
  1051. line 71:
  1052. line 72: "
  1053. line 73: " Changelog: {{{
  1054. line 74: " 7.4_v1 (this version): Fix modeline mangling for new "Vim:" format, and
  1055. line 75: "^I^I^I also for version-specific modelines like "vim>703:".
  1056. line 76: "
  1057. line 77: " 7.3 updates: {{{
  1058. line 78: " 7.3_v14 (ad6996a23e3e): Allow suppressing line number anchors using
  1059. line 79: "^I^I^I g:html_line_ids=0. Allow customizing
  1060. line 80: "^I^I^I important IDs (like line IDs and fold IDs) using
  1061. line 81: "^I^I^I g:html_id_expr evalutated when the buffer conversion
  1062. line 82: "^I^I^I is started.
  1063. line 83: " 7.3_v13 (2eb30f341e8d): Keep foldmethod at manual in the generated file and
  1064. line 84: "^I^I^I insert modeline to set it to manual.
  1065. line 85: "^I^I^I Fix bug: diff mode with 2 unsaved buffers creates a
  1066. line 86: "^I^I^I duplicate of one buffer instead of including both.
  1067. line 87: "^I^I^I Add anchors to each line so you can put '#L123'
  1068. line 88: "^I^I^I or '#123' at the end of the URL to jump to line 123
  1069. line 89: "^I^I^I (idea by Andy Spencer). Add javascript to open folds
  1070. line 90: "^I^I^I to show the anchor being jumped to if it is hidden.
  1071. line 91: "^I^I^I Fix XML validation error: &nsbp; not part of XML.
  1072. line 92: "^I^I^I Allow TOhtml to chain together with other commands
  1073. line 93: "^I^I^I using |.
  1074. line 94: " 7.3_v12 (9910cbff5f16): Fix modeline mangling to also work for when multiple
  1075. line 95: "^I^I^I highlight groups make up the start-of-modeline text.
  1076. line 96: "^I^I^I Improve render time of page with uncopyable regions
  1077. line 97: "^I^I^I by not using one-input-per-char. Change name of
  1078. line 98: "^I^I^I uncopyable option from html_unselectable to
  1079. line 99: "^I^I^I html_prevent_copy. Added html_no_invalid option and
  1080. line 100: "^I^I^I default to inserting invalid markup for uncopyable
  1081. line 101: "^I^I^I regions to prevent MS Word from pasting undeletable
  1082. line 102: "^I^I^I <input> elements. Fix 'cpo' handling (Thilo Six).
  1083. line 103: "^I^I 7.3_v12b1: Add html_unselectable option. Rework logic to
  1084. line 104: "^I^I^I eliminate post-processing substitute commands in
  1085. line 105: "^I^I^I favor of doing the work up front. Remove unnecessary
  1086. line 106: "^I^I^I special treatment of 'LineNr' highlight group. Minor
  1087. line 107: "^I^I^I speed improvements. Fix modeline mangling in
  1088. line 108: "^I^I^I generated output so it works for text in the first
  1089. line 109: "^I^I^I column. Fix missing line number and fold column in
  1090. line 110: "^I^I^I diff filler lines. Fix that some fonts have a 1px
  1091. line 111: "^I^I^I gap (using a dirty hack, improvements welcome). Add
  1092. line 112: "^I^I^I "colorscheme" meta tag. Does NOT include support for
  1093. line 113: "^I^I^I the new default foldtext added in v11, as the patch
  1094. line 114: "^I^I^I adding it has not yet been included in Vim.
  1095. line 115: " 7.3_v11 ( unreleased ): Support new default foldtext from patch by Christian
  1096. line 116: "^I^I^I Brabandt in
  1097. line 117: "^I^I^I http://groups.google.com/d/topic/vim_dev/B6FSGfq9VoI/discussion.
  1098. line 118: "^I^I^I This patch has not yet been included in Vim, thus
  1099. line 119: "^I^I^I these changes are removed in the next version.
  1100. line 120: " 7.3_v10 (fd09a9c8468e): Fix error E684 when converting a range wholly inside
  1101. line 121: "^I^I^I multiple nested folds with dynamic folding on.
  1102. line 122: "^I^I^I Also fix problem with foldtext in this situation.
  1103. line 123: " 7.3_v9 (0877b8d6370e): Add html_pre_wrap option active with html_use_css
  1104. line 124: "^I^I^I and without html_no_pre, default value same as
  1105. line 125: "^I^I^I 'wrap' option, (Andy Spencer). Don't use
  1106. line 126: "^I^I^I 'fileencoding' for converted document encoding if
  1107. line 127: "^I^I^I 'buftype' indicates a special buffer which isn't
  1108. line 128: "^I^I^I written.
  1109. line 129: " 7.3_v8 (85c5a72551e2): Add html_expand_tabs option to allow leaving tab
  1110. line 130: "^I^I^I characters in generated output (Andy Spencer).
  1111. line 131: "^I^I^I Escape text that looks like a modeline so Vim
  1112. line 132: "^I^I^I doesn't use anything in the converted HTML as a
  1113. line 133: "^I^I^I modeline. Bugfixes: Fix folding when a fold starts
  1114. line 134: "^I^I^I before the conversion range. Remove fold column when
  1115. line 135: "^I^I^I there are no folds.
  1116. line 136: " 7.3_v7 (840c3cadb842): see betas released on vim_dev below:
  1117. line 137: "^I^I 7.3_v7b3: Fixed bug, convert Unicode to UTF-8 all the way.
  1118. line 138: "^I^I 7.3_v7b2: Remove automatic detection of encodings that are not
  1119. line 139: "^I^I^I supported by all major browsers according to
  1120. line 140: "^I^I^I http://wiki.whatwg.org/wiki/Web_Encodings and
  1121. line 141: "^I^I^I convert to UTF-8 for all Unicode encodings. Make
  1122. line 142: "^I^I^I HTML encoding to Vim encoding detection be
  1123. line 143: "^I^I^I case-insensitive for built-in pairs.
  1124. line 144: "^I^I 7.3_v7b1: Remove use of setwinvar() function which cannot be
  1125. line 145: "^I^I^I called in restricted mode (Andy Spencer). Use
  1126. line 146: "^I^I^I 'fencoding' instead of 'encoding' to determine by
  1127. line 147: "^I^I^I charset, and make sure the 'fenc' of the generated
  1128. line 148: "^I^I^I file matches its indicated charset. Add charsets for
  1129. line 149: "^I^I^I all of Vim's natively supported encodings.
  1130. line 150: " 7.3_v6 (0d3f0e3d289b): Really fix bug with 'nowrapscan', 'magic' and other
  1131. line 151: "^I^I^I user settings interfering with diff mode generation,
  1132. line 152: "^I^I^I trailing whitespace (e.g. line number column) when
  1133. line 153: "^I^I^I using html_no_pre, and bugs when using
  1134. line 154: "^I^I^I html_hover_unfold.
  1135. line 155: " 7.3_v5 ( unreleased ): Fix bug with 'nowrapscan' and also with out-of-sync
  1136. line 156: "^I^I^I folds in diff mode when first line was folded.
  1137. line 157: " 7.3_v4 (7e008c174cc3): Bugfixes, especially for xhtml markup, and diff mode
  1138. line 158: " 7.3_v3 (a29075150aee): Refactor option handling and make html_use_css
  1139. line 159: "^I^I^I default to true when not set to anything. Use strict
  1140. line 160: "^I^I^I doctypes where possible. Rename use_xhtml option to
  1141. line 161: "^I^I^I html_use_xhtml for consistency. Use .xhtml extension
  1142. line 162: "^I^I^I when using this option. Add meta tag for settings.
  1143. line 163: " 7.3_v2 (80229a724a11): Fix syntax highlighting in diff mode to use both the
  1144. line 164: "^I^I^I diff colors and the normal syntax colors
  1145. line 165: " 7.3_v1 (e7751177126b): Add conceal support and meta tags in output
  1146. line 166: " Pre-v1 baseline: Mercurial changeset 3c9324c0800e
  1147. line 167: "}}}
  1148. line 168: "}}}
  1149. line 169:
  1150. line 170: " Define the :TOhtml command when:
  1151. line 171: " - 'compatible' is not set
  1152. line 172: " - this plugin was not already loaded
  1153. line 173: " - user commands are available. {{{
  1154. line 174: if !&cp && !exists(":TOhtml") && has("user_commands")
  1155. line 175: command -range=% -bar TOhtml :call tohtml#Convert2HTML(<line1>, <line2>)
  1156. line 176: endif "}}}
  1157. line 177:
  1158. line 178: " Make sure any patches will probably use consistent indent
  1159. line 179: " vim: ts=8 sw=2 sts=2 noet fdm=marker
  1160. finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\tohtml.vim
  1161. sourcing "C:\Program Files (x86)\Vim\vim74\plugin\vimballPlugin.vim"
  1162. line 1: " vimballPlugin : construct a file containing both paths and files
  1163. line 2: " Author: Charles E. Campbell, Jr.
  1164. line 3: " Copyright: (c) 2004-2010 by Charles E. Campbell, Jr.
  1165. line 4: " The VIM LICENSE applies to Vimball.vim, and Vimball.txt
  1166. line 5: " (see |copyright|) except use "Vimball" instead of "Vim".
  1167. line 6: " No warranty, express or implied.
  1168. line 7: " *** *** Use At-Your-Own-Risk! *** ***
  1169. line 8: "
  1170. line 9: " (Rom 2:1 WEB) Therefore you are without excuse, O man, whoever you are who
  1171. line 10: " judge. For in that which you judge another, you condemn yourself. For
  1172. line 11: " you who judge practice the same things.
  1173. line 12: " GetLatestVimScripts: 1502 1 :AutoInstall: vimball.vim
  1174. line 13:
  1175. line 14: " ---------------------------------------------------------------------
  1176. line 15: " Load Once: {{{1
  1177. line 16: if &cp || exists("g:loaded_vimballPlugin")
  1178. line 17: finish
  1179. line 18: endif
  1180. line 19: let g:loaded_vimballPlugin = "v35"
  1181. line 20: let s:keepcpo = &cpo
  1182. line 21: set cpo&vim
  1183. line 22:
  1184. line 23: " ------------------------------------------------------------------------------
  1185. line 24: " Public Interface: {{{1
  1186. line 25: com! -ra -complete=file -na=+ -bang MkVimball^I^I^I^Icall vimball#MkVimball(<line1>,<line2>,<bang>0,<f-args>)
  1187. line 26: com! -na=? -complete=dir UseVimball^I^I^I^I^I^Icall vimball#Vimball(1,<f-args>)
  1188. line 27: com! -na=0 VimballList^I^I^I^I^I^Icall vimball#Vimball(0)
  1189. line 28: com! -na=* -complete=dir RmVimball^I^I^I^I^I^I^Icall vimball#SaveSettings()|call vimball#RmVimball(<f-args>)|call vimball#RestoreSettings()
  1190. 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 %)")
  1191. 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
  1192. 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
  1193. 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 %)")
  1194. 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
  1195. 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
  1196. line 35:
  1197. line 36: " =====================================================================
  1198. line 37: " Restoration And Modelines: {{{1
  1199. line 38: " vim: fdm=marker
  1200. line 39: let &cpo= s:keepcpo
  1201. line 40: unlet s:keepcpo
  1202. finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\vimballPlugin.vim
  1203. sourcing "C:\Program Files (x86)\Vim\vim74\plugin\zipPlugin.vim"
  1204. line 1: " zipPlugin.vim: Handles browsing zipfiles
  1205. line 2: " PLUGIN PORTION
  1206. line 3: " Date:^I^I^IJun 07, 2013
  1207. line 4: " Maintainer:^ICharles E Campbell <[email protected]>
  1208. line 5: " License:^I^IVim License (see vim's :help license)
  1209. line 6: " Copyright: Copyright (C) 2005-2013 Charles E. Campbell {{{1
  1210. line 7: " Permission is hereby granted to use and distribute this code,
  1211. line 8: " with or without modifications, provided that this copyright
  1212. line 9: " notice is copied with it. Like anything else that's free,
  1213. line 10: " zipPlugin.vim is provided *as is* and comes with no warranty
  1214. line 11: " of any kind, either expressed or implied. By using this
  1215. line 12: " plugin, you agree that in no event will the copyright
  1216. line 13: " holder be liable for any damages resulting from the use
  1217. line 14: " of this software.
  1218. line 15: "
  1219. line 16: " (James 4:8 WEB) Draw near to God, and he will draw near to you.
  1220. line 17: " Cleanse your hands, you sinners; and purify your hearts, you double-minded.
  1221. line 18: " ---------------------------------------------------------------------
  1222. line 19: " Load Once: {{{1
  1223. line 20: if &cp || exists("g:loaded_zipPlugin")
  1224. line 21: finish
  1225. line 22: endif
  1226. line 23: let g:loaded_zipPlugin = "v27"
  1227. line 24: let s:keepcpo = &cpo
  1228. line 25: set cpo&vim
  1229. line 26:
  1230. line 27: " ---------------------------------------------------------------------
  1231. line 28: " Options: {{{1
  1232. line 29: if !exists("g:zipPlugin_ext")
  1233. 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'
  1234. line 31: endif
  1235. line 32:
  1236. line 33: " ---------------------------------------------------------------------
  1237. line 34: " Public Interface: {{{1
  1238. line 35: augroup zip
  1239. line 36: au!
  1240. line 37: au BufReadCmd zipfile:*^Icall zip#Read(expand("<amatch>"), 1)
  1241. line 38: au FileReadCmd zipfile:*^Icall zip#Read(expand("<amatch>"), 0)
  1242. line 39: au BufWriteCmd zipfile:*^Icall zip#Write(expand("<amatch>"))
  1243. line 40: au FileWriteCmd zipfile:*^Icall zip#Write(expand("<amatch>"))
  1244. line 41:
  1245. line 42: if has("unix")
  1246. line 43: au BufReadCmd zipfile:*/*^Icall zip#Read(expand("<amatch>"), 1)
  1247. line 44: au FileReadCmd zipfile:*/*^Icall zip#Read(expand("<amatch>"), 0)
  1248. line 45: au BufWriteCmd zipfile:*/*^Icall zip#Write(expand("<amatch>"))
  1249. line 46: au FileWriteCmd zipfile:*/*^Icall zip#Write(expand("<amatch>"))
  1250. line 47: endif
  1251. line 48:
  1252. line 49: exe "au BufReadCmd ".g:zipPlugin_ext.' call zip#Browse(expand("<amatch>"))'
  1253. 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>"))
  1254. line 50: augroup END
  1255. line 51:
  1256. line 52: " ---------------------------------------------------------------------
  1257. line 53: " Restoration And Modelines: {{{1
  1258. line 54: " vim: fdm=marker
  1259. line 55: let &cpo= s:keepcpo
  1260. line 56: unlet s:keepcpo
  1261. finished sourcing C:\Program Files (x86)\Vim\vim74\plugin\zipPlugin.vim
  1262. Searching for "C:\Program Files (x86)\Vim/vimfiles/after\plugin/**/*.vim"
  1263. Searching for "\nyprodfs01\profiles$\kharper/vimfiles/after\plugin/**/*.vim"
  1264. Searching for "/usr/local/lib/python2.7/site-packages/powerline/bindings/vim\plugin/**/*.vim"
  1265. Reading viminfo file "\\nyprodfs01\profiles$\kharper\_viminfo" info oldfiles
  1266. Executing BufWinEnter Auto commands for "*"
  1267. autocommand silent! loadview
  1268.  
  1269. line 0: silent! loadview
  1270. Error detected while processing BufWinEnter Auto commands for "*":
  1271. E32: No file name
  1272. Executing BufEnter Auto commands for "*"
  1273. autocommand sil! call s:LocalBrowse(expand("<amatch>"))
  1274.  
  1275. line 0: sil! call s:LocalBrowse(expand("<amatch>"))
  1276. calling function <SNR>7_LocalBrowse('')
  1277.  
  1278. line 1: " unfortunate interaction -- debugging calls can't be used here;
  1279. line 2: " the BufEnter event causes triggering when attempts to write to
  1280. line 3: " the DBG buffer are made.
  1281. line 4: if !exists("s:vimentered")
  1282. line 5: return
  1283. function <SNR>7_LocalBrowse returning #0
  1284.  
  1285. continuing in BufEnter Auto commands for "*"
  1286.  
  1287. Executing VimEnter Auto commands for "*"
  1288. autocommand if !argc() | NERDTree | endif
  1289.  
  1290. line 0: if !argc() | NERDTree | endif
  1291. line 0: NERDTree | endif
  1292. Error detected while processing VimEnter Auto commands for "*":
  1293. E492: Not an editor command: NERDTree | endif
  1294. Executing VimEnter Auto commands for "*"
  1295. autocommand sil! call s:VimEnter(expand("<amatch>"))
  1296.  
  1297. line 0: sil! call s:VimEnter(expand("<amatch>"))
  1298. Executing CursorMoved Auto commands for "*"
  1299. autocommand call s:Highlight_Matching_Pair()
  1300.  
  1301. line 0: call s:Highlight_Matching_Pair()
  1302. calling function <SNR>6_Highlight_Matching_Pair()
  1303.  
  1304. line 1: " Remove any previous match.
  1305. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  1306. line 3: 3match none
  1307. line 4: let w:paren_hl_on = 0
  1308. line 5: endif
  1309. line 6:
  1310. line 7: " Avoid that we remove the popup menu.
  1311. line 8: " Return when there are no colors (looks like the cursor jumps).
  1312. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  1313. line 10: return
  1314. line 11: endif
  1315. line 12:
  1316. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  1317. line 14: let c_lnum = line('.')
  1318. line 15: let c_col = col('.')
  1319. line 16: let before = 0
  1320. line 17:
  1321. line 18: let c = getline(c_lnum)[c_col - 1]
  1322. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  1323. line 20: let i = index(plist, c)
  1324. line 21: if i < 0
  1325. line 22: " not found, in Insert mode try character before the cursor
  1326. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  1327. line 24: let before = 1
  1328. line 25: let c = getline(c_lnum)[c_col - 2]
  1329. line 26: let i = index(plist, c)
  1330. line 27: endif
  1331. line 28: if i < 0
  1332. line 29: " not found, nothing to do
  1333. line 30: return
  1334. function <SNR>6_Highlight_Matching_Pair returning #0
  1335.  
  1336. continuing in CursorMoved Auto commands for "*"
  1337.  
  1338.  
  1339. calling function pathogen#separator()
  1340.  
  1341. line 1: return !exists("+shellslash") || &shellslash ? '/' : '\'
  1342. function pathogen#separator returning '\'
  1343.  
  1344. E10: \ should be followed by /, ? or &
  1345.  
  1346. E121: Undefined variable: execute
  1347. E15: Invalid expression: execute pathogen#separator()
  1348.  
  1349. calling function pathogen#separator()
  1350.  
  1351. line 1: return !exists("+shellslash") || &shellslash ? '/' : '\'
  1352. function pathogen#separator returning '\'
  1353.  
  1354. E10: \ should be followed by /, ? or &
  1355.  
  1356. "autoload\pathogen.vim"
  1357. "autoload\pathogen.vim" 326L, 12059C
  1358. Reading viminfo file "\\nyprodfs01\profiles$\kharper\_viminfo" marks
  1359. Executing BufEnter Auto commands for "*"
  1360. autocommand sil! call s:LocalBrowse(expand("<amatch>"))
  1361.  
  1362. line 0: sil! call s:LocalBrowse(expand("<amatch>"))
  1363. calling function <SNR>7_LocalBrowse('//nyprodfs01/profiles$/kharper/vimfiles/autoload/pathogen.vim')
  1364.  
  1365. line 1: " unfortunate interaction -- debugging calls can't be used here;
  1366. line 2: " the BufEnter event causes triggering when attempts to write to
  1367. line 3: " the DBG buffer are made.
  1368. line 4: if !exists("s:vimentered")
  1369. line 5: return
  1370. function <SNR>7_LocalBrowse returning #0
  1371.  
  1372. continuing in BufEnter Auto commands for "*"
  1373.  
  1374. Executing BufWinEnter Auto commands for "*"
  1375. autocommand silent! loadview
  1376.  
  1377. line 0: silent! loadview
  1378. line 0: could not source "C:\Program Files (x86)\Vim/vimfiles/view\~=+vimfiles=+autoload=+pathogen.vim="
  1379. Executing TextChanged Auto commands for "*"
  1380. autocommand call s:Highlight_Matching_Pair()
  1381.  
  1382. line 0: call s:Highlight_Matching_Pair()
  1383. calling function <SNR>6_Highlight_Matching_Pair()
  1384.  
  1385. line 1: " Remove any previous match.
  1386. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  1387. line 3: 3match none
  1388. line 4: let w:paren_hl_on = 0
  1389. line 5: endif
  1390. line 6:
  1391. line 7: " Avoid that we remove the popup menu.
  1392. line 8: " Return when there are no colors (looks like the cursor jumps).
  1393. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  1394. line 10: return
  1395. line 11: endif
  1396. line 12:
  1397. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  1398. line 14: let c_lnum = line('.')
  1399. line 15: let c_col = col('.')
  1400. line 16: let before = 0
  1401. line 17:
  1402. line 18: let c = getline(c_lnum)[c_col - 1]
  1403. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  1404. line 20: let i = index(plist, c)
  1405. line 21: if i < 0
  1406. line 22: " not found, in Insert mode try character before the cursor
  1407. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  1408. line 24: let before = 1
  1409. line 25: let c = getline(c_lnum)[c_col - 2]
  1410. line 26: let i = index(plist, c)
  1411. line 27: endif
  1412. line 28: if i < 0
  1413. line 29: " not found, nothing to do
  1414. line 30: return
  1415. function <SNR>6_Highlight_Matching_Pair returning #0
  1416.  
  1417. continuing in TextChanged Auto commands for "*"
  1418.  
  1419. Executing CursorMoved Auto commands for "*"
  1420. autocommand call s:Highlight_Matching_Pair()
  1421.  
  1422. line 0: call s:Highlight_Matching_Pair()
  1423. calling function <SNR>6_Highlight_Matching_Pair()
  1424.  
  1425. line 1: " Remove any previous match.
  1426. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  1427. line 3: 3match none
  1428. line 4: let w:paren_hl_on = 0
  1429. line 5: endif
  1430. line 6:
  1431. line 7: " Avoid that we remove the popup menu.
  1432. line 8: " Return when there are no colors (looks like the cursor jumps).
  1433. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  1434. line 10: return
  1435. line 11: endif
  1436. line 12:
  1437. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  1438. line 14: let c_lnum = line('.')
  1439. line 15: let c_col = col('.')
  1440. line 16: let before = 0
  1441. line 17:
  1442. line 18: let c = getline(c_lnum)[c_col - 1]
  1443. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  1444. line 20: let i = index(plist, c)
  1445. line 21: if i < 0
  1446. line 22: " not found, in Insert mode try character before the cursor
  1447. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  1448. line 24: let before = 1
  1449. line 25: let c = getline(c_lnum)[c_col - 2]
  1450. line 26: let i = index(plist, c)
  1451. line 27: endif
  1452. line 28: if i < 0
  1453. line 29: " not found, nothing to do
  1454. line 30: return
  1455. function <SNR>6_Highlight_Matching_Pair returning #0
  1456.  
  1457. continuing in CursorMoved Auto commands for "*"
  1458.  
  1459. Executing CursorMoved Auto commands for "*"
  1460. autocommand call s:Highlight_Matching_Pair()
  1461.  
  1462. line 0: call s:Highlight_Matching_Pair()
  1463. calling function <SNR>6_Highlight_Matching_Pair()
  1464.  
  1465. line 1: " Remove any previous match.
  1466. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  1467. line 3: 3match none
  1468. line 4: let w:paren_hl_on = 0
  1469. line 5: endif
  1470. line 6:
  1471. line 7: " Avoid that we remove the popup menu.
  1472. line 8: " Return when there are no colors (looks like the cursor jumps).
  1473. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  1474. line 10: return
  1475. line 11: endif
  1476. line 12:
  1477. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  1478. line 14: let c_lnum = line('.')
  1479. line 15: let c_col = col('.')
  1480. line 16: let before = 0
  1481. line 17:
  1482. line 18: let c = getline(c_lnum)[c_col - 1]
  1483. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  1484. line 20: let i = index(plist, c)
  1485. line 21: if i < 0
  1486. line 22: " not found, in Insert mode try character before the cursor
  1487. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  1488. line 24: let before = 1
  1489. line 25: let c = getline(c_lnum)[c_col - 2]
  1490. line 26: let i = index(plist, c)
  1491. line 27: endif
  1492. line 28: if i < 0
  1493. line 29: " not found, nothing to do
  1494. line 30: return
  1495. function <SNR>6_Highlight_Matching_Pair returning #0
  1496.  
  1497. continuing in CursorMoved Auto commands for "*"
  1498.  
  1499. Executing CursorMoved Auto commands for "*"
  1500. autocommand call s:Highlight_Matching_Pair()
  1501.  
  1502. line 0: call s:Highlight_Matching_Pair()
  1503. calling function <SNR>6_Highlight_Matching_Pair()
  1504.  
  1505. line 1: " Remove any previous match.
  1506. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  1507. line 3: 3match none
  1508. line 4: let w:paren_hl_on = 0
  1509. line 5: endif
  1510. line 6:
  1511. line 7: " Avoid that we remove the popup menu.
  1512. line 8: " Return when there are no colors (looks like the cursor jumps).
  1513. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  1514. line 10: return
  1515. line 11: endif
  1516. line 12:
  1517. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  1518. line 14: let c_lnum = line('.')
  1519. line 15: let c_col = col('.')
  1520. line 16: let before = 0
  1521. line 17:
  1522. line 18: let c = getline(c_lnum)[c_col - 1]
  1523. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  1524. line 20: let i = index(plist, c)
  1525. line 21: if i < 0
  1526. line 22: " not found, in Insert mode try character before the cursor
  1527. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  1528. line 24: let before = 1
  1529. line 25: let c = getline(c_lnum)[c_col - 2]
  1530. line 26: let i = index(plist, c)
  1531. line 27: endif
  1532. line 28: if i < 0
  1533. line 29: " not found, nothing to do
  1534. line 30: return
  1535. function <SNR>6_Highlight_Matching_Pair returning #0
  1536.  
  1537. continuing in CursorMoved Auto commands for "*"
  1538.  
  1539. Executing CursorMoved Auto commands for "*"
  1540. autocommand call s:Highlight_Matching_Pair()
  1541.  
  1542. line 0: call s:Highlight_Matching_Pair()
  1543. calling function <SNR>6_Highlight_Matching_Pair()
  1544.  
  1545. line 1: " Remove any previous match.
  1546. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  1547. line 3: 3match none
  1548. line 4: let w:paren_hl_on = 0
  1549. line 5: endif
  1550. line 6:
  1551. line 7: " Avoid that we remove the popup menu.
  1552. line 8: " Return when there are no colors (looks like the cursor jumps).
  1553. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  1554. line 10: return
  1555. line 11: endif
  1556. line 12:
  1557. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  1558. line 14: let c_lnum = line('.')
  1559. line 15: let c_col = col('.')
  1560. line 16: let before = 0
  1561. line 17:
  1562. line 18: let c = getline(c_lnum)[c_col - 1]
  1563. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  1564. line 20: let i = index(plist, c)
  1565. line 21: if i < 0
  1566. line 22: " not found, in Insert mode try character before the cursor
  1567. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  1568. line 24: let before = 1
  1569. line 25: let c = getline(c_lnum)[c_col - 2]
  1570. line 26: let i = index(plist, c)
  1571. line 27: endif
  1572. line 28: if i < 0
  1573. line 29: " not found, nothing to do
  1574. line 30: return
  1575. function <SNR>6_Highlight_Matching_Pair returning #0
  1576.  
  1577. continuing in CursorMoved Auto commands for "*"
  1578.  
  1579. Executing CursorMoved Auto commands for "*"
  1580. autocommand call s:Highlight_Matching_Pair()
  1581.  
  1582. line 0: call s:Highlight_Matching_Pair()
  1583. calling function <SNR>6_Highlight_Matching_Pair()
  1584.  
  1585. line 1: " Remove any previous match.
  1586. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  1587. line 3: 3match none
  1588. line 4: let w:paren_hl_on = 0
  1589. line 5: endif
  1590. line 6:
  1591. line 7: " Avoid that we remove the popup menu.
  1592. line 8: " Return when there are no colors (looks like the cursor jumps).
  1593. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  1594. line 10: return
  1595. line 11: endif
  1596. line 12:
  1597. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  1598. line 14: let c_lnum = line('.')
  1599. line 15: let c_col = col('.')
  1600. line 16: let before = 0
  1601. line 17:
  1602. line 18: let c = getline(c_lnum)[c_col - 1]
  1603. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  1604. line 20: let i = index(plist, c)
  1605. line 21: if i < 0
  1606. line 22: " not found, in Insert mode try character before the cursor
  1607. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  1608. line 24: let before = 1
  1609. line 25: let c = getline(c_lnum)[c_col - 2]
  1610. line 26: let i = index(plist, c)
  1611. line 27: endif
  1612. line 28: if i < 0
  1613. line 29: " not found, nothing to do
  1614. line 30: return
  1615. function <SNR>6_Highlight_Matching_Pair returning #0
  1616.  
  1617. continuing in CursorMoved Auto commands for "*"
  1618.  
  1619. Executing CursorMoved Auto commands for "*"
  1620. autocommand call s:Highlight_Matching_Pair()
  1621.  
  1622. line 0: call s:Highlight_Matching_Pair()
  1623. calling function <SNR>6_Highlight_Matching_Pair()
  1624.  
  1625. line 1: " Remove any previous match.
  1626. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  1627. line 3: 3match none
  1628. line 4: let w:paren_hl_on = 0
  1629. line 5: endif
  1630. line 6:
  1631. line 7: " Avoid that we remove the popup menu.
  1632. line 8: " Return when there are no colors (looks like the cursor jumps).
  1633. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  1634. line 10: return
  1635. line 11: endif
  1636. line 12:
  1637. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  1638. line 14: let c_lnum = line('.')
  1639. line 15: let c_col = col('.')
  1640. line 16: let before = 0
  1641. line 17:
  1642. line 18: let c = getline(c_lnum)[c_col - 1]
  1643. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  1644. line 20: let i = index(plist, c)
  1645. line 21: if i < 0
  1646. line 22: " not found, in Insert mode try character before the cursor
  1647. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  1648. line 24: let before = 1
  1649. line 25: let c = getline(c_lnum)[c_col - 2]
  1650. line 26: let i = index(plist, c)
  1651. line 27: endif
  1652. line 28: if i < 0
  1653. line 29: " not found, nothing to do
  1654. line 30: return
  1655. function <SNR>6_Highlight_Matching_Pair returning #0
  1656.  
  1657. continuing in CursorMoved Auto commands for "*"
  1658.  
  1659. Executing CursorMoved Auto commands for "*"
  1660. autocommand call s:Highlight_Matching_Pair()
  1661.  
  1662. line 0: call s:Highlight_Matching_Pair()
  1663. calling function <SNR>6_Highlight_Matching_Pair()
  1664.  
  1665. line 1: " Remove any previous match.
  1666. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  1667. line 3: 3match none
  1668. line 4: let w:paren_hl_on = 0
  1669. line 5: endif
  1670. line 6:
  1671. line 7: " Avoid that we remove the popup menu.
  1672. line 8: " Return when there are no colors (looks like the cursor jumps).
  1673. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  1674. line 10: return
  1675. line 11: endif
  1676. line 12:
  1677. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  1678. line 14: let c_lnum = line('.')
  1679. line 15: let c_col = col('.')
  1680. line 16: let before = 0
  1681. line 17:
  1682. line 18: let c = getline(c_lnum)[c_col - 1]
  1683. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  1684. line 20: let i = index(plist, c)
  1685. line 21: if i < 0
  1686. line 22: " not found, in Insert mode try character before the cursor
  1687. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  1688. line 24: let before = 1
  1689. line 25: let c = getline(c_lnum)[c_col - 2]
  1690. line 26: let i = index(plist, c)
  1691. line 27: endif
  1692. line 28: if i < 0
  1693. line 29: " not found, nothing to do
  1694. line 30: return
  1695. function <SNR>6_Highlight_Matching_Pair returning #0
  1696.  
  1697. continuing in CursorMoved Auto commands for "*"
  1698.  
  1699. Executing CursorMoved Auto commands for "*"
  1700. autocommand call s:Highlight_Matching_Pair()
  1701.  
  1702. line 0: call s:Highlight_Matching_Pair()
  1703. calling function <SNR>6_Highlight_Matching_Pair()
  1704.  
  1705. line 1: " Remove any previous match.
  1706. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  1707. line 3: 3match none
  1708. line 4: let w:paren_hl_on = 0
  1709. line 5: endif
  1710. line 6:
  1711. line 7: " Avoid that we remove the popup menu.
  1712. line 8: " Return when there are no colors (looks like the cursor jumps).
  1713. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  1714. line 10: return
  1715. line 11: endif
  1716. line 12:
  1717. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  1718. line 14: let c_lnum = line('.')
  1719. line 15: let c_col = col('.')
  1720. line 16: let before = 0
  1721. line 17:
  1722. line 18: let c = getline(c_lnum)[c_col - 1]
  1723. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  1724. line 20: let i = index(plist, c)
  1725. line 21: if i < 0
  1726. line 22: " not found, in Insert mode try character before the cursor
  1727. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  1728. line 24: let before = 1
  1729. line 25: let c = getline(c_lnum)[c_col - 2]
  1730. line 26: let i = index(plist, c)
  1731. line 27: endif
  1732. line 28: if i < 0
  1733. line 29: " not found, nothing to do
  1734. line 30: return
  1735. function <SNR>6_Highlight_Matching_Pair returning #0
  1736.  
  1737. continuing in CursorMoved Auto commands for "*"
  1738.  
  1739. /separator
  1740.  
  1741. Executing CursorMoved Auto commands for "*"
  1742. autocommand call s:Highlight_Matching_Pair()
  1743.  
  1744. line 0: call s:Highlight_Matching_Pair()
  1745. calling function <SNR>6_Highlight_Matching_Pair()
  1746.  
  1747. line 1: " Remove any previous match.
  1748. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  1749. line 3: 3match none
  1750. line 4: let w:paren_hl_on = 0
  1751. line 5: endif
  1752. line 6:
  1753. line 7: " Avoid that we remove the popup menu.
  1754. line 8: " Return when there are no colors (looks like the cursor jumps).
  1755. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  1756. line 10: return
  1757. line 11: endif
  1758. line 12:
  1759. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  1760. line 14: let c_lnum = line('.')
  1761. line 15: let c_col = col('.')
  1762. line 16: let before = 0
  1763. line 17:
  1764. line 18: let c = getline(c_lnum)[c_col - 1]
  1765. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  1766. line 20: let i = index(plist, c)
  1767. line 21: if i < 0
  1768. line 22: " not found, in Insert mode try character before the cursor
  1769. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  1770. line 24: let before = 1
  1771. line 25: let c = getline(c_lnum)[c_col - 2]
  1772. line 26: let i = index(plist, c)
  1773. line 27: endif
  1774. line 28: if i < 0
  1775. line 29: " not found, nothing to do
  1776. line 30: return
  1777. function <SNR>6_Highlight_Matching_Pair returning #0
  1778.  
  1779. continuing in CursorMoved Auto commands for "*"
  1780.  
  1781. Executing CursorMoved Auto commands for "*"
  1782. autocommand call s:Highlight_Matching_Pair()
  1783.  
  1784. line 0: call s:Highlight_Matching_Pair()
  1785. calling function <SNR>6_Highlight_Matching_Pair()
  1786.  
  1787. line 1: " Remove any previous match.
  1788. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  1789. line 3: 3match none
  1790. line 4: let w:paren_hl_on = 0
  1791. line 5: endif
  1792. line 6:
  1793. line 7: " Avoid that we remove the popup menu.
  1794. line 8: " Return when there are no colors (looks like the cursor jumps).
  1795. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  1796. line 10: return
  1797. line 11: endif
  1798. line 12:
  1799. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  1800. line 14: let c_lnum = line('.')
  1801. line 15: let c_col = col('.')
  1802. line 16: let before = 0
  1803. line 17:
  1804. line 18: let c = getline(c_lnum)[c_col - 1]
  1805. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  1806. line 20: let i = index(plist, c)
  1807. line 21: if i < 0
  1808. line 22: " not found, in Insert mode try character before the cursor
  1809. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  1810. line 24: let before = 1
  1811. line 25: let c = getline(c_lnum)[c_col - 2]
  1812. line 26: let i = index(plist, c)
  1813. line 27: endif
  1814. line 28: if i < 0
  1815. line 29: " not found, nothing to do
  1816. line 30: return
  1817. function <SNR>6_Highlight_Matching_Pair returning #0
  1818.  
  1819. continuing in CursorMoved Auto commands for "*"
  1820. -- INSERT --
  1821. Executing CursorMovedI Auto commands for "*"
  1822. autocommand call s:Highlight_Matching_Pair()
  1823.  
  1824. line 0: call s:Highlight_Matching_Pair()
  1825. calling function <SNR>6_Highlight_Matching_Pair()
  1826.  
  1827. line 1: " Remove any previous match.
  1828. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  1829. line 3: 3match none
  1830. line 4: let w:paren_hl_on = 0
  1831. line 5: endif
  1832. line 6:
  1833. line 7: " Avoid that we remove the popup menu.
  1834. line 8: " Return when there are no colors (looks like the cursor jumps).
  1835. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  1836. line 10: return
  1837. line 11: endif
  1838. line 12:
  1839. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  1840. line 14: let c_lnum = line('.')
  1841. line 15: let c_col = col('.')
  1842. line 16: let before = 0
  1843. line 17:
  1844. line 18: let c = getline(c_lnum)[c_col - 1]
  1845. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  1846. line 20: let i = index(plist, c)
  1847. line 21: if i < 0
  1848. line 22: " not found, in Insert mode try character before the cursor
  1849. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  1850. line 24: let before = 1
  1851. line 25: let c = getline(c_lnum)[c_col - 2]
  1852. line 26: let i = index(plist, c)
  1853. line 27: endif
  1854. line 28: if i < 0
  1855. line 29: " not found, nothing to do
  1856. line 30: return
  1857. function <SNR>6_Highlight_Matching_Pair returning #0
  1858.  
  1859. continuing in CursorMovedI Auto commands for "*"
  1860.  
  1861. Executing CursorMovedI Auto commands for "*"
  1862. autocommand call s:Highlight_Matching_Pair()
  1863.  
  1864. line 0: call s:Highlight_Matching_Pair()
  1865. calling function <SNR>6_Highlight_Matching_Pair()
  1866.  
  1867. line 1: " Remove any previous match.
  1868. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  1869. line 3: 3match none
  1870. line 4: let w:paren_hl_on = 0
  1871. line 5: endif
  1872. line 6:
  1873. line 7: " Avoid that we remove the popup menu.
  1874. line 8: " Return when there are no colors (looks like the cursor jumps).
  1875. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  1876. line 10: return
  1877. line 11: endif
  1878. line 12:
  1879. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  1880. line 14: let c_lnum = line('.')
  1881. line 15: let c_col = col('.')
  1882. line 16: let before = 0
  1883. line 17:
  1884. line 18: let c = getline(c_lnum)[c_col - 1]
  1885. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  1886. line 20: let i = index(plist, c)
  1887. line 21: if i < 0
  1888. line 22: " not found, in Insert mode try character before the cursor
  1889. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  1890. line 24: let before = 1
  1891. line 25: let c = getline(c_lnum)[c_col - 2]
  1892. line 26: let i = index(plist, c)
  1893. line 27: endif
  1894. line 28: if i < 0
  1895. line 29: " not found, nothing to do
  1896. line 30: return
  1897. function <SNR>6_Highlight_Matching_Pair returning #0
  1898.  
  1899. continuing in CursorMovedI Auto commands for "*"
  1900.  
  1901.  
  1902. Executing CursorMoved Auto commands for "*"
  1903. autocommand call s:Highlight_Matching_Pair()
  1904.  
  1905. line 0: call s:Highlight_Matching_Pair()
  1906. calling function <SNR>6_Highlight_Matching_Pair()
  1907.  
  1908. line 1: " Remove any previous match.
  1909. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  1910. line 3: 3match none
  1911. line 4: let w:paren_hl_on = 0
  1912. line 5: endif
  1913. line 6:
  1914. line 7: " Avoid that we remove the popup menu.
  1915. line 8: " Return when there are no colors (looks like the cursor jumps).
  1916. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  1917. line 10: return
  1918. line 11: endif
  1919. line 12:
  1920. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  1921. line 14: let c_lnum = line('.')
  1922. line 15: let c_col = col('.')
  1923. line 16: let before = 0
  1924. line 17:
  1925. line 18: let c = getline(c_lnum)[c_col - 1]
  1926. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  1927. line 20: let i = index(plist, c)
  1928. line 21: if i < 0
  1929. line 22: " not found, in Insert mode try character before the cursor
  1930. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  1931. line 24: let before = 1
  1932. line 25: let c = getline(c_lnum)[c_col - 2]
  1933. line 26: let i = index(plist, c)
  1934. line 27: endif
  1935. line 28: if i < 0
  1936. line 29: " not found, nothing to do
  1937. line 30: return
  1938. function <SNR>6_Highlight_Matching_Pair returning #0
  1939.  
  1940. continuing in CursorMoved Auto commands for "*"
  1941.  
  1942. Executing TextChanged Auto commands for "*"
  1943. autocommand call s:Highlight_Matching_Pair()
  1944.  
  1945. line 0: call s:Highlight_Matching_Pair()
  1946. calling function <SNR>6_Highlight_Matching_Pair()
  1947.  
  1948. line 1: " Remove any previous match.
  1949. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  1950. line 3: 3match none
  1951. line 4: let w:paren_hl_on = 0
  1952. line 5: endif
  1953. line 6:
  1954. line 7: " Avoid that we remove the popup menu.
  1955. line 8: " Return when there are no colors (looks like the cursor jumps).
  1956. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  1957. line 10: return
  1958. line 11: endif
  1959. line 12:
  1960. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  1961. line 14: let c_lnum = line('.')
  1962. line 15: let c_col = col('.')
  1963. line 16: let before = 0
  1964. line 17:
  1965. line 18: let c = getline(c_lnum)[c_col - 1]
  1966. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  1967. line 20: let i = index(plist, c)
  1968. line 21: if i < 0
  1969. line 22: " not found, in Insert mode try character before the cursor
  1970. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  1971. line 24: let before = 1
  1972. line 25: let c = getline(c_lnum)[c_col - 2]
  1973. line 26: let i = index(plist, c)
  1974. line 27: endif
  1975. line 28: if i < 0
  1976. line 29: " not found, nothing to do
  1977. line 30: return
  1978. function <SNR>6_Highlight_Matching_Pair returning #0
  1979.  
  1980. continuing in TextChanged Auto commands for "*"
  1981. -- INSERT --
  1982. Executing CursorMovedI Auto commands for "*"
  1983. autocommand call s:Highlight_Matching_Pair()
  1984.  
  1985. line 0: call s:Highlight_Matching_Pair()
  1986. calling function <SNR>6_Highlight_Matching_Pair()
  1987.  
  1988. line 1: " Remove any previous match.
  1989. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  1990. line 3: 3match none
  1991. line 4: let w:paren_hl_on = 0
  1992. line 5: endif
  1993. line 6:
  1994. line 7: " Avoid that we remove the popup menu.
  1995. line 8: " Return when there are no colors (looks like the cursor jumps).
  1996. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  1997. line 10: return
  1998. line 11: endif
  1999. line 12:
  2000. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2001. line 14: let c_lnum = line('.')
  2002. line 15: let c_col = col('.')
  2003. line 16: let before = 0
  2004. line 17:
  2005. line 18: let c = getline(c_lnum)[c_col - 1]
  2006. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2007. line 20: let i = index(plist, c)
  2008. line 21: if i < 0
  2009. line 22: " not found, in Insert mode try character before the cursor
  2010. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2011. line 24: let before = 1
  2012. line 25: let c = getline(c_lnum)[c_col - 2]
  2013. line 26: let i = index(plist, c)
  2014. line 27: endif
  2015. line 28: if i < 0
  2016. line 29: " not found, nothing to do
  2017. line 30: return
  2018. function <SNR>6_Highlight_Matching_Pair returning #0
  2019.  
  2020. continuing in CursorMovedI Auto commands for "*"
  2021.  
  2022. Executing CursorMovedI Auto commands for "*"
  2023. autocommand call s:Highlight_Matching_Pair()
  2024.  
  2025. line 0: call s:Highlight_Matching_Pair()
  2026. calling function <SNR>6_Highlight_Matching_Pair()
  2027.  
  2028. line 1: " Remove any previous match.
  2029. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2030. line 3: 3match none
  2031. line 4: let w:paren_hl_on = 0
  2032. line 5: endif
  2033. line 6:
  2034. line 7: " Avoid that we remove the popup menu.
  2035. line 8: " Return when there are no colors (looks like the cursor jumps).
  2036. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2037. line 10: return
  2038. line 11: endif
  2039. line 12:
  2040. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2041. line 14: let c_lnum = line('.')
  2042. line 15: let c_col = col('.')
  2043. line 16: let before = 0
  2044. line 17:
  2045. line 18: let c = getline(c_lnum)[c_col - 1]
  2046. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2047. line 20: let i = index(plist, c)
  2048. line 21: if i < 0
  2049. line 22: " not found, in Insert mode try character before the cursor
  2050. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2051. line 24: let before = 1
  2052. line 25: let c = getline(c_lnum)[c_col - 2]
  2053. line 26: let i = index(plist, c)
  2054. line 27: endif
  2055. line 28: if i < 0
  2056. line 29: " not found, nothing to do
  2057. line 30: return
  2058. function <SNR>6_Highlight_Matching_Pair returning #0
  2059.  
  2060. continuing in CursorMovedI Auto commands for "*"
  2061.  
  2062. Executing CursorMovedI Auto commands for "*"
  2063. autocommand call s:Highlight_Matching_Pair()
  2064.  
  2065. line 0: call s:Highlight_Matching_Pair()
  2066. calling function <SNR>6_Highlight_Matching_Pair()
  2067.  
  2068. line 1: " Remove any previous match.
  2069. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2070. line 3: 3match none
  2071. line 4: let w:paren_hl_on = 0
  2072. line 5: endif
  2073. line 6:
  2074. line 7: " Avoid that we remove the popup menu.
  2075. line 8: " Return when there are no colors (looks like the cursor jumps).
  2076. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2077. line 10: return
  2078. line 11: endif
  2079. line 12:
  2080. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2081. line 14: let c_lnum = line('.')
  2082. line 15: let c_col = col('.')
  2083. line 16: let before = 0
  2084. line 17:
  2085. line 18: let c = getline(c_lnum)[c_col - 1]
  2086. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2087. line 20: let i = index(plist, c)
  2088. line 21: if i < 0
  2089. line 22: " not found, in Insert mode try character before the cursor
  2090. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2091. line 24: let before = 1
  2092. line 25: let c = getline(c_lnum)[c_col - 2]
  2093. line 26: let i = index(plist, c)
  2094. line 27: endif
  2095. line 28: if i < 0
  2096. line 29: " not found, nothing to do
  2097. line 30: return
  2098. function <SNR>6_Highlight_Matching_Pair returning #0
  2099.  
  2100. continuing in CursorMovedI Auto commands for "*"
  2101.  
  2102. Executing CursorMovedI Auto commands for "*"
  2103. autocommand call s:Highlight_Matching_Pair()
  2104.  
  2105. line 0: call s:Highlight_Matching_Pair()
  2106. calling function <SNR>6_Highlight_Matching_Pair()
  2107.  
  2108. line 1: " Remove any previous match.
  2109. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2110. line 3: 3match none
  2111. line 4: let w:paren_hl_on = 0
  2112. line 5: endif
  2113. line 6:
  2114. line 7: " Avoid that we remove the popup menu.
  2115. line 8: " Return when there are no colors (looks like the cursor jumps).
  2116. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2117. line 10: return
  2118. line 11: endif
  2119. line 12:
  2120. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2121. line 14: let c_lnum = line('.')
  2122. line 15: let c_col = col('.')
  2123. line 16: let before = 0
  2124. line 17:
  2125. line 18: let c = getline(c_lnum)[c_col - 1]
  2126. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2127. line 20: let i = index(plist, c)
  2128. line 21: if i < 0
  2129. line 22: " not found, in Insert mode try character before the cursor
  2130. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2131. line 24: let before = 1
  2132. line 25: let c = getline(c_lnum)[c_col - 2]
  2133. line 26: let i = index(plist, c)
  2134. line 27: endif
  2135. line 28: if i < 0
  2136. line 29: " not found, nothing to do
  2137. line 30: return
  2138. function <SNR>6_Highlight_Matching_Pair returning #0
  2139.  
  2140. continuing in CursorMovedI Auto commands for "*"
  2141.  
  2142. Executing CursorMovedI Auto commands for "*"
  2143. autocommand call s:Highlight_Matching_Pair()
  2144.  
  2145. line 0: call s:Highlight_Matching_Pair()
  2146. calling function <SNR>6_Highlight_Matching_Pair()
  2147.  
  2148. line 1: " Remove any previous match.
  2149. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2150. line 3: 3match none
  2151. line 4: let w:paren_hl_on = 0
  2152. line 5: endif
  2153. line 6:
  2154. line 7: " Avoid that we remove the popup menu.
  2155. line 8: " Return when there are no colors (looks like the cursor jumps).
  2156. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2157. line 10: return
  2158. line 11: endif
  2159. line 12:
  2160. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2161. line 14: let c_lnum = line('.')
  2162. line 15: let c_col = col('.')
  2163. line 16: let before = 0
  2164. line 17:
  2165. line 18: let c = getline(c_lnum)[c_col - 1]
  2166. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2167. line 20: let i = index(plist, c)
  2168. line 21: if i < 0
  2169. line 22: " not found, in Insert mode try character before the cursor
  2170. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2171. line 24: let before = 1
  2172. line 25: let c = getline(c_lnum)[c_col - 2]
  2173. line 26: let i = index(plist, c)
  2174. line 27: endif
  2175. line 28: if i < 0
  2176. line 29: " not found, nothing to do
  2177. line 30: return
  2178. function <SNR>6_Highlight_Matching_Pair returning #0
  2179.  
  2180. continuing in CursorMovedI Auto commands for "*"
  2181. -- INSERT --
  2182. Executing CursorMovedI Auto commands for "*"
  2183. autocommand call s:Highlight_Matching_Pair()
  2184.  
  2185. line 0: call s:Highlight_Matching_Pair()
  2186. calling function <SNR>6_Highlight_Matching_Pair()
  2187.  
  2188. line 1: " Remove any previous match.
  2189. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2190. line 3: 3match none
  2191. line 4: let w:paren_hl_on = 0
  2192. line 5: endif
  2193. line 6:
  2194. line 7: " Avoid that we remove the popup menu.
  2195. line 8: " Return when there are no colors (looks like the cursor jumps).
  2196. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2197. line 10: return
  2198. line 11: endif
  2199. line 12:
  2200. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2201. line 14: let c_lnum = line('.')
  2202. line 15: let c_col = col('.')
  2203. line 16: let before = 0
  2204. line 17:
  2205. line 18: let c = getline(c_lnum)[c_col - 1]
  2206. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2207. line 20: let i = index(plist, c)
  2208. line 21: if i < 0
  2209. line 22: " not found, in Insert mode try character before the cursor
  2210. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2211. line 24: let before = 1
  2212. line 25: let c = getline(c_lnum)[c_col - 2]
  2213. line 26: let i = index(plist, c)
  2214. line 27: endif
  2215. line 28: if i < 0
  2216. line 29: " not found, nothing to do
  2217. line 30: return
  2218. function <SNR>6_Highlight_Matching_Pair returning #0
  2219.  
  2220. continuing in CursorMovedI Auto commands for "*"
  2221. -- INSERT --
  2222. Executing CursorMovedI Auto commands for "*"
  2223. autocommand call s:Highlight_Matching_Pair()
  2224.  
  2225. line 0: call s:Highlight_Matching_Pair()
  2226. calling function <SNR>6_Highlight_Matching_Pair()
  2227.  
  2228. line 1: " Remove any previous match.
  2229. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2230. line 3: 3match none
  2231. line 4: let w:paren_hl_on = 0
  2232. line 5: endif
  2233. line 6:
  2234. line 7: " Avoid that we remove the popup menu.
  2235. line 8: " Return when there are no colors (looks like the cursor jumps).
  2236. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2237. line 10: return
  2238. line 11: endif
  2239. line 12:
  2240. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2241. line 14: let c_lnum = line('.')
  2242. line 15: let c_col = col('.')
  2243. line 16: let before = 0
  2244. line 17:
  2245. line 18: let c = getline(c_lnum)[c_col - 1]
  2246. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2247. line 20: let i = index(plist, c)
  2248. line 21: if i < 0
  2249. line 22: " not found, in Insert mode try character before the cursor
  2250. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2251. line 24: let before = 1
  2252. line 25: let c = getline(c_lnum)[c_col - 2]
  2253. line 26: let i = index(plist, c)
  2254. line 27: endif
  2255. line 28: if i < 0
  2256. line 29: " not found, nothing to do
  2257. line 30: return
  2258. function <SNR>6_Highlight_Matching_Pair returning #0
  2259.  
  2260. continuing in CursorMovedI Auto commands for "*"
  2261.  
  2262. Executing CursorMovedI Auto commands for "*"
  2263. autocommand call s:Highlight_Matching_Pair()
  2264.  
  2265. line 0: call s:Highlight_Matching_Pair()
  2266. calling function <SNR>6_Highlight_Matching_Pair()
  2267.  
  2268. line 1: " Remove any previous match.
  2269. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2270. line 3: 3match none
  2271. line 4: let w:paren_hl_on = 0
  2272. line 5: endif
  2273. line 6:
  2274. line 7: " Avoid that we remove the popup menu.
  2275. line 8: " Return when there are no colors (looks like the cursor jumps).
  2276. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2277. line 10: return
  2278. line 11: endif
  2279. line 12:
  2280. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2281. line 14: let c_lnum = line('.')
  2282. line 15: let c_col = col('.')
  2283. line 16: let before = 0
  2284. line 17:
  2285. line 18: let c = getline(c_lnum)[c_col - 1]
  2286. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2287. line 20: let i = index(plist, c)
  2288. line 21: if i < 0
  2289. line 22: " not found, in Insert mode try character before the cursor
  2290. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2291. line 24: let before = 1
  2292. line 25: let c = getline(c_lnum)[c_col - 2]
  2293. line 26: let i = index(plist, c)
  2294. line 27: endif
  2295. line 28: if i < 0
  2296. line 29: " not found, nothing to do
  2297. line 30: return
  2298. function <SNR>6_Highlight_Matching_Pair returning #0
  2299.  
  2300. continuing in CursorMovedI Auto commands for "*"
  2301.  
  2302. Executing CursorMovedI Auto commands for "*"
  2303. autocommand call s:Highlight_Matching_Pair()
  2304.  
  2305. line 0: call s:Highlight_Matching_Pair()
  2306. calling function <SNR>6_Highlight_Matching_Pair()
  2307.  
  2308. line 1: " Remove any previous match.
  2309. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2310. line 3: 3match none
  2311. line 4: let w:paren_hl_on = 0
  2312. line 5: endif
  2313. line 6:
  2314. line 7: " Avoid that we remove the popup menu.
  2315. line 8: " Return when there are no colors (looks like the cursor jumps).
  2316. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2317. line 10: return
  2318. line 11: endif
  2319. line 12:
  2320. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2321. line 14: let c_lnum = line('.')
  2322. line 15: let c_col = col('.')
  2323. line 16: let before = 0
  2324. line 17:
  2325. line 18: let c = getline(c_lnum)[c_col - 1]
  2326. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2327. line 20: let i = index(plist, c)
  2328. line 21: if i < 0
  2329. line 22: " not found, in Insert mode try character before the cursor
  2330. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2331. line 24: let before = 1
  2332. line 25: let c = getline(c_lnum)[c_col - 2]
  2333. line 26: let i = index(plist, c)
  2334. line 27: endif
  2335. line 28: if i < 0
  2336. line 29: " not found, nothing to do
  2337. line 30: return
  2338. function <SNR>6_Highlight_Matching_Pair returning #0
  2339.  
  2340. continuing in CursorMovedI Auto commands for "*"
  2341.  
  2342. Executing CursorMovedI Auto commands for "*"
  2343. autocommand call s:Highlight_Matching_Pair()
  2344.  
  2345. line 0: call s:Highlight_Matching_Pair()
  2346. calling function <SNR>6_Highlight_Matching_Pair()
  2347.  
  2348. line 1: " Remove any previous match.
  2349. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2350. line 3: 3match none
  2351. line 4: let w:paren_hl_on = 0
  2352. line 5: endif
  2353. line 6:
  2354. line 7: " Avoid that we remove the popup menu.
  2355. line 8: " Return when there are no colors (looks like the cursor jumps).
  2356. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2357. line 10: return
  2358. line 11: endif
  2359. line 12:
  2360. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2361. line 14: let c_lnum = line('.')
  2362. line 15: let c_col = col('.')
  2363. line 16: let before = 0
  2364. line 17:
  2365. line 18: let c = getline(c_lnum)[c_col - 1]
  2366. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2367. line 20: let i = index(plist, c)
  2368. line 21: if i < 0
  2369. line 22: " not found, in Insert mode try character before the cursor
  2370. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2371. line 24: let before = 1
  2372. line 25: let c = getline(c_lnum)[c_col - 2]
  2373. line 26: let i = index(plist, c)
  2374. line 27: endif
  2375. line 28: if i < 0
  2376. line 29: " not found, nothing to do
  2377. line 30: return
  2378. function <SNR>6_Highlight_Matching_Pair returning #0
  2379.  
  2380. continuing in CursorMovedI Auto commands for "*"
  2381. -- INSERT --
  2382. Executing CursorMovedI Auto commands for "*"
  2383. autocommand call s:Highlight_Matching_Pair()
  2384.  
  2385. line 0: call s:Highlight_Matching_Pair()
  2386. calling function <SNR>6_Highlight_Matching_Pair()
  2387.  
  2388. line 1: " Remove any previous match.
  2389. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2390. line 3: 3match none
  2391. line 4: let w:paren_hl_on = 0
  2392. line 5: endif
  2393. line 6:
  2394. line 7: " Avoid that we remove the popup menu.
  2395. line 8: " Return when there are no colors (looks like the cursor jumps).
  2396. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2397. line 10: return
  2398. line 11: endif
  2399. line 12:
  2400. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2401. line 14: let c_lnum = line('.')
  2402. line 15: let c_col = col('.')
  2403. line 16: let before = 0
  2404. line 17:
  2405. line 18: let c = getline(c_lnum)[c_col - 1]
  2406. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2407. line 20: let i = index(plist, c)
  2408. line 21: if i < 0
  2409. line 22: " not found, in Insert mode try character before the cursor
  2410. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2411. line 24: let before = 1
  2412. line 25: let c = getline(c_lnum)[c_col - 2]
  2413. line 26: let i = index(plist, c)
  2414. line 27: endif
  2415. line 28: if i < 0
  2416. line 29: " not found, nothing to do
  2417. line 30: return
  2418. function <SNR>6_Highlight_Matching_Pair returning #0
  2419.  
  2420. continuing in CursorMovedI Auto commands for "*"
  2421.  
  2422. Executing CursorMovedI Auto commands for "*"
  2423. autocommand call s:Highlight_Matching_Pair()
  2424.  
  2425. line 0: call s:Highlight_Matching_Pair()
  2426. calling function <SNR>6_Highlight_Matching_Pair()
  2427.  
  2428. line 1: " Remove any previous match.
  2429. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2430. line 3: 3match none
  2431. line 4: let w:paren_hl_on = 0
  2432. line 5: endif
  2433. line 6:
  2434. line 7: " Avoid that we remove the popup menu.
  2435. line 8: " Return when there are no colors (looks like the cursor jumps).
  2436. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2437. line 10: return
  2438. line 11: endif
  2439. line 12:
  2440. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2441. line 14: let c_lnum = line('.')
  2442. line 15: let c_col = col('.')
  2443. line 16: let before = 0
  2444. line 17:
  2445. line 18: let c = getline(c_lnum)[c_col - 1]
  2446. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2447. line 20: let i = index(plist, c)
  2448. line 21: if i < 0
  2449. line 22: " not found, in Insert mode try character before the cursor
  2450. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2451. line 24: let before = 1
  2452. line 25: let c = getline(c_lnum)[c_col - 2]
  2453. line 26: let i = index(plist, c)
  2454. line 27: endif
  2455. line 28: if i < 0
  2456. line 29: " not found, nothing to do
  2457. line 30: return
  2458. function <SNR>6_Highlight_Matching_Pair returning #0
  2459.  
  2460. continuing in CursorMovedI Auto commands for "*"
  2461.  
  2462. Executing CursorMovedI Auto commands for "*"
  2463. autocommand call s:Highlight_Matching_Pair()
  2464.  
  2465. line 0: call s:Highlight_Matching_Pair()
  2466. calling function <SNR>6_Highlight_Matching_Pair()
  2467.  
  2468. line 1: " Remove any previous match.
  2469. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2470. line 3: 3match none
  2471. line 4: let w:paren_hl_on = 0
  2472. line 5: endif
  2473. line 6:
  2474. line 7: " Avoid that we remove the popup menu.
  2475. line 8: " Return when there are no colors (looks like the cursor jumps).
  2476. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2477. line 10: return
  2478. line 11: endif
  2479. line 12:
  2480. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2481. line 14: let c_lnum = line('.')
  2482. line 15: let c_col = col('.')
  2483. line 16: let before = 0
  2484. line 17:
  2485. line 18: let c = getline(c_lnum)[c_col - 1]
  2486. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2487. line 20: let i = index(plist, c)
  2488. line 21: if i < 0
  2489. line 22: " not found, in Insert mode try character before the cursor
  2490. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2491. line 24: let before = 1
  2492. line 25: let c = getline(c_lnum)[c_col - 2]
  2493. line 26: let i = index(plist, c)
  2494. line 27: endif
  2495. line 28: if i < 0
  2496. line 29: " not found, nothing to do
  2497. line 30: return
  2498. function <SNR>6_Highlight_Matching_Pair returning #0
  2499.  
  2500. continuing in CursorMovedI Auto commands for "*"
  2501.  
  2502. Executing CursorMovedI Auto commands for "*"
  2503. autocommand call s:Highlight_Matching_Pair()
  2504.  
  2505. line 0: call s:Highlight_Matching_Pair()
  2506. calling function <SNR>6_Highlight_Matching_Pair()
  2507.  
  2508. line 1: " Remove any previous match.
  2509. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2510. line 3: 3match none
  2511. line 4: let w:paren_hl_on = 0
  2512. line 5: endif
  2513. line 6:
  2514. line 7: " Avoid that we remove the popup menu.
  2515. line 8: " Return when there are no colors (looks like the cursor jumps).
  2516. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2517. line 10: return
  2518. line 11: endif
  2519. line 12:
  2520. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2521. line 14: let c_lnum = line('.')
  2522. line 15: let c_col = col('.')
  2523. line 16: let before = 0
  2524. line 17:
  2525. line 18: let c = getline(c_lnum)[c_col - 1]
  2526. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2527. line 20: let i = index(plist, c)
  2528. line 21: if i < 0
  2529. line 22: " not found, in Insert mode try character before the cursor
  2530. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2531. line 24: let before = 1
  2532. line 25: let c = getline(c_lnum)[c_col - 2]
  2533. line 26: let i = index(plist, c)
  2534. line 27: endif
  2535. line 28: if i < 0
  2536. line 29: " not found, nothing to do
  2537. line 30: return
  2538. function <SNR>6_Highlight_Matching_Pair returning #0
  2539.  
  2540. continuing in CursorMovedI Auto commands for "*"
  2541.  
  2542. Executing CursorMovedI Auto commands for "*"
  2543. autocommand call s:Highlight_Matching_Pair()
  2544.  
  2545. line 0: call s:Highlight_Matching_Pair()
  2546. calling function <SNR>6_Highlight_Matching_Pair()
  2547.  
  2548. line 1: " Remove any previous match.
  2549. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2550. line 3: 3match none
  2551. line 4: let w:paren_hl_on = 0
  2552. line 5: endif
  2553. line 6:
  2554. line 7: " Avoid that we remove the popup menu.
  2555. line 8: " Return when there are no colors (looks like the cursor jumps).
  2556. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2557. line 10: return
  2558. line 11: endif
  2559. line 12:
  2560. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2561. line 14: let c_lnum = line('.')
  2562. line 15: let c_col = col('.')
  2563. line 16: let before = 0
  2564. line 17:
  2565. line 18: let c = getline(c_lnum)[c_col - 1]
  2566. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2567. line 20: let i = index(plist, c)
  2568. line 21: if i < 0
  2569. line 22: " not found, in Insert mode try character before the cursor
  2570. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2571. line 24: let before = 1
  2572. line 25: let c = getline(c_lnum)[c_col - 2]
  2573. line 26: let i = index(plist, c)
  2574. line 27: endif
  2575. line 28: if i < 0
  2576. line 29: " not found, nothing to do
  2577. line 30: return
  2578. function <SNR>6_Highlight_Matching_Pair returning #0
  2579.  
  2580. continuing in CursorMovedI Auto commands for "*"
  2581.  
  2582. Executing CursorMovedI Auto commands for "*"
  2583. autocommand call s:Highlight_Matching_Pair()
  2584.  
  2585. line 0: call s:Highlight_Matching_Pair()
  2586. calling function <SNR>6_Highlight_Matching_Pair()
  2587.  
  2588. line 1: " Remove any previous match.
  2589. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2590. line 3: 3match none
  2591. line 4: let w:paren_hl_on = 0
  2592. line 5: endif
  2593. line 6:
  2594. line 7: " Avoid that we remove the popup menu.
  2595. line 8: " Return when there are no colors (looks like the cursor jumps).
  2596. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2597. line 10: return
  2598. line 11: endif
  2599. line 12:
  2600. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2601. line 14: let c_lnum = line('.')
  2602. line 15: let c_col = col('.')
  2603. line 16: let before = 0
  2604. line 17:
  2605. line 18: let c = getline(c_lnum)[c_col - 1]
  2606. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2607. line 20: let i = index(plist, c)
  2608. line 21: if i < 0
  2609. line 22: " not found, in Insert mode try character before the cursor
  2610. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2611. line 24: let before = 1
  2612. line 25: let c = getline(c_lnum)[c_col - 2]
  2613. line 26: let i = index(plist, c)
  2614. line 27: endif
  2615. line 28: if i < 0
  2616. line 29: " not found, nothing to do
  2617. line 30: return
  2618. function <SNR>6_Highlight_Matching_Pair returning #0
  2619.  
  2620. continuing in CursorMovedI Auto commands for "*"
  2621.  
  2622. Executing CursorMovedI Auto commands for "*"
  2623. autocommand call s:Highlight_Matching_Pair()
  2624.  
  2625. line 0: call s:Highlight_Matching_Pair()
  2626. calling function <SNR>6_Highlight_Matching_Pair()
  2627.  
  2628. line 1: " Remove any previous match.
  2629. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2630. line 3: 3match none
  2631. line 4: let w:paren_hl_on = 0
  2632. line 5: endif
  2633. line 6:
  2634. line 7: " Avoid that we remove the popup menu.
  2635. line 8: " Return when there are no colors (looks like the cursor jumps).
  2636. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2637. line 10: return
  2638. line 11: endif
  2639. line 12:
  2640. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2641. line 14: let c_lnum = line('.')
  2642. line 15: let c_col = col('.')
  2643. line 16: let before = 0
  2644. line 17:
  2645. line 18: let c = getline(c_lnum)[c_col - 1]
  2646. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2647. line 20: let i = index(plist, c)
  2648. line 21: if i < 0
  2649. line 22: " not found, in Insert mode try character before the cursor
  2650. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2651. line 24: let before = 1
  2652. line 25: let c = getline(c_lnum)[c_col - 2]
  2653. line 26: let i = index(plist, c)
  2654. line 27: endif
  2655. line 28: if i < 0
  2656. line 29: " not found, nothing to do
  2657. line 30: return
  2658. function <SNR>6_Highlight_Matching_Pair returning #0
  2659.  
  2660. continuing in CursorMovedI Auto commands for "*"
  2661.  
  2662. Executing CursorMovedI Auto commands for "*"
  2663. autocommand call s:Highlight_Matching_Pair()
  2664.  
  2665. line 0: call s:Highlight_Matching_Pair()
  2666. calling function <SNR>6_Highlight_Matching_Pair()
  2667.  
  2668. line 1: " Remove any previous match.
  2669. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2670. line 3: 3match none
  2671. line 4: let w:paren_hl_on = 0
  2672. line 5: endif
  2673. line 6:
  2674. line 7: " Avoid that we remove the popup menu.
  2675. line 8: " Return when there are no colors (looks like the cursor jumps).
  2676. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2677. line 10: return
  2678. line 11: endif
  2679. line 12:
  2680. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2681. line 14: let c_lnum = line('.')
  2682. line 15: let c_col = col('.')
  2683. line 16: let before = 0
  2684. line 17:
  2685. line 18: let c = getline(c_lnum)[c_col - 1]
  2686. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2687. line 20: let i = index(plist, c)
  2688. line 21: if i < 0
  2689. line 22: " not found, in Insert mode try character before the cursor
  2690. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2691. line 24: let before = 1
  2692. line 25: let c = getline(c_lnum)[c_col - 2]
  2693. line 26: let i = index(plist, c)
  2694. line 27: endif
  2695. line 28: if i < 0
  2696. line 29: " not found, nothing to do
  2697. line 30: return
  2698. function <SNR>6_Highlight_Matching_Pair returning #0
  2699.  
  2700. continuing in CursorMovedI Auto commands for "*"
  2701.  
  2702. Executing CursorMovedI Auto commands for "*"
  2703. autocommand call s:Highlight_Matching_Pair()
  2704.  
  2705. line 0: call s:Highlight_Matching_Pair()
  2706. calling function <SNR>6_Highlight_Matching_Pair()
  2707.  
  2708. line 1: " Remove any previous match.
  2709. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2710. line 3: 3match none
  2711. line 4: let w:paren_hl_on = 0
  2712. line 5: endif
  2713. line 6:
  2714. line 7: " Avoid that we remove the popup menu.
  2715. line 8: " Return when there are no colors (looks like the cursor jumps).
  2716. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2717. line 10: return
  2718. line 11: endif
  2719. line 12:
  2720. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2721. line 14: let c_lnum = line('.')
  2722. line 15: let c_col = col('.')
  2723. line 16: let before = 0
  2724. line 17:
  2725. line 18: let c = getline(c_lnum)[c_col - 1]
  2726. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2727. line 20: let i = index(plist, c)
  2728. line 21: if i < 0
  2729. line 22: " not found, in Insert mode try character before the cursor
  2730. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2731. line 24: let before = 1
  2732. line 25: let c = getline(c_lnum)[c_col - 2]
  2733. line 26: let i = index(plist, c)
  2734. line 27: endif
  2735. line 28: if i < 0
  2736. line 29: " not found, nothing to do
  2737. line 30: return
  2738. function <SNR>6_Highlight_Matching_Pair returning #0
  2739.  
  2740. continuing in CursorMovedI Auto commands for "*"
  2741.  
  2742.  
  2743. Executing CursorMoved Auto commands for "*"
  2744. autocommand call s:Highlight_Matching_Pair()
  2745.  
  2746. line 0: call s:Highlight_Matching_Pair()
  2747. calling function <SNR>6_Highlight_Matching_Pair()
  2748.  
  2749. line 1: " Remove any previous match.
  2750. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2751. line 3: 3match none
  2752. line 4: let w:paren_hl_on = 0
  2753. line 5: endif
  2754. line 6:
  2755. line 7: " Avoid that we remove the popup menu.
  2756. line 8: " Return when there are no colors (looks like the cursor jumps).
  2757. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2758. line 10: return
  2759. line 11: endif
  2760. line 12:
  2761. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2762. line 14: let c_lnum = line('.')
  2763. line 15: let c_col = col('.')
  2764. line 16: let before = 0
  2765. line 17:
  2766. line 18: let c = getline(c_lnum)[c_col - 1]
  2767. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2768. line 20: let i = index(plist, c)
  2769. line 21: if i < 0
  2770. line 22: " not found, in Insert mode try character before the cursor
  2771. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2772. line 24: let before = 1
  2773. line 25: let c = getline(c_lnum)[c_col - 2]
  2774. line 26: let i = index(plist, c)
  2775. line 27: endif
  2776. line 28: if i < 0
  2777. line 29: " not found, nothing to do
  2778. line 30: return
  2779. function <SNR>6_Highlight_Matching_Pair returning #0
  2780.  
  2781. continuing in CursorMoved Auto commands for "*"
  2782.  
  2783. Executing TextChanged Auto commands for "*"
  2784. autocommand call s:Highlight_Matching_Pair()
  2785.  
  2786. line 0: call s:Highlight_Matching_Pair()
  2787. calling function <SNR>6_Highlight_Matching_Pair()
  2788.  
  2789. line 1: " Remove any previous match.
  2790. line 2: if exists('w:paren_hl_on') && w:paren_hl_on
  2791. line 3: 3match none
  2792. line 4: let w:paren_hl_on = 0
  2793. line 5: endif
  2794. line 6:
  2795. line 7: " Avoid that we remove the popup menu.
  2796. line 8: " Return when there are no colors (looks like the cursor jumps).
  2797. line 9: if pumvisible() || (&t_Co < 8 && !has("gui_running"))
  2798. line 10: return
  2799. line 11: endif
  2800. line 12:
  2801. line 13: " Get the character under the cursor and check if it's in 'matchpairs'.
  2802. line 14: let c_lnum = line('.')
  2803. line 15: let c_col = col('.')
  2804. line 16: let before = 0
  2805. line 17:
  2806. line 18: let c = getline(c_lnum)[c_col - 1]
  2807. line 19: let plist = split(&matchpairs, '.\zs[:,]')
  2808. line 20: let i = index(plist, c)
  2809. line 21: if i < 0
  2810. line 22: " not found, in Insert mode try character before the cursor
  2811. line 23: if c_col > 1 && (mode() == 'i' || mode() == 'R')
  2812. line 24: let before = 1
  2813. line 25: let c = getline(c_lnum)[c_col - 2]
  2814. line 26: let i = index(plist, c)
  2815. line 27: endif
  2816. line 28: if i < 0
  2817. line 29: " not found, nothing to do
  2818. line 30: return
  2819. function <SNR>6_Highlight_Matching_Pair returning #0
  2820.  
  2821. continuing in TextChanged Auto commands for "*"
  2822.  
  2823.  
  2824. "autoload\pathogen.vim"
  2825. "autoload\pathogen.vim" 327L, 12074C written
  2826. Executing BufWinLeave Auto commands for "*"
  2827. autocommand silent! mkview
  2828.  
  2829. line 0: silent! mkview
  2830. Error detected while processing BufWinLeave Auto commands for "*":
  2831. E739: Cannot create directory: C:\Program Files (x86)\Vim/vimfiles/view
  2832. Error detected while processing BufWinLeave Auto commands for "*":
  2833. E190: Cannot open "C:\Program Files (x86)\Vim/vimfiles/view\~=+vimfiles=+autoload=+pathogen.vim=" for writing
  2834. Writing viminfo file "\\nyprodfs01\profiles$\kharper\_viminfo"
Advertisement
Add Comment
Please, Sign In to add comment