[Python-Dev] Syntax Highlightning for C API of CPython in VIM (original) (raw)
Stephane Wirtel stephane at wirtel.be
Mon Feb 8 13:34:43 EST 2016
- Previous message (by thread): [Python-Dev] Issue #26204: compiler now emits a SyntaxWarning on constant statement
- Next message (by thread): [Python-Dev] Experiences with Creating PEP 484 Stub Files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): [Python-Dev] Issue #26204: compiler now emits a SyntaxWarning on constant statement
- Next message (by thread): [Python-Dev] Experiences with Creating PEP 484 Stub Files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]