Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vim for openSUSE:Factory checked in 
at 2023-02-19 18:18:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vim (Old)
 and      /work/SRC/openSUSE:Factory/.vim.new.22824 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vim"

Sun Feb 19 18:18:56 2023 rev:339 rq:1066374 version:9.0.1307

Changes:
--------
--- /work/SRC/openSUSE:Factory/vim/vim.changes  2023-02-14 16:42:47.669506940 
+0100
+++ /work/SRC/openSUSE:Factory/.vim.new.22824/vim.changes       2023-02-19 
18:18:59.789494195 +0100
@@ -1,0 +2,5 @@
+Fri Feb 17 11:45:06 UTC 2023 - Petr Vorel <pvo...@suse.cz>
+
+- Add patch vim-fix-sh-syntax.patch which fixes broken sh syntax.
+
+-------------------------------------------------------------------

New:
----
  vim-fix-sh-syntax.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vim.spec ++++++
--- /var/tmp/diff_new_pack.JBETOF/_old  2023-02-19 18:19:00.753500321 +0100
+++ /var/tmp/diff_new_pack.JBETOF/_new  2023-02-19 18:19:00.757500346 +0100
@@ -78,6 +78,7 @@
 # https://github.com/vim/vim/issues/3348 - problem more probadly in buildenv 
than in test
 Patch102:       vim-8.1.0297-dump3.patch
 Patch104:       vim-8.2.2411-globalvimrc.patch
+Patch105:       vim-fix-sh-syntax.patch
 BuildRequires:  autoconf
 BuildRequires:  db-devel
 BuildRequires:  fdupes
@@ -216,6 +217,7 @@
 %patch101 -p1
 %patch102 -p1
 %patch104 -p1
+%patch105 -p1
 cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} .
 
 # Unreliable tests







++++++ vim-fix-sh-syntax.patch ++++++
# sh/bash highlight broken since upgrade of sh.vim version 205
# => upgrade to version 207 which fixes it
# https://github.com/vim/vim/issues/11937#issuecomment-1421116531
# http://www.drchip.org/astronaut/vim/syntax/sh.vim.gz
--- vim-9.0.1307/runtime/syntax/sh.vim  2023-02-13 17:10:04.000000000 +0100
+++ /usr/share/vim/vim90/syntax/sh.vim  2023-02-17 12:19:44.967178736 +0100
@@ -2,8 +2,8 @@
 " Language:            shell (sh) Korn shell (ksh) bash (sh)
 " Maintainer:          Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM>
 " Previous Maintainer: Lennart Schultz <lennart.schu...@ecmwf.int>
-" Last Change:         Dec 20, 2022
-" Version:             205
+" Last Change:         Feb 11, 2023
+" Version:             207
 " URL:         http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH
 " For options and settings, please use:      :help ft-sh-syntax
 " This file includes many ideas from Eric Brunet (eric.bru...@ens.fr) and 
heredoc fixes from Felipe Contreras
@@ -166,7 +166,7 @@
  syn cluster shLoopoList       add=shForPP
 endif
 syn cluster shPPSLeftList      
contains=shAlias,shArithmetic,shCmdParenRegion,shCommandSub,shCtrlSeq,shDeref,shDerefSimple,shDoubleQuote,shEcho,shEscape,shExDoubleQuote,shExpr,shExSingleQuote,shHereDoc,shNumber,shOperator,shOption,shPosnParm,shHereString,shRedir,shSingleQuote,shSpecial,shStatement,shSubSh,shTest,shVariable
-syn cluster shPPSRightList     
contains=shComment,shDeref,shDerefSimple,shEscape,shPosnParm
+syn cluster shPPSRightList     
contains=shDeref,shDerefSimple,shEscape,shPosnParm
 syn cluster shSubShList        
contains=@shCommandSubList,shCommandSubBQ,shCaseEsac,shColon,shCommandSub,shComment,shDo,shEcho,shExpr,shFor,shIf,shHereString,shRedir,shSetList,shSource,shStatement,shVariable,shCtrlSeq,shOperator
 syn cluster shTestList 
contains=shArithmetic,shCharClass,shCommandSub,shCommandSubBQ,shCtrlSeq,shDeref,shDerefSimple,shDoubleQuote,shSpecialDQ,shExDoubleQuote,shExpr,shExSingleQuote,shNumber,shOperator,shSingleQuote,shTest,shTestOpr
 syn cluster shNoZSList contains=shSpecialNoZS
@@ -335,7 +335,7 @@
 " systems too, however, so the following syntax will flag $(..) as
 " an Error under /bin/sh.  By consensus of vimdev'ers!
 if exists("b:is_kornshell") || exists("b:is_bash") || exists("b:is_posix")
- syn region shCommandSub matchgroup=shCmdSubRegion start="\$(\ze[^(]\|$"  
skip='\\\\\|\\.' end=")"  contains=@shCommandSubList
+ syn region shCommandSub matchgroup=shCmdSubRegion start="\$(\ze[^(]"  
skip='\\\\\|\\.' end=")"  contains=@shCommandSubList
  syn region shArithmetic matchgroup=shArithRegion  start="\$((" 
skip='\\\\\|\\.' end="))" contains=@shArithList
  syn region shArithmetic matchgroup=shArithRegion  start="\$\[" 
skip='\\\\\|\\.' end="\]" contains=@shArithList
  syn match  shSkipInitWS contained     "^\s\+"
@@ -503,7 +503,6 @@
 " ksh: ${.sh.*} variables: {{{1
 " ========================================
 if exists("b:is_kornshell")
-" syn match  shDerefVar        contained       "[.]*"  
nextgroup=@shDerefVarList
  syn match  shDerefVar contained       "\.\+"  nextgroup=@shDerefVarList
 endif
 
@@ -548,6 +547,7 @@
 "        bash : ${parameter,pattern}  Case modification
 "        bash : ${parameter,,pattern} Case modification
 "        bash : ${@:start:qty}        display command line arguments from 
start to start+qty-1 (inferred)
+"        bash : ${parameter@operator} transforms parameter 
(operator∈[uULqEPARa])
 syn cluster shDerefPatternList contains=shDerefPattern,shDerefString
 if !exists("g:sh_no_error")
  syn match shDerefOpError      contained       ":[[:punct:]]"
@@ -563,6 +563,7 @@
 endif
 if exists("b:is_bash")
  syn match  shDerefOp  contained       "[,^]\{1,2}"    
nextgroup=@shDerefPatternList
+ syn match  shDerefOp  contained       "@[uULQEPAKa]"
 endif
 syn region shDerefString       contained       matchgroup=shDerefDelim 
start=+\%(\\\)\@<!'+ end=+'+    contains=shStringSpecial
 syn region shDerefString       contained       matchgroup=shDerefDelim 
start=+\%(\\\)\@<!"+ skip=+\\"+ end=+"+ contains=@shDblQuoteList,shStringSpecial

Reply via email to