source: git/trunk/vim/syntax/survex-err.vim @ 7bb8184

Last change on this file since 7bb8184 was 7bb8184, checked in by Olly Betts <olly@…>, 13 years ago

Retagging 1.2.0

git-svn-id: file:///home/survex-svn/survex/tags/1.2.0@3664 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100644
File size: 1.3 KB
Line 
1" Vim syntax file
2" Language:     Survex loop closure errors
3"
4" Copyright (C) 2006 Thomas Holder
5"
6" This program is free software; you can redistribute it and/or modify
7" it under the terms of the GNU General Public License as published by
8" the Free Software Foundation; either version 2 of the License, or
9" (at your option) any later version.
10"
11" This program is distributed in the hope that it will be useful,
12" but WITHOUT ANY WARRANTY; without even the implied warranty of
13" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14" GNU General Public License for more details.
15"
16" You should have received a copy of the GNU General Public License
17" along with this program; if not, write to the Free Software
18" Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
19
20syn match svxPErrSmall  /Error\s\+\d\.\d\{2\}%/
21syn match svxPErrBig    /Error\s\+\d\{2,\}\.\d\{2\}%/
22syn match svxErrSmall   /^\d\.\d*$/
23syn match svxErrBig     /^\d\{2,\}\.\d*$/
24syn match svxHVErrSmall /\<[HV]: \d\.\d*\>/
25syn match svxHVErrBig   /\<[HV]: \d\{2,\}\.\d*\>/
26syn match svxPolygon    /^[-_.a-zA-Z0-9]\+\( [-=] [-_.a-zA-Z0-9]\+\)\+$/
27
28hi link svxPErrSmall    Statement
29hi link svxErrSmall     Statement
30hi link svxHVErrSmall   Statement
31hi link svxPErrBig      Error
32hi link svxErrBig       Error
33hi link svxHVErrBig     Error
34hi link svxPolygon      Identifier
35
36map <buffer> <F9> :quit<CR>
Note: See TracBrowser for help on using the repository browser.