mirror of
https://github.com/Raimondi/delimitMate.git
synced 2026-02-17 15:34:18 +08:00
Better handling of syntax regions
This commit is contained in:
@@ -85,6 +85,13 @@ let g:delimitMate_autoclose = 1
|
||||
let g:delimitMate_balance_pairs = 1
|
||||
call DMTest_pairs('ab cd)', "la(x", 'ab(x cd)')
|
||||
|
||||
" Disable on syntax groups
|
||||
new
|
||||
syntax on
|
||||
set ft=vim
|
||||
call DMTest_pairs('echo " "', "f\"la(", 'echo " ( "')
|
||||
syntax off
|
||||
bp
|
||||
|
||||
call vimtest#Quit()
|
||||
" vim: sw=2 et
|
||||
|
||||
Reference in New Issue
Block a user