mirror of
https://github.com/Raimondi/delimitMate.git
synced 2026-05-25 01:38:45 +08:00
Updated documentation about switch command.
This commit is contained in:
@@ -332,6 +332,11 @@ e.g.: >
|
|||||||
Re-sets all the mappings used for this script, use it if any option has been
|
Re-sets all the mappings used for this script, use it if any option has been
|
||||||
changed or if the filetype option hasn't been set yet.
|
changed or if the filetype option hasn't been set yet.
|
||||||
|
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
:DelimitMateSwitch *:DelimitMateSwitch*
|
||||||
|
|
||||||
|
Switches the plug-in on and off.
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
:DelimitMateTest *:DelimitMateTest*
|
:DelimitMateTest *:DelimitMateTest*
|
||||||
|
|
||||||
@@ -487,6 +492,8 @@ This script was inspired by the auto-completion of delimiters of TextMate.
|
|||||||
9. HISTORY *delimitMateHistory*
|
9. HISTORY *delimitMateHistory*
|
||||||
|
|
||||||
Version Date Release notes ~
|
Version Date Release notes ~
|
||||||
|
|---------|------------|-----------------------------------------------------|
|
||||||
|
2.2 2010-05-XX * - Added command to switch the plug-in on and off.
|
||||||
|---------|------------|-----------------------------------------------------|
|
|---------|------------|-----------------------------------------------------|
|
||||||
2.1 2010-05-10 * - Most of the functions have been moved to an
|
2.1 2010-05-10 * - Most of the functions have been moved to an
|
||||||
autoload script to avoid loading unnecessary ones.
|
autoload script to avoid loading unnecessary ones.
|
||||||
|
|||||||
@@ -77,13 +77,14 @@ function! s:DelimitMateDo() "{{{
|
|||||||
endtry
|
endtry
|
||||||
endfunction "}}}
|
endfunction "}}}
|
||||||
|
|
||||||
function! s:DelimitMateSwitch()
|
function! s:DelimitMateSwitch() "{{{
|
||||||
if b:delimitMate_enabled
|
if b:delimitMate_enabled
|
||||||
call delimitMate#UnMap()
|
call delimitMate#UnMap()
|
||||||
else
|
else
|
||||||
call delimitMate#Init()
|
call delimitMate#Init()
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction "}}}
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
" Commands: {{{
|
" Commands: {{{
|
||||||
|
|||||||
Reference in New Issue
Block a user