gir-vim-syntax : C extension syntax files for GTK+ and related libraries
script karma |
Rating 0/0,
Downloaded by 20 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
David Necas |
|
script type |
syntax |
|
description |
Vim C extension syntax files for various libraries, mostly GTK+-related.
It can be used as a replacement of gtk-vim-syntax (vimscript #1000) and might be seen as its successor, at least in spirit. However, the set of libraries and extraction method differ. The syntax files are generated from gobject-introspection (https://gi.readthedocs.io/en/latest/) GIR files (with a few manual additions). Keyword types can differ from gtk-vim-syntax (e.g. Function vs. Macro). There is no mechanism for highlighting deprecated symbols differently.
The package includes the extraction script. It can be used to generate newer versions or completely new syntax files from other GIR files.
At present it contains the following syntax files:
atk.vim
babl.vim
cairo.vim
fftw3.vim
gdkpixbuf.vim
gegl.vim
glib.vim
graphene.vim
gtk2.vim
gtk3.vim
gtk4.vim
gtksourceview2.vim
gtksourceview3.vim
jsonglib.vim
librsvg.vim
libxml2.vim
pango.vim
vulkan.vim
xlib.vim
|
|
install details |
1. Copy the contents of directory syntax to your $HOME/.vim/after/syntax
(or copy just selected files).
2. Include selected files in your $HOME/.vim/after/syntax/c.vim like this:
runtime! syntax/glib.vim
runtime! syntax/gdkpixbuf.vim
runtime! syntax/gtk3.vim
runtime! syntax/pango.vim
runtime! syntax/cairo.vim
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.34
|