Mizuchi wrote:

> Hello, all:
> 
> When vim only compiled with python 3 support, and we write something
> in test.vim like:
> 
> python3 << EOF
> print("Hello, world")
> EOF
> 
> The highlight is not what we want. I think following line in
> $VIMRUNTIME/syntax/vim.vim is wrong:
> 
> if (g:vimsyn_embed =~ 'P' && has("python")) && filereadable(s:pythonpath)
> 
> has("python") is false, although has("python3") is true. We should use
> (has("python") || has("python3")) instead. Another solution is just
> drop has("python"). I have wrote a patch for this which attached to
> the letter.

For syntax file updates, please check the maintainer in the file header
and send the patch to that person.  Cc'ing vim_dev is OK.  I don't
include these patches, because the next version from the maintainer
would undo them.  And the maintainer needs to check that it's correct.

-- 
CART DRIVER: Bring out your dead!
   There are legs stick out of windows and doors.  Two MEN are fighting in the
   mud - covered from head to foot in it.  Another MAN is on his hands in
   knees shovelling mud into his mouth.  We just catch sight of a MAN falling
   into a well.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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

Raspunde prin e-mail lui