File: c.vim.example

package info (click to toggle)
vim-syntax-gtk 20091024-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 964 kB
  • ctags: 126
  • sloc: makefile: 2
file content (27 lines) | stat: -rw-r--r-- 658 bytes parent folder | download | duplicates (4)
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
27
" Vim syntax file example
" Put it to ~/.vim/after/syntax/ and tailor to your needs.

let glib_deprecated_errors = 1
let gobject_deprecated_errors = 1
let gdk_deprecated_errors = 1
let gdkpixbuf_deprecated_errors = 1
let gtk_deprecated_errors = 1
let gimp_deprecated_errors = 1

if version < 600
  so <sfile>:p:h/glib.vim
  so <sfile>:p:h/gobject.vim
  so <sfile>:p:h/gdk.vim
  so <sfile>:p:h/gdkpixbuf.vim
  so <sfile>:p:h/gtk.vim
  so <sfile>:p:h/gimp.vim
else
  runtime! syntax/glib.vim
  runtime! syntax/gobject.vim
  runtime! syntax/gdk.vim
  runtime! syntax/gdkpixbuf.vim
  runtime! syntax/gtk.vim
  runtime! syntax/gimp.vim
endif

" vim: set ft=vim :