- Added neobundle#expandable_or_jumpable().

This commit is contained in:
Shougo Matsushita
2013-01-13 08:08:51 +09:00
parent ff8b0b60c9
commit bdc7f9cb5b
3 changed files with 28 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
"=============================================================================
" FILE: neosnippet.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
" Last Modified: 07 Jan 2013.
" Last Modified: 13 Jan 2013.
" License: MIT license {{{
" Permission is hereby granted, free of charge, to any person obtaining
" a copy of this software and associated documentation files (the
@@ -79,6 +79,9 @@ function! s:doc_dict.search(cur_text) "{{{
endfunction"}}}
"}}}
function! neosnippet#expandable_or_jumpable() "{{{
return neosnippet#expandable() || neosnippet#jumpable()
endfunction"}}}
function! neosnippet#expandable() "{{{
" Check snippet trigger.
return s:get_cursor_snippet(