Version 0.4

1. Fixed so that Vim's gf, [i, ]i, etc. commands works for ttcn files.
2. Moved some settings to the indent plugin, so make sure you download the latest ttcn-indent script as well!
This commit is contained in:
Stefan Karlsson 2004-04-16 00:00:00 +00:00 committed by Able Scraper
commit ff1df5c578
2 changed files with 33 additions and 0 deletions

3
README Normal file
View File

@ -0,0 +1,3 @@
This is a mirror of http://www.vim.org/scripts/script.php?script_id=793
This is a simple ftplugin for TTCN-3. You should put settings that are specific to TTCN in this file.

30
ftplugin/ttcn.vim Normal file
View File

@ -0,0 +1,30 @@
" Vim filetype plugin file
" Language: TTCN-3
" Maintainer: Stefan Karlsson <stefan.74@comhem.se>
" Last Change: 15 April 2004
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
if exists("g:ttcn_fold")
setlocal foldmethod=syntax
setlocal foldlevel=99
endif
" Path to the dictionary (this path might need adjustment)
setlocal dict=~\vimfiles\dicts\ttcn.dict
" Enables gf, [I, [i, etc commands for ttcn files
setlocal include=^\\s*import\\s\\+from
setlocal suffixesadd=.ttcn
" 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
setlocal cinoptions=(1s