| Hi Bram, I proposed this patch a while back to Charles, but I don’t think I got a response. It adds support for "py3 << trim EOF” in vim.vim syntax file. I can make a GitHub PR if you prefer. Ta Ben Begin forwarded message:
Subject: Re: syntax/vim.vim - support python << trim
Date: 3 April 2021 at 15:22:05 BST
Attached correct patch. Sorry for the spam...
--
--
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/B85B3001-388B-42BB-B8B3-DE8A9CA62EF6%40gmail.com.
|
0001-Runtime-vim-python-syntax-supports-trim.patch
Description: Binary data
Test with test.vim: ``` py3 << EOF import os pass EOF py3 << trim EOF import os pass EOF pyx <<EOF import os pass EOF pyx <<trimEOF import os pass EOF pyx << import os pass . Py2or3 <<MARKER import os pass MARKER Py2or3 << import os pass . py3 pass ``` On 3 Apr 2021, at 15:13, Ben Jackson <[email protected]> wrote:
Please ignore, sorry this patch is broken. I’m clearly having a bad day today :( I will re-send when I fixed it.
On 3 Apr 2021, at 15:08, Ben Jackson <[email protected]> wrote:
Hi Charles, Sorry for the confusion, here’s the patch attached. <0001-Runtime-vim-python-syntax-supports-trim.patch>
Thanks, Ben
On 3 Apr 2021, at 14:36, Bram Moolenaar <[email protected]> wrote:
Ben Jackson wrote:
Hi Charles,
Vim 8.1 has supported py3 <<trim for some time now. The below patch adds it to the runtime file for syntax/vim.vim
Would you consider including it?
Forwarding with the mail address adjusted.
-- hundred-and-one symptoms of being an internet addict: 45. You buy a Captain Kirk chair with a built-in keyboard and mouse.
/// 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/B85B3001-388B-42BB-B8B3-DE8A9CA62EF6%40gmail.com.
|