From 6244c67e247f1aca98265ec40f284b9e35ea3270 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Thu, 6 Jul 2023 02:43:21 -0700 Subject: [PATCH] update external vim stuff (superficial) --- vim/autoload/pathogen.vim | 2 +- vim/syntax/python.vim | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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