-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME
More file actions
26 lines (19 loc) · 936 Bytes
/
README
File metadata and controls
26 lines (19 loc) · 936 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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?