Skip to content

Commit

Permalink
- Fixed syntax_complete.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Jun 5, 2013
1 parent 5ee3846 commit c2663ba
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions autoload/neocomplcache/sources/syntax_complete.vim
Expand Up @@ -41,8 +41,7 @@ let s:source = {

function! s:source.initialize() "{{{
" Set caching event.
autocmd neocomplete FileType,Syntax *
\ call s:make_cache()
autocmd neocomplete Syntax * call s:make_cache()

" Create cache directory.
if !isdirectory(neocomplcache#get_temporary_directory() . '/syntax_cache')
Expand All @@ -58,10 +57,6 @@ function! s:source.finalize() "{{{
endfunction"}}}

function! s:source.get_keyword_list(complete_str) "{{{
if neocomplcache#within_comment()
return []
endif

let list = []

let filetype = neocomplcache#get_context_filetype()
Expand Down

0 comments on commit c2663ba

Please sign in to comment.