Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #102690 > unrolled thread

Syntax Highlightning for C API of CPython in VIM

Started byStephane Wirtel <stephane@wirtel.be>
First post2016-02-08 19:34 +0100
Last post2016-02-08 19:34 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Syntax Highlightning for C API of CPython in VIM Stephane Wirtel <stephane@wirtel.be> - 2016-02-08 19:34 +0100

#102690 — Syntax Highlightning for C API of CPython in VIM

FromStephane Wirtel <stephane@wirtel.be>
Date2016-02-08 19:34 +0100
SubjectSyntax Highlightning for C API of CPython in VIM
Message-ID<mailman.110.1454956487.2317.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web