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 --- .color_coded.in | 40 ++++++++++++++++++++++++++++++++++++++++ .gitignore | 1 + configure.ac | 1 + 3 files changed, 42 insertions(+) create mode 100644 .color_coded.in diff --git a/.color_coded.in b/.color_coded.in new file mode 100644 index 0000000..15e1c7c --- /dev/null +++ b/.color_coded.in @@ -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 diff --git a/.gitignore b/.gitignore index 9c475da..e690c99 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,7 @@ *.swp *~ .#* +.color_coded .deps .dirstamp .gdb_history diff --git a/configure.ac b/configure.ac index 5f7a07a..752d787 100644 --- a/configure.ac +++ b/configure.ac @@ -879,6 +879,7 @@ AC_CONFIG_FILES([\ Makefile src/Makefile include/libvirt/Makefile docs/Makefile \ gnulib/lib/Makefile \ gnulib/tests/Makefile \ + .color_coded \ libvirt.pc \ libvirt-qemu.pc \ libvirt-lxc.pc \ -- 2.7.4 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list