1 " Vim filetype plugin file
2 " Language: GObject Builder (gob)
3 " Maintainer: Ding-Yi Chen <dchen at redhat.com>
4 " Modified from cpp.vim
5 " Last Change: 2008 Feb 21
8 " Only do this when not done yet for this buffer
9 if exists("b:did_ftplugin")
14 runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim
16 " Let the matchit plugin know what items can be matched.
18 runtime! macros/matchit.vim
19 if exists("loaded_matchit")
20 let b:match_ignorecase = 0
22 \ '\<public\>:\<protected\>:\<private\>:\<signal\>:\<virtual\>:\<override\>'
23 " Ignore ":syntax region" commands, the 'end' argument clobbers if-endif
24 let b:match_skip = 'getline(".") =~ "^\\s*sy\\%[ntax]\\s\\+region" ||
25 \ synIDattr(synID(line("."),col("."),1),"name") =~? "comment\\|string"'