- Converted markers.

This commit is contained in:
Shougo Matsushita
2012-12-13 17:34:20 +09:00
parent 0fa62bcea1
commit c98182d10d
8 changed files with 118 additions and 118 deletions

View File

@@ -32,7 +32,7 @@ let s:source = {
\ 'kind' : 'complfunc',
\}
function! s:source.initialize()"{{{
function! s:source.initialize() "{{{
" Initialize.
call neocomplcache#set_dictionary_helper(
\ g:neocomplcache_source_rank, 'snippets_complete', 8)
@@ -40,7 +40,7 @@ function! s:source.initialize()"{{{
\ g:neocomplcache_auto_completion_start_length)
endfunction"}}}
function! s:source.get_keyword_pos(cur_text)"{{{
function! s:source.get_keyword_pos(cur_text) "{{{
let cur_word = matchstr(a:cur_text, '\w\+$')
let word_candidates = neocomplcache#keyword_filter(
\ filter(values(neosnippet#get_snippets()),
@@ -52,7 +52,7 @@ function! s:source.get_keyword_pos(cur_text)"{{{
return match(a:cur_text, '\S\+$')
endfunction"}}}
function! s:source.get_complete_words(cur_keyword_pos, cur_keyword_str)"{{{
function! s:source.get_complete_words(cur_keyword_pos, cur_keyword_str) "{{{
let list = s:keyword_filter(neosnippet#get_snippets(), a:cur_keyword_str)
" Substitute abbr.
@@ -69,7 +69,7 @@ function! s:source.get_complete_words(cur_keyword_pos, cur_keyword_str)"{{{
return list
endfunction"}}}
function! s:keyword_filter(snippets, cur_keyword_str)"{{{
function! s:keyword_filter(snippets, cur_keyword_str) "{{{
" Uniq by real_name.
let dict = {}
@@ -112,7 +112,7 @@ function! s:keyword_filter(snippets, cur_keyword_str)"{{{
endfunction"}}}
function! neocomplcache#sources#snippets_complete#define()"{{{
function! neocomplcache#sources#snippets_complete#define() "{{{
return s:source
endfunction"}}}
@@ -120,20 +120,20 @@ function! s:compare_words(i1, i2)
return a:i1.menu - a:i2.menu
endfunction
function! neocomplcache#sources#snippets_complete#expandable()"{{{
function! neocomplcache#sources#snippets_complete#expandable() "{{{
return neosnippet#expandable()
endfunction"}}}
function! neocomplcache#sources#snippets_complete#force_expandable()"{{{
function! neocomplcache#sources#snippets_complete#force_expandable() "{{{
return neosnippet#expandable()
endfunction"}}}
function! neocomplcache#sources#snippets_complete#jumpable()"{{{
function! neocomplcache#sources#snippets_complete#jumpable() "{{{
return neosnippet#jumpable()
endfunction"}}}
function! neocomplcache#sources#snippets_complete#get_snippets()"{{{
function! neocomplcache#sources#snippets_complete#get_snippets() "{{{
return neosnippet#get_snippets()
endfunction"}}}
function! neocomplcache#sources#snippets_complete#get_snippets_dir()"{{{
function! neocomplcache#sources#snippets_complete#get_snippets_dir() "{{{
return neosnippet#get_snippets_directory()
endfunction"}}}