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


Groups > comp.lang.python > #102690

Syntax Highlightning for C API of CPython in VIM

From Stephane Wirtel <stephane@wirtel.be>
Newsgroups comp.lang.python
Subject Syntax Highlightning for C API of CPython in VIM
Date 2016-02-08 19:34 +0100
Message-ID <mailman.110.1454956487.2317.python-list@python.org> (permalink)

Show all headers | 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


Thread

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

csiph-web