> Tsuyoshi CHO (Vim Github Repository) wrote:
> >
> > @tsuyoshicho <https://github.com/tsuyoshicho> pushed 1 commit.
> >
> >   * 419101f
> >     
> > <https://github.com/vim/vim/commit/419101fb03dd48e8c73f9a419db666577311542e>
> >     vim operator syntax fix
> >
> >
> Hello, Tsuyoshi:
> 
> Unfortunately, github is telling me that it can't find your commit. 
> Would you please send a diff to me and an example illustrating the issue.

Adding ".diff" often helps.  Strangely, on github there is no button for
this.

https://github.com/vim/vim/commit/419101fb03dd48e8c73f9a419db666577311542e.diff

diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim
index 1fd94752b79..25a4eb4698d 100644
--- a/runtime/syntax/vim.vim
+++ b/runtime/syntax/vim.vim
@@ -228,9 +228,9 @@ syn keyword vimAugroupKey contained aug[roup]
 " Operators: {{{2
 " =========
 syn cluster    vimOperGroup    
contains=vimEnvvar,vimFunc,vimFuncVar,vimOper,vimOperParen,vimNumber,vimString,vimType,vimRegister,vimContinue,vim9Comment
+syn match      vimOper "||\|&&\|[-+.!]"                                
skipwhite nextgroup=vimString,vimSpecFile
 syn match      vimOper "\%#=1\(==\|!=\|>=\|<=\|=\~\|!\~\|>\|<\|=\)[?#]\{0,2}"  
skipwhite nextgroup=vimString,vimSpecFile
 syn match      vimOper "\(\<is\|\<isnot\)[?#]\{0,2}\>"                 
skipwhite nextgroup=vimString,vimSpecFile
-syn match      vimOper "||\|&&\|[-+.!]"                                
skipwhite nextgroup=vimString,vimSpecFile
 syn region     vimOperParen    matchgroup=vimParenSep  start="(" end=")" 
contains=vimoperStar,@vimOperGroup
 syn region     vimOperParen    matchgroup=vimSep               start="#\={" 
end="}" contains=@vimOperGroup nextgroup=vimVar,vimFuncVar
 if !exists("g:vimsyn_noerror") && !exists("g:vimsyn_noopererror")

-- 
>From "know your smileys":
 8-O    "Omigod!!" (done "rm -rf *" ?)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211002162234.B27E4C80053%40pakwach.

Raspunde prin e-mail lui