diff --git a/autoload/delimitMate.vim b/autoload/delimitMate.vim index c97b1e7..5728772 100644 --- a/autoload/delimitMate.vim +++ b/autoload/delimitMate.vim @@ -1,6 +1,7 @@ " ============================================================================ " File: autoload/delimitMate.vim " Version: 2.2 +" Modified: 2010-01-01 " Description: This plugin provides auto-completion for quotes, parens, etc. " Maintainer: Israel Chauca F. " Manual: Read ":help delimitMate". diff --git a/doc/delimitMate.txt b/doc/delimitMate.txt index 7c31635..76f53ca 100644 --- a/doc/delimitMate.txt +++ b/doc/delimitMate.txt @@ -1,4 +1,4 @@ -*delimitMate* Trying to keep those beasts at bay! v.2.2 *delimitMate.txt* +*delimitMate* Trying to keep those beasts at bay! v2.2 *delimitMate.txt* ========================================================================= ~ ==== ========= ========================== ===== ===================== ~ @@ -438,12 +438,12 @@ represented by an "|": > 5. FUNCTIONS *delimitMateFunctions* ------------------------------------------------------------------------------ -delimitMate_WithinEmptyPair() *delimitMate_WithinEmptyPair* +delimitMate#WithinEmptyPair() *delimitMate_WithinEmptyPair* Returns 1 if the cursor is inside an empty pair, 0 otherwise. ------------------------------------------------------------------------------ -DelimitMate_ExpandReturn() *DelimitMate_ExpandReturn()* +delimitMate#ExpandReturn() *delimitMate#ExpandReturn()* Returns the expansion for . @@ -451,32 +451,32 @@ e.g.: This mapping could be used to select an item on a pop-up menu or expand inside an empty pair: > inoremap pumvisible() ? "\" : - \ DelimitMate_WithinEmptyPair ? - \ DelimitMate_ExpandReturn() : "\" + \ delimitMate#WithinEmptyPair() ? + \ delimitMate#ExpandReturn() : "\" < ------------------------------------------------------------------------------ -DelimitMate_ExpandSpace() *DelimitMate_ExpandSpace()* +delimitMate#ExpandSpace() *delimitMate#ExpandSpace()* Returns the expansion for . e.g.: > - inoremap DelimitMate_WithinEmptyPair() ? - \ DelimitMate_ExpandSpace() : "\" + inoremap delimitMate#WithinEmptyPair() ? + \ delimitMate#ExpandSpace() : "\" < ------------------------------------------------------------------------------ -DelimitMate_ShouldJump() *DelimitMate_ShouldJump()* +delimitMate#ShouldJump() *delimitMate#ShouldJump()* Returns 1 if there is a closing delimiter or a quote to the right of the cursor, 0 otherwise. ------------------------------------------------------------------------------ -DelimitMate_JumpAny() *DelimitMate_JumpAny()* +delimitMate#JumpAny() *delimitMate#JumpAny()* This function returns a mapping that will make the cursor jump to the right. e.g.: You can use this to create your own mapping to jump over any delimiter. > - inoremap DelimitMate_ShouldJump() ? - \ DelimitMate_JumpAny() : "\" + inoremap delimitMate#ShouldJump() ? + \ delimitMate#JumpAny() : "\" < ============================================================================== @@ -519,7 +519,8 @@ This script was inspired by the auto-completion of delimiters of TextMate. Version Date Release notes ~ |---------|------------|-----------------------------------------------------| - 2.2 2010-05-20 * - Added command to switch the plug-in on and off. + 2.2 2010-05-20 * Current release: + - Added command to switch the plug-in on and off. - Fix: some problems with , and . - Fix: A small problem when inserting a delimiter at the beginning of the line. diff --git a/plugin/delimitMate.vim b/plugin/delimitMate.vim index 643ca99..8f80d2c 100644 --- a/plugin/delimitMate.vim +++ b/plugin/delimitMate.vim @@ -1,6 +1,7 @@ " ============================================================================ " File: plugin/delimitMate.vim " Version: 2.2 +" Modified: 2010-01-01 " Description: This plugin provides auto-completion for quotes, parens, etc. " Maintainer: Israel Chauca F. " Manual: Read ":help delimitMate".