diff --git a/vim/autoload/pathogen.vim b/vim/autoload/pathogen.vim index b2891cd..8cd8e97 100644 --- a/vim/autoload/pathogen.vim +++ b/vim/autoload/pathogen.vim @@ -261,4 +261,4 @@ function! pathogen#runtime_findfile(file,count) abort endif endfunction -" vim:set et sw=2 foldmethod=expr foldexpr=getline(v\:lnum)=~'^\"\ Section\:'?'>1'\:getline(v\:lnum)=~#'^fu'?'a1'\:getline(v\:lnum)=~#'^endf'?'s1'\:'=': +" vim:set et sw=2: diff --git a/vim/syntax/python.vim b/vim/syntax/python.vim index 41f0099..f0743d4 100644 --- a/vim/syntax/python.vim +++ b/vim/syntax/python.vim @@ -262,9 +262,9 @@ unlet s:exs_re "if s:Enabled('g:python_slow_sync') syn sync minlines=2000 "else -"" This is fast but code inside triple quoted strings screws it up. It -"" is impossible to fix because the only way to know if you are inside a -"" triple quoted string is to start from the beginning of the file. +" This is fast but code inside triple quoted strings screws it up. It +" is impossible to fix because the only way to know if you are inside a +" triple quoted string is to start from the beginning of the file. "syn sync match pythonSync grouphere NONE '):$' "syn sync maxlines=200 "endif