mirror of
https://github.com/Raimondi/delimitMate.git
synced 2026-02-06 18:07:51 +08:00
Make s:g() return default optional values. Close #186.
This commit is contained in:
@@ -182,10 +182,10 @@ endfunction "}}} Map()
|
||||
|
||||
function! s:Unmap() " {{{
|
||||
let imaps =
|
||||
\ s:g('right_delims') +
|
||||
\ s:g('left_delims') +
|
||||
\ s:g('quotes_list') +
|
||||
\ s:g('apostrophes_list') +
|
||||
\ s:g('right_delims', []) +
|
||||
\ s:g('left_delims', []) +
|
||||
\ s:g('quotes_list', []) +
|
||||
\ s:g('apostrophes_list', []) +
|
||||
\ ['<BS>', '<C-h>', '<S-BS>', '<Del>', '<CR>', '<Space>', '<S-Tab>', '<Esc>'] +
|
||||
\ ['<Up>', '<Down>', '<Left>', '<Right>', '<LeftMouse>', '<RightMouse>'] +
|
||||
\ ['<C-Left>', '<C-Right>'] +
|
||||
|
||||
Reference in New Issue
Block a user