diff --git a/doc/delimitMate.txt b/doc/delimitMate.txt index 2678809..5ccc825 100644 --- a/doc/delimitMate.txt +++ b/doc/delimitMate.txt @@ -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'* diff --git a/plugin/delimitMate.vim b/plugin/delimitMate.vim index 46964ee..a56d772 100644 --- a/plugin/delimitMate.vim +++ b/plugin/delimitMate.vim @@ -383,6 +383,7 @@ augroup delimitMate au! " Run on file type change. au FileType * call setup() + au FileType python let b:delimitMate_nesting_quotes = ['"', "'"] " Run on new buffers. au BufNewFile,BufRead,BufEnter,CmdwinEnter *