mirror of
https://github.com/Raimondi/delimitMate.git
synced 2025-12-06 20:54:31 +08:00
Merge pull request #295 from ypid/fix/python-defaults
Set delimitMate_nesting_quotes for Python by default
This commit is contained in:
@@ -191,6 +191,8 @@ e.g.: >
|
||||
let delimitMate_nesting_quotes = ['"','`']
|
||||
au FileType python let b:delimitMate_nesting_quotes = ['"']
|
||||
<
|
||||
For Python this is set by default by the plugin.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
*'delimitMate_expand_cr'*
|
||||
*'b:delimitMate_expand_cr'*
|
||||
|
||||
@@ -383,6 +383,7 @@ augroup delimitMate
|
||||
au!
|
||||
" Run on file type change.
|
||||
au FileType * call <SID>setup()
|
||||
au FileType python let b:delimitMate_nesting_quotes = ['"', "'"]
|
||||
|
||||
" Run on new buffers.
|
||||
au BufNewFile,BufRead,BufEnter,CmdwinEnter *
|
||||
|
||||
Reference in New Issue
Block a user