annotate runtime/syntax/netrc.vim @ 12897:119a03a48c83 v8.0.1325

patch 8.0.1325: more tests are not run commit https://github.com/vim/vim/commit/5df95ea9ef34b5a898141ddc7134e4a7de713ba5 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 20 22:08:10 2017 +0100 patch 8.0.1325: more tests are not run Problem: More tests are not run. Solution: Add targets to the list of tests. (Yegappan Lakshmanan)
author Christian Brabandt <cb@256bit.org>
date Mon, 20 Nov 2017 22:15:05 +0100
parents 1218c5353e2b
children b2e8663e6dcc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
1 " Vim syntax file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
2 " Language: netrc(5) configuration file
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
4 " Latest Revision: 2010-01-03
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
5
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
6 if exists("b:current_syntax")
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
7 finish
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
8 endif
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
9
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
10 let s:cpo_save = &cpo
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
11 set cpo&vim
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
12
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
13 syn keyword netrcKeyword machine nextgroup=netrcMachine skipwhite skipnl
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 839
diff changeset
14 syn keyword netrcKeyword account
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 839
diff changeset
15 \ login
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 839
diff changeset
16 \ nextgroup=netrcLogin,netrcSpecial skipwhite skipnl
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
17 syn keyword netrcKeyword password nextgroup=netrcPassword skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
18 syn keyword netrcKeyword default
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 839
diff changeset
19 syn keyword netrcKeyword macdef
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 839
diff changeset
20 \ nextgroup=netrcInit,netrcMacroName skipwhite skipnl
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
21 syn region netrcMacro contained start='.' end='^$'
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
22
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
23 syn match netrcMachine contained display '\S\+'
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
24 syn match netrcMachine contained display '"[^\\"]*\(\\.[^\\"]*\)*"'
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
25 syn match netrcLogin contained display '\S\+'
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
26 syn match netrcLogin contained display '"[^\\"]*\(\\.[^\\"]*\)*"'
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
27 syn match netrcPassword contained display '\S\+'
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
28 syn match netrcPassword contained display '"[^\\"]*\(\\.[^\\"]*\)*"'
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 839
diff changeset
29 syn match netrcMacroName contained display '\S\+'
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 839
diff changeset
30 \ nextgroup=netrcMacro skipwhite skipnl
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
31 syn match netrcMacroName contained display '"[^\\"]*\(\\.[^\\"]*\)*"'
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 839
diff changeset
32 \ nextgroup=netrcMacro skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
33
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
34 syn keyword netrcSpecial contained anonymous
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 839
diff changeset
35 syn match netrcInit contained '\<init$'
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 839
diff changeset
36 \ nextgroup=netrcMacro skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
37
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
38 syn sync fromstart
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
39
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
40 hi def link netrcKeyword Keyword
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
41 hi def link netrcMacro PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
42 hi def link netrcMachine Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
43 hi def link netrcLogin String
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
44 hi def link netrcPassword String
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
45 hi def link netrcMacroName String
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
46 hi def link netrcSpecial Special
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
47 hi def link netrcInit Special
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
48
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
49 let b:current_syntax = "netrc"
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
50
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
51 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
52 unlet s:cpo_save