<div dir="ltr">Hi cafe,<br><br>I share the results of the patch for numeric literal extensions to vim porject.<br><br>This patch has been released in v.8.0.1402 [1][2][3].<br>Since v.8.0.1402, you can use syntax highlighting for `BinaryLiterals`, `HexFloatLiterals` and `NumericUnderscores`.<br><br><br>To the person who sends the next patch.<br>The patch submit procedure of `haskell.vim` is as follows:<br>  1. Share the contents of the patch to haskell-cafe ML (maintainer).<br>  2. Send pull-request to vim project on github.<br><br>P.S.<br>This syntax highlight on Atom, VScode and Vim are already ready.<br>Linghist (which is used from github) will apply it at new year release.<br>Pygments (which is used from trac, readthedocs, pandoc, ...) is pending review.<br><br>[1]: <a href="https://github.com/vim/vim/releases/tag/v8.0.1402">https://github.com/vim/vim/releases/tag/v8.0.1402</a><br>[2]: <a href="https://github.com/vim/vim/commit/f0b03c4e98f8a7184d8b4a5d702cbcd602426923#diff-6f4249d02b81f2e8cbd2b0927aad21ce">https://github.com/vim/vim/commit/f0b03c4e98f8a7184d8b4a5d702cbcd602426923#diff-6f4249d02b81f2e8cbd2b0927aad21ce</a><br>[3]: <a href="https://github.com/vim/vim/pull/2455">https://github.com/vim/vim/pull/2455</a><br><br>Regards,<br>Takenobu<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-12-12 21:29 GMT+09:00 Takenobu Tani <span dir="ltr"><<a href="mailto:takenobu.hs@gmail.com" target="_blank">takenobu.hs@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi cafe,<br><br>I'll directly contact the vim-dev maillist :)<br><br>Thanks,<br>Takenobu<br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-12-11 21:16 GMT+09:00 Takenobu Tani <span dir="ltr"><<a href="mailto:takenobu.hs@gmail.com" target="_blank">takenobu.hs@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi cafe,<br><br>Who can send a patche to vim project?<br><br>I'd like to update vim syntax file (haskell.vim) to fix numeric literals.<br>I read the vim `CONTRIBUTING.md` file [1].<br>It instructs me to contact the maintainer of each files.<br>In the header of `haskell.vim`, the maintainor of `haskell.vim` is haskell-cafe@ML. [2]<br>Who is the maintainer of `haskell.vim`?<br><br>I'd like to make fix on numeric literals extension: [3]<br>  * BinaryLiterals <br>  * HexFloatLiterals<br>  * NumericUnderscores <br><br>I prepared two kinds of patches.<br>  * Exact pattern version [4]<br>  * Fast (but approximate) pattern version [5]<br><br>I visually checked patches with the these files [6][7]. <br><br>Could you send a patch of [4] or [5] to vim project?<br><br><br>P.S.<br>I have already sent patches to two projects.<br><br>  * `language-haskell` for atom and linguist [8]<br>      You can already use it on atom.<br>      Linghist (which is used from github) will apply it soon.<br><br>  * `pygments` [9]<br>      It is pending review.<br><br><br>[1]: <a href="https://github.com/vim/vim/blob/master/CONTRIBUTING.md#syntax-indent-and-other-runtime-files" target="_blank">https://github.com/vim/vim/blo<wbr>b/master/CONTRIBUTING.md#synta<wbr>x-indent-and-other-runtime-<wbr>files</a><br>[2]: <a href="https://github.com/vim/vim/blob/master/runtime/syntax/haskell.vim#L3" target="_blank">https://github.com/vim/vim/blo<wbr>b/master/runtime/syntax/haskel<wbr>l.vim#L3</a><br>[3]: <a href="https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0009-numeric-underscores.rst#new-syntax-this-proposal" target="_blank">https://github.com/ghc-proposa<wbr>ls/ghc-proposals/blob/master/<wbr>proposals/0009-numeric-undersc<wbr>ores.rst#new-syntax-this-<wbr>proposal</a><br>[4]: <a href="https://github.com/vim/vim/compare/master...takenobu-hs:syntax-haskell-literal-exact" target="_blank">https://github.com/vim/vim/com<wbr>pare/master...takenobu-hs:synt<wbr>ax-haskell-literal-exact</a><br>[5]: <a href="https://github.com/vim/vim/compare/master...takenobu-hs:syntax-haskell-literal-fast" target="_blank">https://github.com/vim/vim/com<wbr>pare/master...takenobu-hs:synt<wbr>ax-haskell-literal-fast</a><br><br>[6]: <a href="https://github.com/takenobu-hs/ghc/blob/squashed-numeric-underscores/testsuite/tests/parser/should_run/NumericUnderscores0.hs" target="_blank">https://github.com/takenobu-hs<wbr>/ghc/blob/squashed-numeric-und<wbr>erscores/testsuite/tests/parse<wbr>r/should_run/NumericUnderscore<wbr>s0.hs</a><br>[7]: <a href="https://github.com/takenobu-hs/ghc/blob/squashed-numeric-underscores/testsuite/tests/parser/should_run/NumericUnderscores1.hs" target="_blank">https://github.com/takenobu-hs<wbr>/ghc/blob/squashed-numeric-und<wbr>erscores/testsuite/tests/parse<wbr>r/should_run/NumericUnderscore<wbr>s1.hs</a><br><br>[8]: <a href="https://github.com/atom-haskell/language-haskell/commit/f90eb7d8662493536f54898e52b4c7b1dc96de41" target="_blank">https://github.com/atom-haskel<wbr>l/language-haskell/commit/f90e<wbr>b7d8662493536f54898e52b4c7b1dc<wbr>96de41</a><br>[9]: <a href="https://bitbucket.org/birkenfeld/pygments-main/issues/1399/update-haskell-with-lexer-for-numeric" target="_blank">https://bitbucket.org/birkenfe<wbr>ld/pygments-main/issues/1399/<wbr>update-haskell-with-lexer-for-<wbr>numeric</a><br><br>Regards,<br>Takenobu<br><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>