Merge pull request #295 from ypid/fix/python-defaults

Set delimitMate_nesting_quotes for Python by default
This commit is contained in:
Israel Chauca Fuentes
2020-12-13 22:12:48 -06:00
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

@@ -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'*

View File

@@ -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 *