Skip to content
This repository
Browse code

- Converted markers.

  • Loading branch information...
commit 0cbcac05f20795ca0b50724addd2a56c54947854 1 parent d3b19f3
Shougo authored December 13, 2012

Showing 24 changed files with 296 additions and 296 deletions. Show diff stats Hide diff stats

  1. 52  autoload/neocomplcache.vim
  2. 26  autoload/neocomplcache/async_cache.vim
  3. 30  autoload/neocomplcache/cache.vim
  4. 8  autoload/neocomplcache/sources/abbrev_complete.vim
  5. 50  autoload/neocomplcache/sources/buffer_complete.vim
  6. 16  autoload/neocomplcache/sources/dictionary_complete.vim
  7. 16  autoload/neocomplcache/sources/filename_complete.vim
  8. 20  autoload/neocomplcache/sources/filename_include.vim
  9. 46  autoload/neocomplcache/sources/include_complete.vim
  10. 32  autoload/neocomplcache/sources/member_complete.vim
  11. 24  autoload/neocomplcache/sources/omni_complete.vim
  12. 24  autoload/neocomplcache/sources/syntax_complete.vim
  13. 12  autoload/neocomplcache/sources/tags_complete.vim
  14. 16  autoload/neocomplcache/sources/vim_complete.vim
  15. 112  autoload/neocomplcache/sources/vim_complete/helper.vim
  16. 44  autoload/neocomplcache/util.vim
  17. 4  autoload/unite/sources/file_include.vim
  18. 46  autoload/vital/_9813ec6/prelude.vim
  19. 4  plugin/neocomplcache.vim
  20. 2  plugin/neocomplcache/buffer_complete.vim
  21. 2  plugin/neocomplcache/dictionary_complete.vim
  22. 2  plugin/neocomplcache/include_complete.vim
  23. 2  plugin/neocomplcache/syntax_complete.vim
  24. 2  plugin/neocomplcache/tags_complete.vim
52  autoload/neocomplcache.vim
@@ -65,7 +65,7 @@ function! neocomplcache#enable() "{{{
65 65
     return
66 66
   endif
67 67
 
68  
-  " Auto commands."{{{
  68
+  " Auto commands. "{{{
69 69
   augroup neocomplcache
70 70
     autocmd!
71 71
     autocmd InsertEnter * call s:on_insert_enter()
@@ -99,7 +99,7 @@ function! neocomplcache#enable() "{{{
99 99
 
100 100
   call s:initialize_variables()
101 101
 
102  
-  " Initialize keyword patterns."{{{
  102
+  " Initialize keyword patterns. "{{{
103 103
   call neocomplcache#util#set_default(
104 104
         \ 'g:neocomplcache_keyword_patterns', {})
105 105
   call neocomplcache#util#set_default_dictionary(
@@ -324,7 +324,7 @@ function! neocomplcache#enable() "{{{
324 324
         \'\h\w*')
325 325
   "}}}
326 326
 
327  
-  " Initialize next keyword patterns."{{{
  327
+  " Initialize next keyword patterns. "{{{
328 328
   call neocomplcache#util#set_default(
329 329
         \ 'g:neocomplcache_next_keyword_patterns', {})
330 330
   call neocomplcache#util#set_default_dictionary(
@@ -347,7 +347,7 @@ function! neocomplcache#enable() "{{{
347 347
         \'[[:alnum:]_:-]*>\|[^"]*"')
348 348
   "}}}
349 349
 
350  
-  " Initialize same file type lists."{{{
  350
+  " Initialize same file type lists. "{{{
351 351
   call neocomplcache#util#set_default(
352 352
         \ 'g:neocomplcache_same_filetype_lists', {})
353 353
   call neocomplcache#util#set_default_dictionary(
@@ -462,7 +462,7 @@ function! neocomplcache#enable() "{{{
462 462
         \ 'int-php', 'php')
463 463
   "}}}
464 464
 
465  
-  " Initialize context filetype lists."{{{
  465
+  " Initialize context filetype lists. "{{{
466 466
   call neocomplcache#util#set_default(
467 467
         \ 'g:neocomplcache_context_filetype_lists', {})
468 468
   call neocomplcache#util#set_default_dictionary(
@@ -541,7 +541,7 @@ function! neocomplcache#enable() "{{{
541 541
         \])
542 542
   "}}}
543 543
 
544  
-  " Initialize delimiter patterns."{{{
  544
+  " Initialize delimiter patterns. "{{{
545 545
   call neocomplcache#util#set_default(
546 546
         \ 'g:neocomplcache_delimiter_patterns', {})
547 547
   call neocomplcache#util#set_default_dictionary(
@@ -575,7 +575,7 @@ function! neocomplcache#enable() "{{{
575 575
         \ 'perl6', ['\.', '::'])
576 576
   "}}}
577 577
 
578  
-  " Initialize ctags arguments."{{{
  578
+  " Initialize ctags arguments. "{{{
579 579
   call neocomplcache#util#set_default(
580 580
         \ 'g:neocomplcache_ctags_arguments_list', {})
581 581
   call neocomplcache#util#set_default_dictionary(
@@ -607,7 +607,7 @@ function! neocomplcache#enable() "{{{
607 607
         \   '__attribute_pure__,__attribute_warn_unused_result__,__attribute__+')
608 608
   "}}}
609 609
 
610  
-  " Initialize text mode filetypes."{{{
  610
+  " Initialize text mode filetypes. "{{{
611 611
   call neocomplcache#util#set_default(
612 612
         \ 'g:neocomplcache_text_mode_filetypes', {})
613 613
   call neocomplcache#util#set_default_dictionary(
@@ -615,7 +615,7 @@ function! neocomplcache#enable() "{{{
615 615
         \ 'text,help,tex,gitcommit,vcs-commit', 1)
616 616
   "}}}
617 617
 
618  
-  " Initialize tags filter patterns."{{{
  618
+  " Initialize tags filter patterns. "{{{
619 619
   call neocomplcache#util#set_default(
620 620
         \ 'g:neocomplcache_tags_filter_patterns', {})
621 621
   call neocomplcache#util#set_default_dictionary(
@@ -623,7 +623,7 @@ function! neocomplcache#enable() "{{{
623 623
         \'v:val.word !~ ''^[~_]''')
624 624
   "}}}
625 625
 
626  
-  " Initialize force omni completion pattern."{{{
  626
+  " Initialize force omni completion pattern. "{{{
627 627
   call neocomplcache#util#set_default(
628 628
         \ 'g:neocomplcache_force_omni_patterns', {})
629 629
   call neocomplcache#util#set_default_dictionary(
@@ -635,7 +635,7 @@ function! neocomplcache#enable() "{{{
635 635
   call neocomplcache#util#set_default(
636 636
         \ 'g:neocomplcache_ignore_composite_filetype_lists', {})
637 637
 
638  
-  " Add commands."{{{
  638
+  " Add commands. "{{{
639 639
   command! -nargs=? Neco call s:display_neco(<q-args>)
640 640
   command! -nargs=1 NeoComplCacheAutoCompletionLength
641 641
         \ call s:set_auto_completion_length(<args>)
@@ -650,7 +650,7 @@ function! neocomplcache#enable() "{{{
650 650
     let g:neocomplcache_min_keyword_length = 1
651 651
   endif
652 652
 
653  
-  " Initialize omni function list."{{{
  653
+  " Initialize omni function list. "{{{
654 654
   if !exists('g:neocomplcache_omni_functions')
655 655
     let g:neocomplcache_omni_functions = {}
656 656
   endif
@@ -946,7 +946,7 @@ function! s:check_in_do_auto_complete() "{{{
946 946
   endif
947 947
 endfunction"}}}
948 948
 
949  
-" Source helper."{{{
  949
+" Source helper. "{{{
950 950
 function! neocomplcache#available_complfuncs() "{{{
951 951
   return s:complfunc_sources
952 952
 endfunction"}}}
@@ -1019,7 +1019,7 @@ function! neocomplcache#keyword_escape(cur_keyword_str) "{{{
1019 1019
             \   pattern, 'g') . keyword_escape[13:]
1020 1020
     endif
1021 1021
   else
1022  
-    " Underbar completion."{{{
  1022
+    " Underbar completion. "{{{
1023 1023
     if g:neocomplcache_enable_underbar_completion
1024 1024
           \ && keyword_escape =~ '[^_]_\|^_'
1025 1025
       let keyword_escape = substitute(keyword_escape,
@@ -1031,7 +1031,7 @@ function! neocomplcache#keyword_escape(cur_keyword_str) "{{{
1031 1031
             \ '[^-]\zs-', '[^-]*-', 'g')
1032 1032
     endif
1033 1033
     "}}}
1034  
-    " Camel case completion."{{{
  1034
+    " Camel case completion. "{{{
1035 1035
     if g:neocomplcache_enable_camel_case_completion
1036 1036
           \ && keyword_escape =~ '\u\?\U*'
1037 1037
       let keyword_escape =
@@ -1238,7 +1238,7 @@ function! neocomplcache#add_dictionaries(dictionaries) "{{{
1238 1238
   return ret
1239 1239
 endfunction"}}}
1240 1240
 
1241  
-" Rank order."{{{
  1241
+" Rank order. "{{{
1242 1242
 function! neocomplcache#compare_rank(i1, i2)
1243 1243
   let diff = get(a:i2, 'rank', 0) - get(a:i1, 'rank', 0)
1244 1244
   if !diff
@@ -1246,15 +1246,15 @@ function! neocomplcache#compare_rank(i1, i2)
1246 1246
   endif
1247 1247
   return diff
1248 1248
 endfunction"}}}
1249  
-" Word order."{{{
  1249
+" Word order. "{{{
1250 1250
 function! neocomplcache#compare_word(i1, i2)
1251 1251
   return (a:i1.word ># a:i2.word) ? 1 : -1
1252 1252
 endfunction"}}}
1253  
-" Nothing order."{{{
  1253
+" Nothing order. "{{{
1254 1254
 function! neocomplcache#compare_nothing(i1, i2)
1255 1255
   return 0
1256 1256
 endfunction"}}}
1257  
-" Human order."{{{
  1257
+" Human order. "{{{
1258 1258
 function! neocomplcache#compare_human(i1, i2)
1259 1259
   let words_1 = map(split(a:i1.word, '\D\zs\ze\d'),
1260 1260
         \ "v:val =~ '^\\d' ? str2nr(v:val) : v:val")
@@ -1274,12 +1274,12 @@ function! neocomplcache#compare_human(i1, i2)
1274 1274
   return words_1_len - words_2_len
1275 1275
 endfunction"}}}
1276 1276
 
1277  
-" Source rank order."{{{
  1277
+" Source rank order. "{{{
1278 1278
 function! s:compare_source_rank(i1, i2)
1279 1279
   return neocomplcache#get_source_rank(a:i2[0]) -
1280 1280
         \ neocomplcache#get_source_rank(a:i1[0])
1281 1281
 endfunction"}}}
1282  
-" Pos order."{{{
  1282
+" Pos order. "{{{
1283 1283
 function! s:compare_pos(i1, i2)
1284 1284
   return a:i1[0] == a:i2[0] ? a:i1[1] - a:i2[1] : a:i1[0] - a:i2[0]
1285 1285
 endfunction"}}}
@@ -1860,7 +1860,7 @@ function! s:set_complete_results_pos(cur_text, ...) "{{{
1860 1860
     call filter(sources, '!neocomplcache#is_plugin_locked(v:key)')
1861 1861
   endif
1862 1862
 
1863  
-  " Try source completion."{{{
  1863
+  " Try source completion. "{{{
1864 1864
   let complete_results = {}
1865 1865
   for [source_name, source] in items(sources)
1866 1866
     if source.kind ==# 'plugin'
@@ -1992,7 +1992,7 @@ function! neocomplcache#filetype_complete(arglead, cmdline, cursorpos) "{{{
1992 1992
 endfunction"}}}
1993 1993
 "}}}
1994 1994
 
1995  
-" Command functions."{{{
  1995
+" Command functions. "{{{
1996 1996
 function! neocomplcache#toggle_lock() "{{{
1997 1997
   if !neocomplcache#is_enabled()
1998 1998
     call neocomplcache#enable()
@@ -2215,7 +2215,7 @@ function! s:set_auto_completion_length(len) "{{{
2215 2215
 endfunction"}}}
2216 2216
 "}}}
2217 2217
 
2218  
-" Key mapping functions."{{{
  2218
+" Key mapping functions. "{{{
2219 2219
 function! neocomplcache#smart_close_popup() "{{{
2220 2220
   return g:neocomplcache_enable_auto_select ?
2221 2221
         \ neocomplcache#cancel_popup() : neocomplcache#close_popup()
@@ -2349,7 +2349,7 @@ function! neocomplcache#start_manual_complete_list(cur_keyword_pos, cur_keyword_
2349 2349
 endfunction"}}}
2350 2350
 "}}}
2351 2351
 
2352  
-" Event functions."{{{
  2352
+" Event functions. "{{{
2353 2353
 function! s:on_moved_i() "{{{
2354 2354
   " Get cursor word.
2355 2355
   let cur_text = s:get_cur_text()
@@ -2465,7 +2465,7 @@ function! s:clear_result()
2465 2465
 endfunction
2466 2466
 "}}}
2467 2467
 
2468  
-" Internal helper functions."{{{
  2468
+" Internal helper functions. "{{{
2469 2469
 function! s:get_cur_text() "{{{
2470 2470
   let cur_text =
2471 2471
         \ (mode() ==# 'i' ? (col('.')-1) : col('.')) >= len(getline('.')) ?
26  autoload/neocomplcache/async_cache.vim
@@ -27,7 +27,7 @@
27 27
 let s:save_cpo = &cpo
28 28
 set cpo&vim
29 29
 
30  
-function! s:main(argv)"{{{
  30
+function! s:main(argv) "{{{
31 31
   " args: funcname, outputname filename pattern_file_name mark minlen maxfilename
32 32
   let [funcname, outputname, filename, pattern_file_name, mark, minlen, maxfilename, fileencoding]
33 33
         \ = a:argv
@@ -65,7 +65,7 @@ function! s:main(argv)"{{{
65 65
   call writefile([string(keyword_list)], outputname)
66 66
 endfunction"}}}
67 67
 
68  
-function! s:load_from_file(filename, pattern_file_name, mark, minlen, maxfilename, fileencoding)"{{{
  68
+function! s:load_from_file(filename, pattern_file_name, mark, minlen, maxfilename, fileencoding) "{{{
69 69
   if !filereadable(a:filename)
70 70
     " File not found.
71 71
     return []
@@ -84,9 +84,9 @@ function! s:load_from_file(filename, pattern_file_name, mark, minlen, maxfilenam
84 84
   let dup_check = {}
85 85
   let keyword_pattern2 = '^\%('.pattern.'\m\)'
86 86
 
87  
-  for line in lines"{{{
  87
+  for line in lines "{{{
88 88
     let match = match(line, pattern)
89  
-    while match >= 0"{{{
  89
+    while match >= 0 "{{{
90 90
       let match_str = matchstr(line, keyword_pattern2, match)
91 91
 
92 92
       if !has_key(dup_check, match_str) && len(match_str) >= a:minlen
@@ -103,7 +103,7 @@ function! s:load_from_file(filename, pattern_file_name, mark, minlen, maxfilenam
103 103
   return keyword_list
104 104
 endfunction"}}}
105 105
 
106  
-function! s:load_from_tags(filename, pattern_file_name, mark, minlen, maxfilename, fileencoding)"{{{
  106
+function! s:load_from_tags(filename, pattern_file_name, mark, minlen, maxfilename, fileencoding) "{{{
107 107
   let menu = '[' . a:mark . '] ' . s:strwidthpart(
108 108
         \ fnamemodify(a:filename, ':t'), a:maxfilename)
109 109
 
@@ -145,7 +145,7 @@ function! s:load_from_tags(filename, pattern_file_name, mark, minlen, maxfilenam
145 145
           \ a:mark, a:minlen, a:maxfilename, a:fileencoding)
146 146
   endif
147 147
 
148  
-  for line in tags_list"{{{
  148
+  for line in tags_list "{{{
149 149
     let tag = split(substitute(line, "\<CR>", '', 'g'), '\t', 1)
150 150
 
151 151
     " Add keywords.
@@ -221,7 +221,7 @@ function! s:load_from_tags(filename, pattern_file_name, mark, minlen, maxfilenam
221 221
   return keyword_lists
222 222
 endfunction"}}}
223 223
 
224  
-function! s:truncate(str, width)"{{{
  224
+function! s:truncate(str, width) "{{{
225 225
   " Original function is from mattn.
226 226
   " http://github.com/mattn/googlereader-vim/tree/master
227 227
 
@@ -244,7 +244,7 @@ function! s:truncate(str, width)"{{{
244 244
   return ret
245 245
 endfunction"}}}
246 246
 
247  
-function! s:strwidthpart(str, width)"{{{
  247
+function! s:strwidthpart(str, width) "{{{
248 248
   let ret = a:str
249 249
   let width = s:wcswidth(a:str)
250 250
   while width > a:width
@@ -266,14 +266,14 @@ endfunction
266 266
 
267 267
 if v:version >= 703
268 268
   " Use builtin function.
269  
-  function! s:wcswidth(str)"{{{
  269
+  function! s:wcswidth(str) "{{{
270 270
     return strdisplaywidth(a:str)
271 271
   endfunction"}}}
272  
-  function! s:wcwidth(str)"{{{
  272
+  function! s:wcwidth(str) "{{{
273 273
     return strwidth(a:str)
274 274
   endfunction"}}}
275 275
 else
276  
-  function! s:wcswidth(str)"{{{
  276
+  function! s:wcswidth(str) "{{{
277 277
     if a:str =~# '^[\x00-\x7f]*$'
278 278
       return strlen(a:str)
279 279
     end
@@ -293,7 +293,7 @@ else
293 293
   endfunction"}}}
294 294
 
295 295
   " UTF-8 only.
296  
-  function! s:wcwidth(ucs)"{{{
  296
+  function! s:wcwidth(ucs) "{{{
297 297
     let ucs = a:ucs
298 298
     if (ucs >= 0x1100
299 299
           \  && (ucs <= 0x115f
@@ -326,7 +326,7 @@ if argc() == 8 &&
326 326
 
327 327
   qall!
328 328
 else
329  
-  function! neocomplcache#async_cache#main(argv)"{{{
  329
+  function! neocomplcache#async_cache#main(argv) "{{{
330 330
     call s:main(a:argv)
331 331
   endfunction"}}}
332 332
 endif
30  autoload/neocomplcache/cache.vim
@@ -61,7 +61,7 @@ function! neocomplcache#cache#check_cache(cache_dir, key, async_cache_dictionary
61 61
         \ a:cache_dir, a:key, a:async_cache_dictionary,
62 62
         \ a:keyword_list_dictionary[a:key])
63 63
 endfunction"}}}
64  
-function! neocomplcache#cache#load_from_cache(cache_dir, filename)"{{{
  64
+function! neocomplcache#cache#load_from_cache(cache_dir, filename) "{{{
65 65
   try
66 66
     return eval(get(neocomplcache#cache#readfile(
67 67
           \ a:cache_dir, a:filename), 0, '[]'))
@@ -75,7 +75,7 @@ function! neocomplcache#cache#load_from_cache(cache_dir, filename)"{{{
75 75
     return []
76 76
   endtry
77 77
 endfunction"}}}
78  
-function! neocomplcache#cache#load_from_cache_old(cache_dir, filename)"{{{
  78
+function! neocomplcache#cache#load_from_cache_old(cache_dir, filename) "{{{
79 79
   try
80 80
     return map(map(neocomplcache#cache#readfile(a:cache_dir, a:filename),
81 81
           \ 'split(v:val, "|||", 1)'), '{
@@ -88,7 +88,7 @@ function! neocomplcache#cache#load_from_cache_old(cache_dir, filename)"{{{
88 88
     return []
89 89
   endtry
90 90
 endfunction"}}}
91  
-function! neocomplcache#cache#index_load_from_cache(cache_dir, filename)"{{{
  91
+function! neocomplcache#cache#index_load_from_cache(cache_dir, filename) "{{{
92 92
   let keyword_lists = {}
93 93
 
94 94
   let completion_length = 2
@@ -102,7 +102,7 @@ function! neocomplcache#cache#index_load_from_cache(cache_dir, filename)"{{{
102 102
 
103 103
   return keyword_lists
104 104
 endfunction"}}}
105  
-function! neocomplcache#cache#list2index(list, dictionary)"{{{
  105
+function! neocomplcache#cache#list2index(list, dictionary) "{{{
106 106
   let completion_length = 2
107 107
   for keyword in a:list
108 108
     let key = tolower(keyword.word[: completion_length-1])
@@ -115,11 +115,11 @@ function! neocomplcache#cache#list2index(list, dictionary)"{{{
115 115
   return a:dictionary
116 116
 endfunction"}}}
117 117
 
118  
-function! neocomplcache#cache#save_cache(cache_dir, filename, keyword_list)"{{{
  118
+function! neocomplcache#cache#save_cache(cache_dir, filename, keyword_list) "{{{
119 119
   call neocomplcache#cache#writefile(
120 120
         \ a:cache_dir, a:filename, [string(a:keyword_list)])
121 121
 endfunction"}}}
122  
-function! neocomplcache#cache#save_cache_old(cache_dir, filename, keyword_list)"{{{
  122
+function! neocomplcache#cache#save_cache_old(cache_dir, filename, keyword_list) "{{{
123 123
   " Create dictionary key.
124 124
   for keyword in a:keyword_list
125 125
     if !has_key(keyword, 'abbr')
@@ -145,19 +145,19 @@ function! neocomplcache#cache#save_cache_old(cache_dir, filename, keyword_list)"
145 145
 endfunction"}}}
146 146
 
147 147
 " Cache helper.
148  
-function! neocomplcache#cache#getfilename(cache_dir, filename)"{{{
  148
+function! neocomplcache#cache#getfilename(cache_dir, filename) "{{{
149 149
   let cache_dir = neocomplcache#get_temporary_directory() . '/' . a:cache_dir
150 150
   return s:Cache.getfilename(cache_dir, a:filename)
151 151
 endfunction"}}}
152  
-function! neocomplcache#cache#filereadable(cache_dir, filename)"{{{
  152
+function! neocomplcache#cache#filereadable(cache_dir, filename) "{{{
153 153
   let cache_dir = neocomplcache#get_temporary_directory() . '/' . a:cache_dir
154 154
   return s:Cache.filereadable(cache_dir, a:filename)
155 155
 endfunction"}}}
156  
-function! neocomplcache#cache#readfile(cache_dir, filename)"{{{
  156
+function! neocomplcache#cache#readfile(cache_dir, filename) "{{{
157 157
   let cache_dir = neocomplcache#get_temporary_directory() . '/' . a:cache_dir
158 158
   return s:Cache.readfile(cache_dir, a:filename)
159 159
 endfunction"}}}
160  
-function! neocomplcache#cache#writefile(cache_dir, filename, list)"{{{
  160
+function! neocomplcache#cache#writefile(cache_dir, filename, list) "{{{
161 161
   let cache_dir = neocomplcache#get_temporary_directory() . '/' . a:cache_dir
162 162
   return s:Cache.writefile(cache_dir, a:filename, a:list)
163 163
 endfunction"}}}
@@ -166,7 +166,7 @@ function! neocomplcache#cache#encode_name(cache_dir, filename)
166 166
   let cache_dir = neocomplcache#get_temporary_directory() . '/' . a:cache_dir
167 167
   return s:Cache.getfilename(cache_dir, a:filename)
168 168
 endfunction
169  
-function! neocomplcache#cache#check_old_cache(cache_dir, filename)"{{{
  169
+function! neocomplcache#cache#check_old_cache(cache_dir, filename) "{{{
170 170
   let cache_dir = neocomplcache#get_temporary_directory() . '/' . a:cache_dir
171 171
   return  s:Cache.check_old_cache(cache_dir, a:filename)
172 172
 endfunction"}}}
@@ -175,7 +175,7 @@ let s:sdir = neocomplcache#util#substitute_path_separator(
175 175
       \ fnamemodify(expand('<sfile>'), ':p:h'))
176 176
 
177 177
 " Async test.
178  
-function! neocomplcache#cache#test_async()"{{{
  178
+function! neocomplcache#cache#test_async() "{{{
179 179
   if !neocomplcache#cache#check_old_cache(a:cache_dir, a:filename)
180 180
     return neocomplcache#cache#encode_name(a:cache_dir, a:filename)
181 181
   endif
@@ -203,7 +203,7 @@ function! neocomplcache#cache#test_async()"{{{
203 203
   return s:async_load(argv, 'test_cache', filename)
204 204
 endfunction"}}}
205 205
 
206  
-function! neocomplcache#cache#async_load_from_file(cache_dir, filename, pattern, mark)"{{{
  206
+function! neocomplcache#cache#async_load_from_file(cache_dir, filename, pattern, mark) "{{{
207 207
   if !neocomplcache#cache#check_old_cache(a:cache_dir, a:filename)
208 208
     return neocomplcache#cache#encode_name(a:cache_dir, a:filename)
209 209
   endif
@@ -228,7 +228,7 @@ function! neocomplcache#cache#async_load_from_file(cache_dir, filename, pattern,
228 228
         \ ]
229 229
   return s:async_load(argv, a:cache_dir, a:filename)
230 230
 endfunction"}}}
231  
-function! neocomplcache#cache#async_load_from_tags(cache_dir, filename, filetype, mark, is_create_tags)"{{{
  231
+function! neocomplcache#cache#async_load_from_tags(cache_dir, filename, filetype, mark, is_create_tags) "{{{
232 232
   if !neocomplcache#cache#check_old_cache(a:cache_dir, a:filename)
233 233
     return neocomplcache#cache#encode_name(a:cache_dir, a:filename)
234 234
   endif
@@ -287,7 +287,7 @@ function! neocomplcache#cache#async_load_from_tags(cache_dir, filename, filetype
287 287
         \ ]
288 288
   return s:async_load(argv, a:cache_dir, a:filename)
289 289
 endfunction"}}}
290  
-function! s:async_load(argv, cache_dir, filename)"{{{
  290
+function! s:async_load(argv, cache_dir, filename) "{{{
291 291
   " if 0
292 292
   if neocomplcache#has_vimproc()
293 293
     let paths = vimproc#get_command_name(v:progname, $PATH, -1)
8  autoload/neocomplcache/sources/abbrev_complete.vim
@@ -32,14 +32,14 @@ let s:source = {
32 32
       \ 'kind' : 'plugin',
33 33
       \}
34 34
 
35  
-function! s:source.initialize()"{{{
  35
+function! s:source.initialize() "{{{
36 36
   " Initialize.
37 37
 endfunction"}}}
38 38
 
39  
-function! s:source.finalize()"{{{
  39
+function! s:source.finalize() "{{{
40 40
 endfunction"}}}
41 41
 
42  
-function! s:source.get_keyword_list(cur_keyword_str)"{{{
  42
+function! s:source.get_keyword_list(cur_keyword_str) "{{{
43 43
   " Get current abbrev list.
44 44
   let abbrev_list = ''
45 45
   redir => abbrev_list
@@ -62,7 +62,7 @@ function! s:source.get_keyword_list(cur_keyword_str)"{{{
62 62
   return neocomplcache#keyword_filter(list, a:cur_keyword_str)
63 63
 endfunction"}}}
64 64
 
65  
-function! neocomplcache#sources#abbrev_complete#define()"{{{
  65
+function! neocomplcache#sources#abbrev_complete#define() "{{{
66 66
   return s:source
67 67
 endfunction"}}}
68 68
 
50  autoload/neocomplcache/sources/buffer_complete.vim
@@ -37,8 +37,8 @@ let s:source = {
37 37
       \ 'kind' : 'complfunc',
38 38
       \}
39 39
 
40  
-function! s:source.initialize()"{{{
41  
-  augroup neocomplcache"{{{
  40
+function! s:source.initialize() "{{{
  41
+  augroup neocomplcache "{{{
42 42
     " Caching events
43 43
     autocmd CursorHold *
44 44
           \ call s:check_cache()
@@ -59,7 +59,7 @@ function! s:source.initialize()"{{{
59 59
     call mkdir(neocomplcache#get_temporary_directory() . '/buffer_cache', 'p')
60 60
   endif
61 61
 
62  
-  " Initialize script variables."{{{
  62
+  " Initialize script variables. "{{{
63 63
   let s:buffer_sources = {}
64 64
   let s:cache_line_count = 70
65 65
   let s:rank_cache_count = 1
@@ -74,7 +74,7 @@ function! s:source.initialize()"{{{
74 74
 endfunction
75 75
 "}}}
76 76
 
77  
-function! s:source.finalize()"{{{
  77
+function! s:source.finalize() "{{{
78 78
   delcommand NeoComplCacheCachingBuffer
79 79
   delcommand NeoComplCachePrintSource
80 80
   delcommand NeoComplCacheOutputKeyword
@@ -84,13 +84,13 @@ function! s:source.finalize()"{{{
84 84
   let s:buffer_sources = {}
85 85
 endfunction"}}}
86 86
 
87  
-function! s:source.get_keyword_pos(cur_text)"{{{
  87
+function! s:source.get_keyword_pos(cur_text) "{{{
88 88
   let [cur_keyword_pos, _] = neocomplcache#match_word(a:cur_text)
89 89
 
90 90
   return cur_keyword_pos
91 91
 endfunction"}}}
92 92
 
93  
-function! s:source.get_complete_words(cur_keyword_pos, cur_keyword_str)"{{{
  93
+function! s:source.get_complete_words(cur_keyword_pos, cur_keyword_str) "{{{
94 94
   call s:check_source()
95 95
 
96 96
   let keyword_list = []
@@ -108,15 +108,15 @@ function! s:source.get_complete_words(cur_keyword_pos, cur_keyword_str)"{{{
108 108
   return keyword_list
109 109
 endfunction"}}}
110 110
 
111  
-function! neocomplcache#sources#buffer_complete#define()"{{{
  111
+function! neocomplcache#sources#buffer_complete#define() "{{{
112 112
   return s:source
113 113
 endfunction"}}}
114 114
 
115  
-function! neocomplcache#sources#buffer_complete#caching_current_line()"{{{
  115
+function! neocomplcache#sources#buffer_complete#caching_current_line() "{{{
116 116
   " Current line caching.
117 117
   return s:caching_current_buffer(line('.') - 1, line('.') + 1)
118 118
 endfunction"}}}
119  
-function! s:caching_current_buffer(start, end)"{{{
  119
+function! s:caching_current_buffer(start, end) "{{{
120 120
   " Current line caching.
121 121
 
122 122
   if !s:exists_current_source()
@@ -137,11 +137,11 @@ function! s:caching_current_buffer(start, end)"{{{
137 137
   let completion_length = 2
138 138
   let line = join(getline(a:start, a:end))
139 139
   let match = match(line, keyword_pattern)
140  
-  while match >= 0"{{{
  140
+  while match >= 0 "{{{
141 141
     let match_str = matchstr(line, keyword_pattern2, match)
142 142
 
143 143
     " Ignore too short keyword.
144  
-    if len(match_str) >= g:neocomplcache_min_keyword_length"{{{
  144
+    if len(match_str) >= g:neocomplcache_min_keyword_length "{{{
145 145
       " Check dup.
146 146
       let key = tolower(match_str[: completion_length-1])
147 147
       if !has_key(keywords, key)
@@ -159,7 +159,7 @@ function! s:caching_current_buffer(start, end)"{{{
159 159
   endwhile"}}}
160 160
 endfunction"}}}
161 161
 
162  
-function! s:get_sources_list()"{{{
  162
+function! s:get_sources_list() "{{{
163 163
   let sources_list = []
164 164
 
165 165
   let filetypes_dict = {}
@@ -180,7 +180,7 @@ function! s:get_sources_list()"{{{
180 180
   return sources_list
181 181
 endfunction"}}}
182 182
 
183  
-function! s:initialize_source(srcname)"{{{
  183
+function! s:initialize_source(srcname) "{{{
184 184
   let path = fnamemodify(bufname(a:srcname), ':p')
185 185
   let filename = fnamemodify(path, ':t')
186 186
   if filename == ''
@@ -209,7 +209,7 @@ function! s:initialize_source(srcname)"{{{
209 209
         \}
210 210
 endfunction"}}}
211 211
 
212  
-function! s:word_caching(srcname)"{{{
  212
+function! s:word_caching(srcname) "{{{
213 213
   " Initialize source.
214 214
   call s:initialize_source(a:srcname)
215 215
 
@@ -237,7 +237,7 @@ function! s:word_caching(srcname)"{{{
237 237
         \ }]
238 238
 endfunction"}}}
239 239
 
240  
-function! s:check_changed_buffer(bufnumber)"{{{
  240
+function! s:check_changed_buffer(bufnumber) "{{{
241 241
   let source = s:buffer_sources[a:bufnumber]
242 242
 
243 243
   let ft = getbufvar(a:bufnumber, '&filetype')
@@ -254,7 +254,7 @@ function! s:check_changed_buffer(bufnumber)"{{{
254 254
         \ || s:buffer_sources[a:bufnumber].filetype != ft
255 255
 endfunction"}}}
256 256
 
257  
-function! s:check_source()"{{{
  257
+function! s:check_source() "{{{
258 258
   let bufnumber = bufnr('%')
259 259
 
260 260
   " Check new buffer.
@@ -279,7 +279,7 @@ function! s:check_source()"{{{
279 279
   call neocomplcache#cache#check_cache_list('buffer_cache',
280 280
         \ source.path, s:async_dictionary_list, source.keyword_cache)
281 281
 endfunction"}}}
282  
-function! s:check_cache()"{{{
  282
+function! s:check_cache() "{{{
283 283
   let release_accessd_time =
284 284
         \ localtime() - g:neocomplcache_release_cache_time
285 285
 
@@ -293,7 +293,7 @@ function! s:check_cache()"{{{
293 293
     endif
294 294
   endfor
295 295
 endfunction"}}}
296  
-function! s:check_recache()"{{{
  296
+function! s:check_recache() "{{{
297 297
   if !s:exists_current_source()
298 298
     return
299 299
   endif
@@ -312,12 +312,12 @@ function! s:check_recache()"{{{
312 312
   endif
313 313
 endfunction"}}}
314 314
 
315  
-function! s:exists_current_source()"{{{
  315
+function! s:exists_current_source() "{{{
316 316
   return has_key(s:buffer_sources, bufnr('%'))
317 317
 endfunction"}}}
318 318
 
319  
-" Command functions."{{{
320  
-function! neocomplcache#sources#buffer_complete#caching_buffer(name)"{{{
  319
+" Command functions. "{{{
  320
+function! neocomplcache#sources#buffer_complete#caching_buffer(name) "{{{
321 321
   if a:name == ''
322 322
     let number = bufnr('%')
323 323
   else
@@ -348,7 +348,7 @@ function! neocomplcache#sources#buffer_complete#caching_buffer(name)"{{{
348 348
   call s:word_caching(number)
349 349
   call s:caching_current_buffer(1, line('$'))
350 350
 endfunction"}}}
351  
-function! neocomplcache#sources#buffer_complete#print_source(name)"{{{
  351
+function! neocomplcache#sources#buffer_complete#print_source(name) "{{{
352 352
   if a:name == ''
353 353
     let number = bufnr('%')
354 354
   else
@@ -369,7 +369,7 @@ function! neocomplcache#sources#buffer_complete#print_source(name)"{{{
369 369
     silent put =printf('%s => %s', key, string(s:buffer_sources[number][key]))
370 370
   endfor
371 371
 endfunction"}}}
372  
-function! neocomplcache#sources#buffer_complete#output_keyword(name)"{{{
  372
+function! neocomplcache#sources#buffer_complete#output_keyword(name) "{{{
373 373
   if a:name == ''
374 374
     let number = bufnr('%')
375 375
   else
@@ -391,7 +391,7 @@ function! neocomplcache#sources#buffer_complete#output_keyword(name)"{{{
391 391
     silent put=string(keyword)
392 392
   endfor
393 393
 endfunction "}}}
394  
-function! neocomplcache#sources#buffer_complete#disable_caching(name)"{{{
  394
+function! neocomplcache#sources#buffer_complete#disable_caching(name) "{{{
395 395
   if a:name == ''
396 396
     let number = bufnr('%')
397 397
   else
@@ -410,7 +410,7 @@ function! neocomplcache#sources#buffer_complete#disable_caching(name)"{{{
410 410
     call remove(s:buffer_sources, number)
411 411
   endif
412 412
 endfunction"}}}
413  
-function! neocomplcache#sources#buffer_complete#enable_caching(name)"{{{
  413
+function! neocomplcache#sources#buffer_complete#enable_caching(name) "{{{
414 414
   if a:name == ''
415 415
     let number = bufnr('%')
416 416
   else
16  autoload/neocomplcache/sources/dictionary_complete.vim
@@ -33,7 +33,7 @@ if !exists('s:dictionary_list')
33 33
   let s:async_dictionary_list = {}
34 34
 endif
35 35
 
36  
-function! neocomplcache#sources#dictionary_complete#define()"{{{
  36
+function! neocomplcache#sources#dictionary_complete#define() "{{{
37 37
   return s:source
38 38
 endfunction"}}}
39 39
 
@@ -42,8 +42,8 @@ let s:source = {
42 42
       \ 'kind' : 'plugin',
43 43
       \}
44 44
 
45  
-function! s:source.initialize()"{{{
46  
-  " Initialize dictionary."{{{
  45
+function! s:source.initialize() "{{{
  46
+  " Initialize dictionary. "{{{
47 47
   if !exists('g:neocomplcache_dictionary_filetype_lists')
48 48
     let g:neocomplcache_dictionary_filetype_lists = {}
49 49
   endif
@@ -52,7 +52,7 @@ function! s:source.initialize()"{{{
52 52
   endif
53 53
   "}}}
54 54
 
55  
-  " Initialize dictionary completion pattern."{{{
  55
+  " Initialize dictionary completion pattern. "{{{
56 56
   if !exists('g:neocomplcache_dictionary_patterns')
57 57
     let g:neocomplcache_dictionary_patterns = {}
58 58
   endif
@@ -74,11 +74,11 @@ function! s:source.initialize()"{{{
74 74
   call s:caching()
75 75
 endfunction"}}}
76 76
 
77  
-function! s:source.finalize()"{{{
  77
+function! s:source.finalize() "{{{
78 78
   delcommand NeoComplCacheCachingDictionary
79 79
 endfunction"}}}
80 80
 
81  
-function! s:source.get_keyword_list(cur_keyword_str)"{{{
  81
+function! s:source.get_keyword_list(cur_keyword_str) "{{{
82 82
   let list = []
83 83
 
84 84
   let filetype = neocomplcache#is_text_mode() ?
@@ -100,7 +100,7 @@ function! s:source.get_keyword_list(cur_keyword_str)"{{{
100 100
   return list
101 101
 endfunction"}}}
102 102
 
103  
-function! s:caching()"{{{
  103
+function! s:caching() "{{{
104 104
   if !bufloaded(bufnr('%'))
105 105
     return
106 106
   endif
@@ -129,7 +129,7 @@ function! s:caching_dictionary(filetype)
129 129
 
130 130
   call neocomplcache#sources#dictionary_complete#recaching(filetype)
131 131
 endfunction
132  
-function! neocomplcache#sources#dictionary_complete#recaching(filetype)"{{{
  132
+function! neocomplcache#sources#dictionary_complete#recaching(filetype) "{{{
133 133
   let filetype = a:filetype
134 134
   if filetype == ''
135 135
     let filetype = neocomplcache#get_context_filetype(1)
16  autoload/neocomplcache/sources/filename_complete.vim
@@ -32,7 +32,7 @@ let s:source = {
32 32
       \ 'kind' : 'complfunc',
33 33
       \}
34 34
 
35  
-function! s:source.initialize()"{{{
  35
+function! s:source.initialize() "{{{
36 36
   " Initialize.
37 37
   call neocomplcache#set_completion_length(
38 38
         \ 'filename_complete', g:neocomplcache_auto_completion_start_length)
@@ -42,10 +42,10 @@ function! s:source.initialize()"{{{
42 42
         \ 'g:neocomplcache_source_rank',
43 43
         \ 'filename_complete', 3)
44 44
 endfunction"}}}
45  
-function! s:source.finalize()"{{{
  45
+function! s:source.finalize() "{{{
46 46
 endfunction"}}}
47 47
 
48  
-function! s:source.get_keyword_pos(cur_text)"{{{
  48
+function! s:source.get_keyword_pos(cur_text) "{{{
49 49
   let filetype = neocomplcache#get_context_filetype()
50 50
   if filetype ==# 'vimshell' || filetype ==# 'unite'
51 51
     return -1
@@ -69,13 +69,13 @@ function! s:source.get_keyword_pos(cur_text)"{{{
69 69
   return cur_keyword_pos
70 70
 endfunction"}}}
71 71
 
72  
-function! s:source.get_complete_words(cur_keyword_pos, cur_keyword_str)"{{{
  72
+function! s:source.get_complete_words(cur_keyword_pos, cur_keyword_str) "{{{
73 73
   return s:get_glob_files(a:cur_keyword_str, '')
74 74
 endfunction"}}}
75 75
 
76 76
 let s:cached_files = {}
77 77
 
78  
-function! s:get_glob_files(cur_keyword_str, path)"{{{
  78
+function! s:get_glob_files(cur_keyword_str, path) "{{{
79 79
   let path = ',,' . substitute(a:path, '\.\%(,\|$\)\|,,', '', 'g')
80 80
 
81 81
   let cur_keyword_str = substitute(a:cur_keyword_str,
@@ -195,18 +195,18 @@ function! s:get_glob_files(cur_keyword_str, path)"{{{
195 195
 
196 196
   return dir_list + file_list
197 197
 endfunction"}}}
198  
-function! s:caching_current_files()"{{{
  198
+function! s:caching_current_files() "{{{
199 199
   let s:cached_files[getcwd()] = neocomplcache#util#glob('*')
200 200
   if !exists('vimproc#readdir')
201 201
     let s:cached_files[getcwd()] += neocomplcache#util#glob('.*')
202 202
   endif
203 203
 endfunction"}}}
204 204
 
205  
-function! neocomplcache#sources#filename_complete#define()"{{{
  205
+function! neocomplcache#sources#filename_complete#define() "{{{
206 206
   return s:source
207 207
 endfunction"}}}
208 208
 
209  
-function! neocomplcache#sources#filename_complete#get_complete_words(cur_keyword_str, path)"{{{
  209
+function! neocomplcache#sources#filename_complete#get_complete_words(cur_keyword_str, path) "{{{
210 210
   if !neocomplcache#is_enabled()
211 211
     return []
212 212
   endif
20  autoload/neocomplcache/sources/filename_include.vim
@@ -27,7 +27,7 @@
27 27
 let s:save_cpo = &cpo
28 28
 set cpo&vim
29 29
 
30  
-" Global options definition."{{{
  30
+" Global options definition. "{{{
31 31
 if !exists('g:neocomplcache_include_patterns')
32 32
   let g:neocomplcache_include_patterns = {}
33 33
 endif
@@ -47,12 +47,12 @@ let s:source = {
47 47
       \ 'kind' : 'complfunc',
48 48
       \}
49 49
 
50  
-function! s:source.initialize()"{{{
  50
+function! s:source.initialize() "{{{
51 51
   " Initialize.
52 52
   call neocomplcache#set_completion_length(
53 53
         \ s:source.name, g:neocomplcache_auto_completion_start_length)
54 54
 
55  
-  " Initialize filename include expr."{{{
  55
+  " Initialize filename include expr. "{{{
56 56
   let g:neocomplcache_filename_include_exprs =
57 57
         \ get(g:, 'neocomplcache_filename_include_exprs', {})
58 58
   call neocomplcache#util#set_default_dictionary(
@@ -65,7 +65,7 @@ function! s:source.initialize()"{{{
65 65
         \ 'fnamemodify(substitute(v:fname, "/", ".", "g"), ":r")')
66 66
   "}}}
67 67
 
68  
-  " Initialize filename include extensions."{{{
  68
+  " Initialize filename include extensions. "{{{
69 69
   let g:neocomplcache_filename_include_exts =
70 70
         \ get(g:, 'neocomplcache_filename_include_exts', {})
71 71
   call neocomplcache#util#set_default_dictionary(
@@ -87,10 +87,10 @@ function! s:source.initialize()"{{{
87 87
         \ 'g:neocomplcache_source_rank',
88 88
         \ s:source.name, 10)
89 89
 endfunction"}}}
90  
-function! s:source.finalize()"{{{
  90
+function! s:source.finalize() "{{{
91 91
 endfunction"}}}
92 92
 
93  
-function! s:source.get_keyword_pos(cur_text)"{{{
  93
+function! s:source.get_keyword_pos(cur_text) "{{{
94 94
   let filetype = neocomplcache#get_context_filetype()
95 95
 
96 96
   " Not Filename pattern.
@@ -134,11 +134,11 @@ function! s:source.get_keyword_pos(cur_text)"{{{
134 134
   return cur_keyword_pos
135 135
 endfunction"}}}
136 136
 
137  
-function! s:source.get_complete_words(cur_keyword_pos, cur_keyword_str)"{{{
  137
+function! s:source.get_complete_words(cur_keyword_pos, cur_keyword_str) "{{{
138 138
   return s:get_include_files(a:cur_keyword_str)
139 139
 endfunction"}}}
140 140
 
141  
-function! s:get_include_files(cur_keyword_str)"{{{
  141
+function! s:get_include_files(cur_keyword_str) "{{{
142 142
   let filetype = neocomplcache#get_context_filetype()
143 143
 
144 144
   let path = neocomplcache#util#substitute_path_separator(
@@ -221,7 +221,7 @@ function! s:get_include_files(cur_keyword_str)"{{{
221 221
         \ + neocomplcache#keyword_filter(file_list, a:cur_keyword_str)
222 222
 endfunction"}}}
223 223
 
224  
-function! s:get_default_include_files(filetype)"{{{
  224
+function! s:get_default_include_files(filetype) "{{{
225 225
   let files = []
226 226
 
227 227
   if a:filetype ==# 'python' || a:filetype ==# 'python3'
@@ -231,7 +231,7 @@ function! s:get_default_include_files(filetype)"{{{
231 231
   return map(files, "{ 'word' : v:val, 'menu' : '[FI]' }")
232 232
 endfunction"}}}
233 233
 
234  
-function! neocomplcache#sources#filename_include#define()"{{{
  234
+function! neocomplcache#sources#filename_include#define() "{{{
235 235
   return s:source
236 236
 endfunction"}}}
237 237
 
46  autoload/neocomplcache/sources/include_complete.vim
@@ -34,7 +34,7 @@ if !exists('s:include_info')
34 34
   let s:async_include_cache = {}
35 35
   let s:cached_pattern = {}
36 36
 
37  
-  " Initialize include pattern."{{{
  37
+  " Initialize include pattern. "{{{
38 38
   let g:neocomplcache_include_patterns =
39 39
         \ get(g:, 'neocomplcache_include_patterns', {})
40 40
   call neocomplcache#util#set_default_dictionary(
@@ -47,7 +47,7 @@ if !exists('s:include_info')
47 47
         \ 'g:neocomplcache_include_patterns',
48 48
         \ 'ruby', '^\s*\<\%(load\|require\|require_relative\)\>')
49 49
   "}}}
50  
-  " Initialize expr pattern."{{{
  50
+  " Initialize expr pattern. "{{{
51 51
   call neocomplcache#util#set_default(
52 52
         \ 'g:neocomplcache_include_exprs', {})
53 53
   call neocomplcache#util#set_default_dictionary(
@@ -55,18 +55,18 @@ if !exists('s:include_info')
55 55
         \ 'haskell,cs',
56 56
         \ "substitute(v:fname, '\\.', '/', 'g')")
57 57
   "}}}
58  
-  " Initialize path pattern."{{{
  58
+  " Initialize path pattern. "{{{
59 59
   call neocomplcache#util#set_default(
60 60
         \ 'g:neocomplcache_include_paths', {})
61 61
   "}}}
62  
-  " Initialize include suffixes."{{{
  62
+  " Initialize include suffixes. "{{{
63 63
   call neocomplcache#util#set_default(
64 64
         \ 'g:neocomplcache_include_suffixes', {})
65 65
   call neocomplcache#util#set_default_dictionary(
66 66
         \ 'g:neocomplcache_include_suffixes',
67 67
         \ 'haskell', '.hs')
68 68
   "}}}
69  
-  " Initialize include functions."{{{
  69
+  " Initialize include functions. "{{{
70 70
   call neocomplcache#util#set_default(
71 71
         \ 'g:neocomplcache_include_functions', {})
72 72
   " call neocomplcache#util#set_default_dictionary(
@@ -83,7 +83,7 @@ let s:source = {
83 83
       \ 'kind' : 'plugin',
84 84
       \}
85 85
 
86  
-function! s:source.initialize()"{{{
  86
+function! s:source.initialize() "{{{
87 87
   " Set rank.
88 88
   call neocomplcache#util#set_default_dictionary(
89 89
         \ 'g:neocomplcache_source_rank', 'include_complete', 8)
@@ -109,7 +109,7 @@ function! s:source.initialize()"{{{
109 109
   endif
110 110
 endfunction"}}}
111 111
 
112  
-function! s:source.finalize()"{{{
  112
+function! s:source.finalize() "{{{
113 113
   delcommand NeoComplCacheCachingInclude
114 114
   
115 115
   if neocomplcache#exists_echodoc()
@@ -117,7 +117,7 @@ function! s:source.finalize()"{{{
117 117
   endif
118 118
 endfunction"}}}
119 119
 
120  
-function! s:source.get_keyword_list(cur_keyword_str)"{{{
  120
+function! s:source.get_keyword_list(cur_keyword_str) "{{{
121 121
   if neocomplcache#within_comment()
122 122
     return []
123 123
   endif
@@ -144,11 +144,11 @@ function! s:source.get_keyword_list(cur_keyword_str)"{{{
144 144
         \ neocomplcache#dup_filter(keyword_list), a:cur_keyword_str)
145 145
 endfunction"}}}
146 146
 
147  
-function! neocomplcache#sources#include_complete#define()"{{{
  147
+function! neocomplcache#sources#include_complete#define() "{{{
148 148
   return s:source
149 149
 endfunction"}}}
150 150
 
151  
-function! neocomplcache#sources#include_complete#get_include_files(bufnumber)"{{{
  151
+function! neocomplcache#sources#include_complete#get_include_files(bufnumber) "{{{
152 152
   if has_key(s:include_info, a:bufnumber)
153 153
     return copy(s:include_info[a:bufnumber].include_files)
154 154
   else
@@ -156,7 +156,7 @@ function! neocomplcache#sources#include_complete#get_include_files(bufnumber)"{{
156 156
   endif
157 157
 endfunction"}}}
158 158
 
159  
-function! neocomplcache#sources#include_complete#get_include_tags(bufnumber)"{{{
  159
+function! neocomplcache#sources#include_complete#get_include_tags(bufnumber) "{{{
160 160
   return filter(map(
161 161
         \ neocomplcache#sources#include_complete#get_include_files(a:bufnumber),
162 162
         \ "neocomplcache#cache#encode_name('tags_output', v:val)"),
@@ -164,17 +164,17 @@ function! neocomplcache#sources#include_complete#get_include_tags(bufnumber)"{{{
164 164
 endfunction"}}}
165 165
 
166 166
 " For Debug.
167  
-function! neocomplcache#sources#include_complete#get_current_include_files()"{{{
  167
+function! neocomplcache#sources#include_complete#get_current_include_files() "{{{
168 168
   return s:get_buffer_include_files(bufnr('%'))
169 169
 endfunction"}}}
170 170
 
171  
-" For echodoc."{{{
  171
+" For echodoc. "{{{
172 172
 let s:doc_dict = {
173 173
       \ 'name' : 'include_complete',
174 174
       \ 'rank' : 5,
175 175
       \ 'filetypes' : {},
176 176
       \ }
177  
-function! s:doc_dict.search(cur_text)"{{{
  177
+function! s:doc_dict.search(cur_text) "{{{
178 178
   if &filetype ==# 'vim' || !has_key(s:include_info, bufnr('%'))
179 179
     return []
180 180
   endif
@@ -221,7 +221,7 @@ function! s:doc_dict.search(cur_text)"{{{
221 221
 endfunction"}}}
222 222
 "}}}
223 223
 
224  
-function! s:check_buffer(bufnumber, is_force)"{{{
  224
+function! s:check_buffer(bufnumber, is_force) "{{{
225 225
   if !neocomplcache#is_enabled_source('include_complete')
226 226
     return
227 227
   endif
@@ -292,7 +292,7 @@ function! s:check_buffer(bufnumber, is_force)"{{{
292 292
     endif
293 293
   endfor
294 294
 endfunction"}}}
295  
-function! s:get_buffer_include_files(bufnumber)"{{{
  295
+function! s:get_buffer_include_files(bufnumber) "{{{
296 296
   let filetype = getbufvar(a:bufnumber, '&filetype')
297 297
   if filetype == ''
298 298
     return []
@@ -359,9 +359,9 @@ function! s:get_buffer_include_files(bufnumber)"{{{
359 359
 
360 360
   return include_files
361 361
 endfunction"}}}
362  
-function! s:get_include_files(nestlevel, lines, filetype, pattern, path, expr)"{{{
  362
+function! s:get_include_files(nestlevel, lines, filetype, pattern, path, expr) "{{{
363 363
   let include_files = []
364  
-  for line in a:lines"{{{
  364
+  for line in a:lines "{{{
365 365
     if line =~ a:pattern
366 366
       let match_end = matchend(line, a:pattern)
367 367
       if a:expr != ''
@@ -393,7 +393,7 @@ function! s:get_include_files(nestlevel, lines, filetype, pattern, path, expr)"{
393 393
   return include_files
394 394
 endfunction"}}}
395 395
 
396  
-function! s:check_cache()"{{{
  396
+function! s:check_cache() "{{{
397 397
   if neocomplcache#is_disabled_source('include_complete')
398 398
     return
399 399
   endif
@@ -408,7 +408,7 @@ function! s:check_cache()"{{{
408 408
   endfor
409 409
 endfunction"}}}
410 410
 
411  
-function! s:initialize_include(filename, filetype)"{{{
  411
+function! s:initialize_include(filename, filetype) "{{{
412 412
   " Initialize include list from tags.
413 413
   return {
414 414
         \ 'filename' : a:filename,
@@ -416,7 +416,7 @@ function! s:initialize_include(filename, filetype)"{{{
416 416
         \              'include_cache', a:filename, a:filetype, 'I', 1)
417 417
         \ }
418 418
 endfunction"}}}
419  
-function! neocomplcache#sources#include_complete#caching_include(bufname)"{{{
  419
+function! neocomplcache#sources#include_complete#caching_include(bufname) "{{{
420 420
   let bufnumber = (a:bufname == '') ? bufnr('%') : bufnr(a:bufname)
421 421
   if has_key(s:async_include_cache, bufnumber)
422 422
         \ && filereadable(s:async_include_cache[bufnumber].cache_name)
@@ -433,7 +433,7 @@ function! neocomplcache#sources#include_complete#caching_include(bufname)"{{{
433 433
 endfunction"}}}
434 434
 
435 435
 " Analyze include files functions.
436  
-function! neocomplcache#sources#include_complete#analyze_vim_include_files(lines, path)"{{{
  436
+function! neocomplcache#sources#include_complete#analyze_vim_include_files(lines, path) "{{{
437 437
   let include_files = []
438 438
   let dup_check = {}
439 439
   for line in a:lines
@@ -454,7 +454,7 @@ function! neocomplcache#sources#include_complete#analyze_vim_include_files(lines
454 454
 
455 455
   return include_files
456 456
 endfunction"}}}