" Vim filetype plugin file " Language: TTCN-3 " Maintainer: Stefan Karlsson " Last Change: 16 October 2003 if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 if exists("ttcn_fold") setlocal foldmethod=syntax setlocal foldlevel=98 endif " This filepath might need adjustment (for instance if you're running " Microsoft Windows) setlocal dict=~/.vim/dicts/ttcn.dict " Enables ctrl-n for keyword completion setlocal complete+=k setlocal nowrap " Disable auto breaking of non-comments setlocal formatoptions-=t " Enable auto breaking of comments and enable formatting of comments with " the gq command setlocal formatoptions+=croq " Defines the structure of comments (same as C++) setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://