File: ddtpSrvIt.vim

package info (click to toggle)
ddtc 0.17.5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 268 kB
  • sloc: perl: 2,260; makefile: 87
file content (36 lines) | stat: -rw-r--r-- 1,090 bytes parent folder | download | duplicates (6)
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
28
29
30
31
32
33
34
35
36

" Vim syntax file
" Language: DDTP files - Italian version for Server syntax
" Maintainer: Lorenzo Cappelletti <lorenzo.cappelletti@email.it>
" Last Change: 

" For copyright statement and stuff, see file ddtpCom.vim



runtime syntax/ddtpComIt.vim

syntax region ddtpSrvIt		fold keepend transparent
	\ start=/^Description-it\|^# new translation:/
	\ end=/# \(Package(s)\|packages\|changed translation\|This package\)/me=s-1
	\ contains=ddtpSrvItSynp,ddtpSrvItDesc,ddtpSrvCommServ
	\ contained

syntax match  ddtpSrvItSynp	transparent
	\ /^Description-it\(_\u\u\)\?: .*/
	\ contains=ddtpComSynpKey,ddtpComTodo,@ddtpComErrSynp,@ddtpComItErr,ddtpComErrSynpTrailingDot
	\ contained						" Synopsis

syntax region ddtpSrvItDesc 	fold keepend transparent
	\ start=/^[ #]\( new translation:\)\@!/
	\ end=/^$/
	\ contains=ddtpSrvItPara,ddtpComDot
	\ contained						" Description

syntax region ddtpSrvItPara	fold transparent
	\ start=/^[ #>][^\.]/
	\ skip=/^[#>+]/
	\ end=/ \.$/me=e-2
	\ contains=@ddtpSrvComm,ddtpComTodo,@ddtpSrvDiff,@ddtpComErrPara,@ddtpComItErr
	\ contained						" Paragraph