Add color_coded support

color_coded[1] is a vim plugin that implements semantic
syntax highlighting using libclang.

For non-trivial projects such as libvirt, the plugin needs
some help figuring out where to find the various header
files: generate its configuration file at configure time
so that the plugin works out of the box.

[1] https://github.com/jeaye/color_coded
This commit is contained in:
Andrea Bolognani 2017-04-21 16:05:19 +02:00
parent ca71945575
commit a50dee9f68
3 changed files with 42 additions and 0 deletions

40
.color_coded.in Normal file
View File

@ -0,0 +1,40 @@
-I@abs_top_builddir@
-I@abs_top_srcdir@
-I@abs_top_builddir@/gnulib/lib
-I@abs_top_srcdir@/gnulib/lib
-I@abs_top_builddir@/include
-I@abs_top_srcdir@/include
-I@abs_top_builddir@/src
-I@abs_top_srcdir@/src
-I@abs_top_builddir@/src/access
-I@abs_top_srcdir@/src/access
-I@abs_top_builddir@/src/admin
-I@abs_top_srcdir@/src/admin
-I@abs_top_builddir@/src/bhyve
-I@abs_top_srcdir@/src/bhyve
-I@abs_top_builddir@/src/conf
-I@abs_top_srcdir@/src/conf
-I@abs_top_builddir@/src/libxl
-I@abs_top_srcdir@/src/libxl
-I@abs_top_builddir@/src/locking
-I@abs_top_srcdir@/src/locking
-I@abs_top_builddir@/src/logging
-I@abs_top_srcdir@/src/logging
-I@abs_top_builddir@/src/lxc
-I@abs_top_srcdir@/src/lxc
-I@abs_top_builddir@/src/qemu
-I@abs_top_srcdir@/src/qemu
-I@abs_top_builddir@/src/remote
-I@abs_top_srcdir@/src/remote
-I@abs_top_builddir@/src/rpc
-I@abs_top_srcdir@/src/rpc
-I@abs_top_builddir@/src/secret
-I@abs_top_srcdir@/src/secret
-I@abs_top_builddir@/src/security
-I@abs_top_srcdir@/src/security
-I@abs_top_builddir@/src/util
-I@abs_top_srcdir@/src/util
-I@abs_top_builddir@/src/vmx
-I@abs_top_srcdir@/src/vmx
-I@abs_top_builddir@/src/xenconfig
-I@abs_top_srcdir@/src/xenconfig

1
.gitignore vendored
View File

@ -26,6 +26,7 @@
*.swp *.swp
*~ *~
.#* .#*
.color_coded
.deps .deps
.dirstamp .dirstamp
.gdb_history .gdb_history

View File

@ -882,6 +882,7 @@ AC_CONFIG_FILES([\
Makefile src/Makefile include/libvirt/Makefile docs/Makefile \ Makefile src/Makefile include/libvirt/Makefile docs/Makefile \
gnulib/lib/Makefile \ gnulib/lib/Makefile \
gnulib/tests/Makefile \ gnulib/tests/Makefile \
.color_coded \
libvirt.pc \ libvirt.pc \
libvirt-qemu.pc \ libvirt-qemu.pc \
libvirt-lxc.pc \ libvirt-lxc.pc \