Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #102690
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Stephane Wirtel <stephane@wirtel.be> |
| Newsgroups | comp.lang.python |
| Subject | Syntax Highlightning for C API of CPython in VIM |
| Date | Mon, 8 Feb 2016 19:34:43 +0100 |
| Lines | 28 |
| Message-ID | <mailman.110.1454956487.2317.python-list@python.org> (permalink) |
| Reply-To | stephane@wirtel.be |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | news.uni-berlin.de WYLAHW9xKTq6DjUPcz5ELQMGOXKWJfqsqUdh1Fz9o7bw== |
| Return-Path | <stephane@wirtel.be> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'cpython': 0.05; 'api': 0.09; 'cc:addr:python-list': 0.09; 'url:github': 0.09; 'python': 0.10; 'syntax': 0.13; 'everyone,': 0.15; '@matrixise': 0.16; 'from:addr:stephane': 0.16; 'from:addr:wirtel.be': 0.16; 'macros.': 0.16; 'pyobject': 0.16; 'received:io': 0.16; 'received:mx1.wirtel.be': 0.16; 'received:psf.io': 0.16; 'received:wirtel.be': 0.16; 'stephane': 0.16; 'st\xc3\xa9phane': 0.16; 'to:addr:core-mentorship': 0.16; 'typedefs': 0.16; 'url:wirtel': 0.16; 'wirtel': 0.16; 'hack': 0.18; 'cc:addr:python.org': 0.20; 'extension': 0.20; 'cc:2**1': 0.22; 'parsing': 0.22; 'code.': 0.23; 'defined': 0.23; 'header:User- Agent:1': 0.26; 'community.': 0.27; 'received:be': 0.30; 'useful': 0.33; 'editor': 0.34; 'thank': 0.38; 'to:addr:python.org': 0.40; 'where': 0.40; 'some': 0.40; 'your': 0.60; 'please,': 0.63; 'our': 0.64; 'url:png': 0.64; 'received:176': 0.66; 'here': 0.66; 'color': 0.67; 'header:Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71; 'url:i': 0.77; 'received:176.31': 0.84; 'subject:skip:H 10': 0.84; 'url:imgur': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=simple/simple; d=wirtel.be; s=default; t=1454956531; bh=CvJfhpbta/5GZd0vc5yoi4ydTzmp4TUrHD/A125OUek=; h=Date:From:To:Cc:Subject:Reply-To; b=uP6mxHHiX5KimJoLo9jF/MjpMit8YtPFfrQIEYu2eDO3V75A2r4qwiwcphrDeI6d9 9ZFgAcreFspyIzYdIzAgDo9Mh6ZZvatVgdjGjKHDuaQ8KtlnO33qWZmq/1O0ac3qd8 P39TTRzVURK0OCy3u/m1NDxpKRHwYCuUOtSuZ6mrofGTi9wDmcjn82dGIeIULFWe2h q58l/wBXRBcmpvtupGUOMHfTFrz81NnhF6yRVCL4gB26Po7GzIsEOQCKquBF647e9N Caru/Y9nh1ZnXfMIlT5SiXnqVAV9pmHPSiUUkC/6ltMr1mfbjxUTCWRebmfE374bEF 8kjQmGMpyGLzQ== |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.23.1 (2014-03-12) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.21rc2 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:102690 |
Show key headers only | View raw
Hi everyone, With my talk "Exploring our Python Interpreter", I think this VIM plugin can be useful for the community. It's a syntax highlighter for the C API of CPython 3.5 and 3.6. I used Clang for the parsing and automatically generated the keywords for VIM. PyObject and the others typedefs of CPython will have the defined color of your favourite editor and it's the same for the enums, the typedefs, the functions and the macros. Where can you use this VIM plugin ? If you want to write a CPython extension or if you want to hack in the CPython code. Check this screenshot: http://i.imgur.com/0k13KOU.png Here is the repository: https://github.com/matrixise/cpython-vim-syntax Please, if you see some issues, tell me via an issue on Github. Thank you so much, Stephane -- Stéphane Wirtel - http://wirtel.be - @matrixise
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Syntax Highlightning for C API of CPython in VIM Stephane Wirtel <stephane@wirtel.be> - 2016-02-08 19:34 +0100
csiph-web