-
Notifications
You must be signed in to change notification settings - Fork 1
FooBarrior/clavim
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
clavim (latin acc. for "key")
clavim is (going to be) a better C, C++, and Obj-C syntax highlighter for vim
based on libclang from the Clang project in the LLVM tree
To run the plugin, you need the latest libclang you can get your hands on. To
do that, follow the instructions at:
http://clang.llvm.org/get_started.html
Once you have libclang in your path, copy:
clang/
clavim.py
clavim.vim
to your vim's plugins folder (on mine it's $HOME/.vim/plugin)
Also, your vim needs to be compiled in such a way that you can script it with
python. I'm using the vim I found in Debian's apt repository, and it came
precompiled with python support.
TODO:
- find a way to track member variables once they've been highlighted so as
not to have to have to reparse the AST every time I want to update the
highlight's absolute position
- perhaps use libclang to highlight lines that have syntax errors?
About
clavim is (going to be) a better C, C++, and Obj-C syntax highlighter for vim based on libclang from the Clang project in the LLVM tree
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published