Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package vim-plugins for openSUSE:Factory checked in at 2022-02-07 23:38:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vim-plugins (Old) and /work/SRC/openSUSE:Factory/.vim-plugins.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vim-plugins" Mon Feb 7 23:38:18 2022 rev:39 rq:952101 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/vim-plugins/vim-plugins.changes 2021-11-23 22:12:57.806403061 +0100 +++ /work/SRC/openSUSE:Factory/.vim-plugins.new.1898/vim-plugins.changes 2022-02-07 23:39:49.013735648 +0100 @@ -1,0 +2,11 @@ +Mon Feb 7 11:01:13 UTC 2022 - Jiri Slaby <jsl...@suse.cz> + +- update + * latex 1.10.0+20210818 + * neomutt 20210218 + * NERDcommenter 2.6.0 + * rails 5.2 + * salt-vim 20170630 + * vim-markdown 2.0.0+20220129 + +------------------------------------------------------------------- @@ -5,4 +16,4 @@ - * NERDcommenter_version 2.5.2 - * NERDtree_version 6.10.16 - * supertab_version 2.1 - * zoomwin_tag 24@1 + * NERDcommenter 2.5.2 + * NERDtree 6.10.16 + * supertab 2.1 + * zoomwin 24 @@ -17,4 +28,4 @@ - * align_version 37.43 - * fugitive_version 3.4 - * tlib_version 1.27 - * tselectfiles_version 0.11 + * align 37.43 + * fugitive 3.4 + * tlib 1.27 + * tselectfiles 0.11 Old: ---- vim-latex-1.10.0+20210323.obscpio vim-markdown-2.0.0+20200714.obscpio vimplugin-NERDcommenter-2.5.2.tar.gz vimplugin-diffchanges-0.6~346dae2.tar.gz vimplugin-neomutt-20180104.tar.bz2 vimplugin-quilt-0.9.7.tar.bz2 vimplugin-rails-4.4.tar.bz2 vimplugin-salt-0.0.1.tar.bz2 vimplugin-snipmate-0.83.tar.bz2 vimplugin-taglist-4.6.tar.bz2 vimplugin-vimwiki-2.1.tar.bz2 vimplugin-zoomwin-24.1.tar.gz New: ---- neomutt.vim-20210218.obscpio neomutt.vim.obsinfo salt-vim-20170630.obscpio salt-vim.obsinfo vim-latex-1.10.0+20210818.obscpio vim-markdown-2.0.0+20220129.obscpio vimplugin-NERDcommenter-2.6.0.tar.gz vimplugin-diffchanges-0.6+g346dae2.tar.gz vimplugin-quilt-0.9.7.tar.gz vimplugin-rails-5.2.tar.gz vimplugin-snipmate-0.83.tar.gz vimplugin-taglist-4.6.tar.gz vimplugin-vimwiki-2.1.tar.gz vimplugin-zoomwin-24.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vim-plugins.spec ++++++ --- /var/tmp/diff_new_pack.sVDagm/_old 2022-02-07 23:39:49.877729736 +0100 +++ /var/tmp/diff_new_pack.sVDagm/_new 2022-02-07 23:39:49.885729681 +0100 @@ -1,7 +1,7 @@ # # spec file for package vim-plugins # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,25 +25,25 @@ %define colorsel_version 20110107 %define colorschemes_version 1.0 %define diffchanges_tag 346dae2 -%define diffchanges_version 0.6~346dae2 +%define diffchanges_version 0.6+g346dae2 %define editorconfig_version 0.3.3 %define file_line_version 1.0+20161020 %define fugitive_version 3.4 %define gitdiff_version 2 %define gnupg_version 2.7.1 -%define latex_version 1.10.0+20210323 +%define latex_version 1.10.0+20210818 %define locateopen_version 1.3 -%define markdown_version 2.0.0+20200714 +%define markdown_version 2.0.0+20220129 %define matrix_version 1.10 %define minibufexpl_version 6.3.2 %define multiplesearch_version 1.3 -%define neomutt_version 20180104 -%define NERDcommenter_version 2.5.2 +%define neomutt_version 20210218 +%define NERDcommenter_version 2.6.0 %define NERDtree_version 6.10.16 %define project_version 1.4.1 %define quilt_version 0.9.7 -%define rails_version 4.4 -%define salt_version 0.0.1 +%define rails_version 5.2 +%define salt_version 20170630 %define searchcomplete_version 1.1 %define showmarks_version 2.3 %define snipmate_version 0.83 @@ -55,8 +55,7 @@ %define tselectfiles_version 0.11 %define utl_version 2.0 %define vimwiki_version 2.1 -%define zoomwin_tag 24@1 -%define zoomwin_version 24.1 +%define zoomwin_version 24 Name: vim-plugins Version: 7.3.0 @@ -82,29 +81,29 @@ Source15: https://github.com/vim-scripts/SearchComplete/archive/refs/tags/%{searchcomplete_version}.tar.gz#/vimplugin-searchcomplete-%{searchcomplete_version}.tar.gz Source16: https://github.com/vim-scripts/ShowMarks7/archive/refs/tags/%{showmarks_version}.tar.gz#/vimplugin-showmarks-%{showmarks_version}.tar.gz Source17: https://github.com/vim-scripts/SuperTab--Van-Dewoestine/archive/refs/tags/%{supertab_version}.tar.gz#/vimplugin-supertab-%{supertab_version}.tar.gz -Source18: vimplugin-taglist-%{taglist_version}.tar.bz2 +Source18: https://github.com/yegappan/taglist/archive/refs/tags/v%{taglist_version}.tar.gz#/vimplugin-taglist-%{taglist_version}.tar.gz Source19: https://github.com/tomtom/tlib_vim/archive/refs/tags/%{tlib_version}.tar.gz#/vimplugin-tlib-%{tlib_version}.tar.gz Source20: https://github.com/vim-scripts/tregisters/archive/refs/tags/%{tregisters_version}.tar.gz#/vimplugin-tregisters-%{tregisters_version}.tar.gz Source21: https://github.com/vim-scripts/tselectbuffer/archive/refs/tags/%{tselectbuffer_version}.tar.gz#/vimplugin-tselectbuffer-%{tselectbuffer_version}.tar.gz Source22: https://github.com/vim-scripts/tselectfiles/archive/refs/tags/%{tselectfiles_version}.tar.gz#/vimplugin-tselectfiles-%{tselectfiles_version}.tar.gz Source23: https://github.com/vim-scripts/utl.vim/archive/refs/tags/%{utl_version}.tar.gz#/vimplugin-utl-%{utl_version}.tar.gz -Source24: https://github.com/vim-scripts/ZoomWin/archive/refs/tags/%{zoomwin_tag}.tar.gz#/vimplugin-zoomwin-%{zoomwin_version}.tar.gz -Source26: vimplugin-quilt-%{quilt_version}.tar.bz2 -Source27: vimplugin-vimwiki-%{vimwiki_version}.tar.bz2 +Source24: https://github.com/vim-scripts/ZoomWin/archive/refs/tags/%{zoomwin_version}.tar.gz#/vimplugin-zoomwin-%{zoomwin_version}.tar.gz +Source26: https://github.com/vim-scripts/quilt/archive/refs/tags/%{quilt_version}.tar.gz#/vimplugin-quilt-%{quilt_version}.tar.gz +Source27: https://github.com/vim-scripts/vimwiki/archive/refs/tags/%{vimwiki_version}.tar.gz#/vimplugin-vimwiki-%{vimwiki_version}.tar.gz Source28: https://github.com/jamessan/vim-gnupg/releases/download/v%{gnupg_version}/vim-gnupg-v%{gnupg_version}.tar.gz#/vimplugin-gnupg-%{gnupg_version}.tar.gz Source29: https://github.com/jamessan/vim-gnupg/releases/download/v%{gnupg_version}/vim-gnupg-v%{gnupg_version}.tar.gz.asc#/vimplugin-gnupg-%{gnupg_version}.tar.gz.asc Source30: https://github.com/vim-scripts/gitdiff.vim/archive/refs/tags/%{gitdiff_version}.tar.gz#/vimplugin-gitdiff-%{gitdiff_version}.tar.gz -Source31: vimplugin-snipmate-%{snipmate_version}.tar.bz2 -Source32: vimplugin-rails-%{rails_version}.tar.bz2 +Source31: https://github.com/vim-scripts/snipMate/archive/refs/tags/%{snipmate_version}.tar.gz#/vimplugin-snipmate-%{snipmate_version}.tar.gz +Source32: https://github.com/vim-scripts/rails.vim/archive/refs/tags/%{rails_version}.tar.gz#/vimplugin-rails-%{rails_version}.tar.gz Source33: https://github.com/mileszs/ack.vim/archive/%{ack_version}.tar.gz#/vimplugin-ack-%{ack_version}.tar.gz Source34: https://github.com/editorconfig/editorconfig-vim/archive/v%{editorconfig_version}.tar.gz#/vimplugin-editorconfig-%{editorconfig_version}.tar.gz Source35: https://github.com/tpope/vim-fugitive/archive/v%{fugitive_version}.tar.gz#/vimplugin-fugitive-%{fugitive_version}.tar.gz -Source36: vimplugin-neomutt-%{neomutt_version}.tar.bz2 -Source37: vimplugin-salt-%{salt_version}.tar.bz2 # from _service Source100: file-line-%{file_line_version}.tar.xz -Source101: vim-latex-%{latex_version}.tar.xz -Source102: vim-markdown-%{markdown_version}.tar.xz +Source101: vim-markdown-%{markdown_version}.tar.xz +Source102: neomutt.vim-%{neomutt_version}.tar.xz +Source103: salt-vim-%{salt_version}.tar.xz +Source104: vim-latex-%{latex_version}.tar.xz Source1000: https://raw.githubusercontent.com/openSUSE/pack-tools/master/contrib/vim/spec.snippets Patch1: locateopen-1.3-locate-support.patch Patch2: showmarks-signs.patch @@ -647,7 +646,7 @@ Press <c-w>o again: the previous set of windows is restored %prep -%setup -q -c -n %{name} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a21 -a22 -a23 -a24 -a26 -a27 -a28 -a30 -a31 -a32 -a33 -a34 -a35 -a36 -a37 -a100 -a101 -a102 +%setup -q -c -n %{name} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a21 -a22 -a23 -a24 -a26 -a27 -a28 -a30 -a31 -a32 -a33 -a34 -a35 -a100 -a101 -a102 -a103 -a104 # ------- patch locateopen ------ pushd LocateOpen-%locateopen_version %patch1 @@ -660,7 +659,7 @@ popd find tlib_vim-%{tlib_version} -type f \( -name '*.vim' -o -name '*.txt' \) -exec chmod -v 644 {} + -chmod -v 644 vimplugin-taglist-%{taglist_version}/doc/taglist.txt +chmod -v 644 taglist-%{taglist_version}/doc/taglist.txt %build @@ -670,34 +669,33 @@ rm mkzip.sh popd -pushd nerdcommenter-%{NERDcommenter_version} -rm -f Rakefile -popd - pushd nerdtree-%{NERDtree_version} rm -f _config.yml screenshot.png popd +pushd salt-vim-%{salt_version} +rm -f salt-vim.spec +popd + pushd tlib_vim-%{tlib_version} rm -r addon-info.json doc/tags etc samples scripts test popd install -d %buildroot/%vimplugin_dir for i in vimplugin-* a.vim-* ack.vim-* Align-* calendar.vim--Matsumoto-* \ - bufexplorer-* colorsel.vim-* diffchanges.vim-* \ - editorconfig-vim-* file-line-* \ - gitdiff.vim-* LocateOpen-* matrix.vim--Yang-* minibufexpl.vim-* \ - MultipleSearch-* nerdcommenter-* nerdtree-* project.tar.gz-* \ - SearchComplete-* ShowMarks7-* SuperTab--Van-Dewoestine-* \ - tlib_vim-* tregisters-* tselectbuffer-* tselectfiles-* utl.vim-* \ - vim-fugitive-* \ - vim-gnupg-* ZoomWin-*; do + colorsel.vim-* bufexplorer-* diffchanges.vim-* editorconfig-vim-* \ + file-line-* gitdiff.vim-* LocateOpen-* matrix.vim--Yang-* \ + minibufexpl.vim-* MultipleSearch-* neomutt.vim-* nerdcommenter-* \ + nerdtree-* project.tar.gz-* quilt-* rails.vim-* salt-vim-* \ + SearchComplete-* ShowMarks7-* snipMate-* SuperTab--Van-Dewoestine-* \ + taglist-* tlib_vim-* tregisters-* tselectbuffer-* tselectfiles-* \ + utl.vim-* vim-fugitive-* vim-gnupg-* vimwiki-* ZoomWin-*; do pushd $i cp -av * %buildroot/%vimplugin_dir/ popd done -mkdir -p %{buildroot}%{_defaultdocdir}/vimplugin-NERDtree/ +install -d %{buildroot}%{_defaultdocdir}/vimplugin-NERDtree/ mv %{buildroot}/%vimplugin_dir/nerdtree_plugin %{buildroot}%{_defaultdocdir}/vimplugin-NERDtree/ # vim-plugin-latex @@ -712,6 +710,7 @@ %{makeinstall} 'ADDONS=${VIMDIR}/site' popd +install -d %{buildroot}/%vimplugin_dir/snippets/ install -m 644 %{SOURCE1000} %{buildroot}/%vimplugin_dir/snippets/ # delete unneeded files @@ -744,6 +743,7 @@ %vim_doc_post -n vim-plugin-fugitive %vim_doc_post -n vim-plugin-gnupg %vim_doc_post -n vim-plugin-latex +%vim_doc_post -n vim-plugin-markdown %vim_doc_post -n vim-plugin-multiplesearch %vim_doc_post -n vim-plugin-neomutt %vim_doc_post -n vim-plugin-NERDcommenter @@ -903,16 +903,19 @@ %files -n vim-plugin-neomutt %defattr(-,root,root,0755) %vimplugin_dir/doc/neomutt.txt +%vimplugin_dir/ftdetect/logfile.vim %vimplugin_dir/ftdetect/mail.vim %vimplugin_dir/ftdetect/neomuttrc.vim %vimplugin_dir/ftplugin/neomuttrc.vim +%vimplugin_dir/syntax/neomuttlog.vim %vimplugin_dir/syntax/neomuttrc.vim %files -n vim-plugin-NERDcommenter %defattr(-,root,root,0755) %doc nerdcommenter-%{NERDcommenter_version}/README.md -%vimplugin_dir/doc/NERD_commenter.txt -%vimplugin_dir/plugin/NERD_commenter.vim +%vimplugin_dir/autoload/nerdcommenter.vim +%vimplugin_dir/doc/nerdcommenter.txt +%vimplugin_dir/plugin/nerdcommenter.vim %files -n vim-plugin-NERDtree %defattr(-,root,root,0755) @@ -940,6 +943,7 @@ %files -n vim-plugin-rails %defattr(-,root,root,0755) +%vimplugin_dir/compiler/rails.vim %vimplugin_dir/plugin/rails.vim %vimplugin_dir/autoload/rails.vim %vimplugin_dir/doc/rails.txt ++++++ _service ++++++ --- /var/tmp/diff_new_pack.sVDagm/_old 2022-02-07 23:39:49.937729326 +0100 +++ /var/tmp/diff_new_pack.sVDagm/_new 2022-02-07 23:39:49.941729297 +0100 @@ -12,13 +12,23 @@ </service> <service name="obs_scm" mode="disabled"> - <param name="url">https://github.com/plasticboy/vim-markdown</param> + <param name="url">https://github.com/neomutt/neomutt.vim.git</param> <param name="scm">git</param> - <param name="versionformat">@PARENT_TAG@+%cd</param> - <param name="revision">8e5d86f7b85234d3d1b4207dceebc43a768ed5d4</param> + <param name="versionformat">%cd</param> + <param name="revision">15b06057a75e5b648b1c1c692c870bc7f052d0c9</param> </service> <service name="tar" mode="buildtime"> - <param name="obsinfo">vim-markdown.obsinfo</param> + <param name="obsinfo">neomutt.vim.obsinfo</param> + </service> + + <service name="obs_scm" mode="disabled"> + <param name="url">https://github.com/saltstack/salt-vim.git</param> + <param name="scm">git</param> + <param name="versionformat">%cd</param> + <param name="revision">6ca9e3500cc39dd417b411435d58a1b720b331cc</param> + </service> + <service name="tar" mode="buildtime"> + <param name="obsinfo">salt-vim.obsinfo</param> </service> <service name="obs_scm" mode="disabled"> @@ -27,12 +37,22 @@ <param name="versionformat">@PARENT_TAG@+%cd</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-replacement">\1</param> - <param name="revision">c04c32f467c160a569d0aec7f938ebe67297e321</param> + <param name="revision">0760891c71e4c332d0b07704f2356bc4f56a7128</param> </service> <service name="tar" mode="buildtime"> <param name="obsinfo">vim-latex.obsinfo</param> </service> + <service name="obs_scm" mode="disabled"> + <param name="url">https://github.com/plasticboy/vim-markdown</param> + <param name="scm">git</param> + <param name="versionformat">@PARENT_TAG@+%cd</param> + <param name="revision">50d42082819cfa91745b6eff6e28ad5cbc8b27fa</param> + </service> + <service name="tar" mode="buildtime"> + <param name="obsinfo">vim-markdown.obsinfo</param> + </service> + <service name="recompress" mode="buildtime"> <param name="file">*.tar</param> <param name="compression">xz</param> ++++++ file-line.obsinfo ++++++ --- /var/tmp/diff_new_pack.sVDagm/_old 2022-02-07 23:39:49.965729133 +0100 +++ /var/tmp/diff_new_pack.sVDagm/_new 2022-02-07 23:39:49.969729107 +0100 @@ -3,4 +3,3 @@ mtime: 1477011001 commit: 559088afaf10124ea663ee0f4f73b1de48fb1632 - ++++++ neomutt.vim.obsinfo ++++++ name: neomutt.vim version: 20210218 mtime: 1613614995 commit: 15b06057a75e5b648b1c1c692c870bc7f052d0c9 ++++++ salt-vim.obsinfo ++++++ name: salt-vim version: 20170630 mtime: 1498869854 commit: 6ca9e3500cc39dd417b411435d58a1b720b331cc ++++++ vim-latex-1.10.0+20210323.obscpio -> vim-latex-1.10.0+20210818.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vim-latex-1.10.0+20210323/ftplugin/latex-suite/bibtools.py new/vim-latex-1.10.0+20210818/ftplugin/latex-suite/bibtools.py --- old/vim-latex-1.10.0+20210323/ftplugin/latex-suite/bibtools.py 2021-03-23 08:42:54.000000000 +0100 +++ new/vim-latex-1.10.0+20210818/ftplugin/latex-suite/bibtools.py 2021-08-18 09:30:26.000000000 +0200 @@ -194,7 +194,14 @@ self.addfile(f) def addfile(self, file): - fields = urlopen('file://' + pathname2url(os.path.abspath(file))).read().decode('utf-8').split('@') + content = urlopen('file://' + pathname2url(os.path.abspath(file))).read() + + try: + content_str = content.decode('utf-8') + except UnicodeDecodeError: + content_str = content.decode('latin1') + + fields = content_str.split('@') for f in fields: if not (f and re.match('string', f, re.I)): continue diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vim-latex-1.10.0+20210323/ftplugin/latex-suite/brackets.vim new/vim-latex-1.10.0+20210818/ftplugin/latex-suite/brackets.vim --- old/vim-latex-1.10.0+20210323/ftplugin/latex-suite/brackets.vim 2021-03-23 08:42:54.000000000 +0100 +++ new/vim-latex-1.10.0+20210818/ftplugin/latex-suite/brackets.vim 2021-08-18 09:30:26.000000000 +0200 @@ -102,14 +102,14 @@ let char = getline(line("."))[col(".") - 1] if previous == '\' if char == '{' - exe "normal ileft\\\<Esc>l%iright\\\<Esc>l%" + exe "normal! ileft\\\<Esc>l%iright\\\<Esc>l%" elseif char == '}' - exe "normal iright\\\<Esc>l%ileft\\\<Esc>l%" + exe "normal! iright\\\<Esc>l%ileft\\\<Esc>l%" endif elseif char =~ '\[\|(' - exe "normal i\\left\<Esc>l%i\\right\<Esc>l%" + exe "normal! i\\left\<Esc>l%i\\right\<Esc>l%" elseif char =~ '\]\|)' - exe "normal i\\right\<Esc>l%i\\left\<Esc>l%" + exe "normal! i\\right\<Esc>l%i\\left\<Esc>l%" endif endfunction " }}} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vim-latex-1.10.0+20210323/ftplugin/latex-suite/envmacros.vim new/vim-latex-1.10.0+20210818/ftplugin/latex-suite/envmacros.vim --- old/vim-latex-1.10.0+20210323/ftplugin/latex-suite/envmacros.vim 2021-03-23 08:42:54.000000000 +0100 +++ new/vim-latex-1.10.0+20210818/ftplugin/latex-suite/envmacros.vim 2021-08-18 09:30:26.000000000 +0200 @@ -737,17 +737,10 @@ " function! Tex_ChangeEnvironments() - let env_line = searchpair('\$\$\|\\\[\|\\begin{', '', '\$\$\|\\\]\|\\end{.\{-}}\zs', "bncW") - if env_line != 0 - if getline(env_line) !~ 'begin{' - let env_name = '[' - else - let env_name = matchstr(getline(env_line), 'begin{\zs.\{-}\ze}') - endif - endif + let env_name = Tex_GetCurrentEnv() - if !exists('env_name') + if env_name == '' echomsg "You are not inside environment" return 0 endif @@ -800,10 +793,23 @@ let second = '\end{' . a:env . '}' endif - let bottom = searchpair('\\\[\|\\begin{','','\\\]\|\\end{','') - s/\\\]\|\\end{.\{-}}/\=second/ - let top = searchpair('\\\[\|\\begin{','','\\\]\|\\end{','b') - s/\\\[\|\\begin{.\{-}}/\=first/ + let match_no_comment = '\%(\\\@<!\%(\\\\\)*%.*\)\@<!' + + let top = searchpair(match_no_comment . '\%(\\\[\|\\begin{.\{-}}\)','', match_no_comment . '\%(\\\]\|\\end{.\{-}}\)\zs','cbW') + let ix = getcurpos()[2] + + if getline(top)[ix-1:] !~# '^\\begin{' + let pat1 = '[' + let pat2 = ']' + else + let pat1 = '}' + let pat2 = '}' + end + + exe "normal! cf" . pat1 . "\<c-r>=first\<c-m>" + + let bottom = searchpair(match_no_comment . '\%(\\\[\|\\begin{\)','', match_no_comment . '\%(\\\]\|\\end{.\{-}}\)','W') + exe "normal! cf" . pat2 . "\<c-r>=second\<c-m>" if a:delete != '' exe 'silent '. top . "," . bottom . 's/' . a:delete . '//e' @@ -826,7 +832,7 @@ if local_label != '' put = '\label{'.local_label.'}' endif - normal $ + normal! $ endif else exe 'silent '.top . ',' . bottom . ' g/\\label/delete' @@ -902,31 +908,29 @@ " Author: Alan Schmitt function! Tex_GetCurrentEnv() let pos = Tex_GetPos() - let i = 0 - while 1 - let env_line = search('^[^%]*\\\%(begin\|end\){', 'bW') - if env_line == 0 - " we reached the beginning of the file, so we return the empty string - call Tex_SetPos(pos) - return '' - endif - if match(getline(env_line), '^[^%]*\\begin{') == -1 - " we found a \\end, so we keep searching - let i = i + 1 - continue + + let env_name = '' + let match_no_comment = '\%(\\\@<!\%(\\\\\)*%.*\)\@<!' + + let env_line = searchpair( + \ match_no_comment . '\%(\$\$\|\\\[\|\\begin{\)', + \ '', + \ match_no_comment . '\%(\$\$\|\\\]\|\\end{.\{-}}\)\zs', + \ "bcW") + + let ix = getcurpos()[2] + + if env_line != 0 + let line = getline(env_line)[ix-1:] + if line !~# '^\\begin{' + let env_name = '[' else - " we found a \\begin which has not been \\end'ed. we are done. - if i == 0 - let env = matchstr(getline(env_line), '\\begin{\zs.\{-}\ze}') - call Tex_SetPos(pos) - return env - else - " this \\begin closes a \\end, continue searching. - let i = i - 1 - continue - endif + let env_name = matchstr(line, '^\\begin{\zs.\{-}\ze}') endif - endwhile + endif + + call Tex_SetPos(pos) + return env_name endfunction " }}} " Tex_InsertItem: insert \item into a list {{{ @@ -1097,7 +1101,7 @@ let com_line = searchpair('\\\k\{-}{', '', '}', 'b') if com_line != 0 - normal l + normal! l let com_name = expand('<cword>') endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vim-latex-1.10.0+20210323/ftplugin/latex-suite/folding.vim new/vim-latex-1.10.0+20210818/ftplugin/latex-suite/folding.vim --- old/vim-latex-1.10.0+20210323/ftplugin/latex-suite/folding.vim 2021-03-23 08:42:54.000000000 +0100 +++ new/vim-latex-1.10.0+20210818/ftplugin/latex-suite/folding.vim 2021-08-18 09:30:26.000000000 +0200 @@ -334,7 +334,7 @@ " {{{ preamble if g:Tex_FoldedMisc =~ '\<preamble\>' call AddSyntaxFoldItem ( - \ '^\s*\\document\(class\|style\).*{', + \ '^\s*\\document\(class\|style\)\>', \ '^\s*\\begin{document}', \ 0, \ -1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vim-latex-1.10.0+20210323/ftplugin/latex-suite/main.vim new/vim-latex-1.10.0+20210818/ftplugin/latex-suite/main.vim --- old/vim-latex-1.10.0+20210323/ftplugin/latex-suite/main.vim 2021-03-23 08:42:54.000000000 +0100 +++ new/vim-latex-1.10.0+20210818/ftplugin/latex-suite/main.vim 2021-08-18 09:30:26.000000000 +0200 @@ -774,7 +774,7 @@ else let gotoc = '' endif - exec "normal ".gotoc.mapCmd + exec "normal! ".gotoc.mapCmd endif exec a:mode.'noremap '.a:prefix.' '.myMap endfunction diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vim-latex-1.10.0+20210323/ftplugin/latex-suite/wizardfuncs.vim new/vim-latex-1.10.0+20210818/ftplugin/latex-suite/wizardfuncs.vim --- old/vim-latex-1.10.0+20210323/ftplugin/latex-suite/wizardfuncs.vim 2021-03-23 08:42:54.000000000 +0100 +++ new/vim-latex-1.10.0+20210818/ftplugin/latex-suite/wizardfuncs.vim 2021-08-18 09:30:26.000000000 +0200 @@ -32,7 +32,7 @@ if shorttitle != "" let shorttitle = '['.shorttitle.']' endif - exe "normal `>a}\<cr>\<esc>`<i".sstructure.toc.shorttitle."{" + exe "normal! `>a}\<cr>\<esc>`<i".sstructure.toc.shorttitle."{" endfunction " }}} @@ -97,7 +97,7 @@ silent call s:Tex_section_call(curr_section_name) let section = Tex_InsSecAdv(curr_section_name) endif - exe "normal i".section + exe "normal! i".section call Tex_SetPos(pos) endfunction "}}} function! s:Tex_section_detection() "{{{ @@ -189,7 +189,7 @@ exe "normal! i\\".a:section_name."{<++>}<++>\<Esc>0\<C-j>" " let ret_section = "\\".a:section_name."{<++>}<++>" " exe "normal! i\<C-r>=IMAP_PutTextWithMovement(ret_section)\<CR>" -" normal f}i +" normal! f}i endfunction "}}} " ============================================================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vim-latex-1.10.0+20210323/indent/tex.vim new/vim-latex-1.10.0+20210818/indent/tex.vim --- old/vim-latex-1.10.0+20210323/indent/tex.vim 2021-03-23 08:42:54.000000000 +0100 +++ new/vim-latex-1.10.0+20210818/indent/tex.vim 2021-08-18 09:30:26.000000000 +0200 @@ -32,7 +32,7 @@ " \end{itemize} \end{itemize} " " -" * g:tex_items = '\\bibitem\|\\item' +" * g:tex_items = '\\bibitem\>\|\\item\>' " " A list of tokens to be considered as commands for the beginning of an item " command. The tokens should be separated with '\|'. The initial '\' should @@ -90,7 +90,7 @@ let g:tex_indent_items = 1 endif if !exists('g:tex_items') - let g:tex_items = '\\bibitem\|\\item' + let g:tex_items = '\\bibitem\>\|\\item\>' endif if !exists("g:tex_itemize_env") let g:tex_itemize_env = 'itemize\|description\|enumerate\|thebibliography' @@ -301,7 +301,8 @@ " Add indentkeys depending on options - let items_keys = substitute(g:tex_items, '^\|\(\\|\)', ',0=', 'g') + let items_keys = substitute(g:tex_items, '^\|\\|', ',0=', 'g') + let items_keys = substitute(items_keys, '\\>', '', 'g') if g:tex_indent_items exec 'setlocal indentkeys+=' . items_keys else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vim-latex-1.10.0+20210323/plugin/imaps.vim new/vim-latex-1.10.0+20210818/plugin/imaps.vim --- old/vim-latex-1.10.0+20210323/plugin/imaps.vim 2021-03-23 08:42:54.000000000 +0100 +++ new/vim-latex-1.10.0+20210818/plugin/imaps.vim 2021-08-18 09:30:26.000000000 +0200 @@ -513,7 +513,7 @@ endif " Open any closed folds and make this part of the text visible. - silent! foldopen! + normal! zv " We are at the starting placeholder. Start visual mode. normal! v ++++++ vim-latex.obsinfo ++++++ --- /var/tmp/diff_new_pack.sVDagm/_old 2022-02-07 23:39:50.169727738 +0100 +++ /var/tmp/diff_new_pack.sVDagm/_new 2022-02-07 23:39:50.173727710 +0100 @@ -1,6 +1,5 @@ name: vim-latex -version: 1.10.0+20210323 -mtime: 1616485374 -commit: c04c32f467c160a569d0aec7f938ebe67297e321 - +version: 1.10.0+20210818 +mtime: 1629271826 +commit: 0760891c71e4c332d0b07704f2356bc4f56a7128 ++++++ vim-markdown-2.0.0+20200714.obscpio -> vim-markdown-2.0.0+20220129.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vim-markdown-2.0.0+20200714/.travis.yml new/vim-markdown-2.0.0+20220129/.travis.yml --- old/vim-markdown-2.0.0+20200714/.travis.yml 2020-07-14 14:25:50.000000000 +0200 +++ new/vim-markdown-2.0.0+20220129/.travis.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,34 +0,0 @@ -language: vim - -os: - - linux - - osx - -env: - - TEST=package - - TEST=latest - -before_script: | - if [ "$TEST" = "package" ]; then - if [ "$TRAVIS_OS_NAME" = "linux" ]; then - sudo apt-get -y update - sudo apt-get -y install vim - fi - else - cd .. - git clone --depth 1 https://github.com/vim/vim - cd vim - ./configure --with-features=huge - make - sudo make install - export PATH="/usr/local/bin:$PATH" - cd "$TRAVIS_BUILD_DIR" - fi - if [ "$TRAVIS_OS_NAME" = "osx" ]; then - curl https://bootstrap.pypa.io/get-pip.py | sudo python - fi - sudo -H pip install virtualenv - -script: - - make test - - make doc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vim-markdown-2.0.0+20200714/CONTRIBUTING.md new/vim-markdown-2.0.0+20220129/CONTRIBUTING.md --- old/vim-markdown-2.0.0+20200714/CONTRIBUTING.md 2020-07-14 14:25:50.000000000 +0200 +++ new/vim-markdown-2.0.0+20220129/CONTRIBUTING.md 2022-01-29 12:20:11.000000000 +0100 @@ -46,7 +46,7 @@ Issues are tracked within GitHub. -When reporting issues, your report is more effective if you include a minimal example file that reproduces the problem. Try to trim out as much as possible, until you have the smallest possible file that still reproduces the issue. Paste the example inline into your issue report, quoted using four spaces at the beginning of each line, like this example from issue [#189](https://github.com/plasticboy/vim-markdown/issues/189): +When reporting issues, your report is more effective if you include a minimal example file that reproduces the problem. Try to trim out as much as possible, until you have the smallest possible file that still reproduces the issue. Paste the example inline into your issue report, quoted using four spaces at the beginning of each line, like this example from issue [#189](https://github.com/preservim/vim-markdown/issues/189): ``` Minimal example: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vim-markdown-2.0.0+20200714/README.md new/vim-markdown-2.0.0+20220129/README.md --- old/vim-markdown-2.0.0+20200714/README.md 2020-07-14 14:25:50.000000000 +0200 +++ new/vim-markdown-2.0.0+20220129/README.md 2022-01-29 12:20:11.000000000 +0100 @@ -1,7 +1,5 @@ # Vim Markdown -[](https://travis-ci.org/plasticboy/vim-markdown) - Syntax highlighting, matching rules and mappings for [the original Markdown](http://daringfireball.net/projects/markdown/) and extensions. 1. [Installation](#installation) @@ -18,7 +16,7 @@ ```vim Plugin 'godlygeek/tabular' -Plugin 'plasticboy/vim-markdown' +Plugin 'preservim/vim-markdown' ``` The `tabular` plugin must come *before* `vim-markdown`. @@ -34,19 +32,19 @@ ```sh cd ~/.vim/bundle -git clone https://github.com/plasticboy/vim-markdown.git +git clone https://github.com/preservim/vim-markdown.git ``` To install without Pathogen using the Debian [vim-addon-manager](http://packages.qa.debian.org/v/vim-addon-manager.html), do this: ```sh -git clone https://github.com/plasticboy/vim-markdown.git +git clone https://github.com/preservim/vim-markdown.git cd vim-markdown sudo make install vim-addon-manager install markdown ``` -If you are not using any package manager, download the [tarball](https://github.com/plasticboy/vim-markdown/archive/master.tar.gz) and do this: +If you are not using any package manager, download the [tarball](https://github.com/preservim/vim-markdown/archive/master.tar.gz) and do this: ```sh cd ~/.vim @@ -370,19 +368,19 @@ Known limitation: does not work for links that span multiple lines. -- `ge`: open the link under the cursor in Vim for editing. Useful for relative markdown links. `<Plug>Markdown_EditUrlUnderCursor` +- `ge`: open the link under the cursor in Vim for editing. Useful for relative markdown links. Falls back to `gf` with force editing, if not on a markdown link. `<Plug>Markdown_EditUrlUnderCursor` The rules for the cursor position are the same as the `gx` command. - `]]`: go to next header. `<Plug>Markdown_MoveToNextHeader` -- `[[`: go to previous header. Contrast with `]c`. `<Plug>Markdown_MoveToPreviousHeader` +- `[[`: go to previous header. Contrast with `]h`. `<Plug>Markdown_MoveToPreviousHeader` - `][`: go to next sibling header if any. `<Plug>Markdown_MoveToNextSiblingHeader` - `[]`: go to previous sibling header if any. `<Plug>Markdown_MoveToPreviousSiblingHeader` -- `]c`: go to Current header. `<Plug>Markdown_MoveToCurHeader` +- `]h`: go to Current header. `<Plug>Markdown_MoveToCurHeader` - `]u`: go to parent header (Up). `<Plug>Markdown_MoveToParentHeader` @@ -443,7 +441,7 @@ The main contributors of vim-markdown are: -- **Ben Williams** (A.K.A. **plasticboy**). The original developer of vim-markdown. [Homepage](http://plasticboy.com/). +- **Ben Williams** (A.K.A. @plasticboy). The original developer of vim-markdown. [Homepage](http://plasticboy.com/). If you feel that your name should be on this list, please make a pull request listing your contributions. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vim-markdown-2.0.0+20200714/doc/vim-markdown.txt new/vim-markdown-2.0.0+20220129/doc/vim-markdown.txt --- old/vim-markdown-2.0.0+20200714/doc/vim-markdown.txt 2020-07-14 14:25:50.000000000 +0200 +++ new/vim-markdown-2.0.0+20220129/doc/vim-markdown.txt 2022-01-29 12:20:11.000000000 +0100 @@ -55,7 +55,7 @@ If you use Vundle [2], add the following lines to your '~/.vimrc': > Plugin 'godlygeek/tabular' - Plugin 'plasticboy/vim-markdown' + Plugin 'preservim/vim-markdown' < The 'tabular' plugin must come _before_ 'vim-markdown'. @@ -67,11 +67,11 @@ If you use Pathogen [3], do this: > cd ~/.vim/bundle - git clone https://github.com/plasticboy/vim-markdown.git + git clone https://github.com/preservim/vim-markdown.git < To install without Pathogen using the Debian vim-addon-manager [4], do this: > - git clone https://github.com/plasticboy/vim-markdown.git + git clone https://github.com/preservim/vim-markdown.git cd vim-markdown sudo make install vim-addon-manager install markdown @@ -525,7 +525,7 @@ - ']]': go to next header. '<Plug>Markdown_MoveToNextHeader' *vim-markdown-[[* -- '[[': go to previous header. Contrast with ']c'. +- '[[': go to previous header. Contrast with ']h'. '<Plug>Markdown_MoveToPreviousHeader' *vim-markdown-][* @@ -536,8 +536,8 @@ - '[]': go to previous sibling header if any. '<Plug>Markdown_MoveToPreviousSiblingHeader' - *vim-markdown-]c* -- ']c': go to Current header. '<Plug>Markdown_MoveToCurHeader' + *vim-markdown-]h* +- ']h': go to Current header. '<Plug>Markdown_MoveToCurHeader' *vim-markdown-]u* - ']u': go to parent header (Up). '<Plug>Markdown_MoveToParentHeader' @@ -651,7 +651,7 @@ [2] https://github.com/gmarik/vundle [3] https://github.com/tpope/vim-pathogen [4] http://packages.qa.debian.org/v/vim-addon-manager.html -[5] https://github.com/plasticboy/vim-markdown/archive/master.tar.gz +[5] https://github.com/preservim/vim-markdown/archive/master.tar.gz [6] https://github.com/klen/python-mode [7] https://gohugo.io/content/front-matter/ [8] https://github.com/cespare/vim-toml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vim-markdown-2.0.0+20200714/ftplugin/markdown.vim new/vim-markdown-2.0.0+20220129/ftplugin/markdown.vim --- old/vim-markdown-2.0.0+20200714/ftplugin/markdown.vim 2020-07-14 14:25:50.000000000 +0200 +++ new/vim-markdown-2.0.0+20220129/ftplugin/markdown.vim 2022-01-29 12:20:11.000000000 +0100 @@ -550,7 +550,7 @@ " Move colons for alignment to left or right side of the cell. execute 's/:\( \+\)|/\1:|/e' . l:flags execute 's/|\( \+\):/|:\1/e' . l:flags - execute 's/ /-/' . l:flags + execute 's/|\zs \+\ze|/\=repeat("-", len(submatch(0)))/' . l:flags call setpos('.', l:pos) endfunction @@ -664,6 +664,22 @@ " script while this function is running. We must not replace it. if !exists('*s:EditUrlUnderCursor') function s:EditUrlUnderCursor() + let l:editmethod = '' + " determine how to open the linked file (split, tab, etc) + if exists('g:vim_markdown_edit_url_in') + if g:vim_markdown_edit_url_in == 'tab' + let l:editmethod = 'tabnew' + elseif g:vim_markdown_edit_url_in == 'vsplit' + let l:editmethod = 'vsp' + elseif g:vim_markdown_edit_url_in == 'hsplit' + let l:editmethod = 'sp' + else + let l:editmethod = 'edit' + endif + else + " default to current buffer + let l:editmethod = 'edit' + endif let l:url = s:Markdown_GetUrlForPosition(line('.'), col('.')) if l:url != '' if get(g:, 'vim_markdown_autowrite', 0) @@ -693,29 +709,13 @@ endif endif let l:url = fnameescape(fnamemodify(expand('%:h').'/'.l:url.l:ext, ':.')) - let l:editmethod = '' - " determine how to open the linked file (split, tab, etc) - if exists('g:vim_markdown_edit_url_in') - if g:vim_markdown_edit_url_in == 'tab' - let l:editmethod = 'tabnew' - elseif g:vim_markdown_edit_url_in == 'vsplit' - let l:editmethod = 'vsp' - elseif g:vim_markdown_edit_url_in == 'hsplit' - let l:editmethod = 'sp' - else - let l:editmethod = 'edit' - endif - else - " default to current buffer - let l:editmethod = 'edit' - endif execute l:editmethod l:url endif if l:anchor != '' silent! execute '/'.l:anchor endif else - echomsg 'The cursor is not on a link.' + execute l:editmethod . " <cfile>" endif endfunction endif @@ -750,7 +750,7 @@ call <sid>MapNotHasmapto('][', 'Markdown_MoveToNextSiblingHeader') call <sid>MapNotHasmapto('[]', 'Markdown_MoveToPreviousSiblingHeader') call <sid>MapNotHasmapto(']u', 'Markdown_MoveToParentHeader') - call <sid>MapNotHasmapto(']c', 'Markdown_MoveToCurHeader') + call <sid>MapNotHasmapto(']h', 'Markdown_MoveToCurHeader') call <sid>MapNotHasmapto('gx', 'Markdown_OpenUrlUnderCursor') call <sid>MapNotHasmapto('ge', 'Markdown_EditUrlUnderCursor') endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vim-markdown-2.0.0+20200714/test/map.vader new/vim-markdown-2.0.0+20220129/test/map.vader --- old/vim-markdown-2.0.0+20200714/test/map.vader 2020-07-14 14:25:50.000000000 +0200 +++ new/vim-markdown-2.0.0+20220129/test/map.vader 2022-01-29 12:20:11.000000000 +0100 @@ -146,8 +146,8 @@ b -Execute (]c): +Execute (]h): normal! 3G AssertEqual line('.'), 3 - normal ]c + normal ]h AssertEqual line('.'), 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vim-markdown-2.0.0+20200714/test/syntax.md new/vim-markdown-2.0.0+20220129/test/syntax.md --- old/vim-markdown-2.0.0+20200714/test/syntax.md 2020-07-14 14:25:50.000000000 +0200 +++ new/vim-markdown-2.0.0+20220129/test/syntax.md 2022-01-29 12:20:11.000000000 +0100 @@ -31,7 +31,7 @@ [a]( b "c" ) -a (`a`) b. Fix: <https://github.com/plasticboy/vim-markdown/issues/113> +a (`a`) b. Fix: <https://github.com/preservim/vim-markdown/issues/113> Escaped: ++++++ vim-markdown.obsinfo ++++++ --- /var/tmp/diff_new_pack.sVDagm/_old 2022-02-07 23:39:50.289726917 +0100 +++ /var/tmp/diff_new_pack.sVDagm/_new 2022-02-07 23:39:50.293726889 +0100 @@ -1,6 +1,5 @@ name: vim-markdown -version: 2.0.0+20200714 -mtime: 1594729550 -commit: 8e5d86f7b85234d3d1b4207dceebc43a768ed5d4 - +version: 2.0.0+20220129 +mtime: 1643455211 +commit: 50d42082819cfa91745b6eff6e28ad5cbc8b27fa ++++++ vimplugin-NERDcommenter-2.5.2.tar.gz -> vimplugin-NERDcommenter-2.6.0.tar.gz ++++++ ++++ 8973 lines of diff (skipped) ++++++ vimplugin-zoomwin-24.1.tar.gz -> vimplugin-zoomwin-24.tar.gz ++++++