annotate runtime/syntax/netrwlist.vim @ 15:631143ac4a01 v7.0007

updated for version 7.0007
author vimboss
date Sat, 10 Jul 2004 09:47:34 +0000
parents bdeee1504ac1
children cc049b00ee70
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
1 " Language : Netrw Remote-Directory Listing Syntax
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
2 " Maintainer : Charles E. Campbell, Jr.
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 12
diff changeset
3 " Last change: Jul 06, 2004
11
4424b47a0797 updated for version 7.0003
vimboss
parents: 9
diff changeset
4 " Version : 2
9
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
5
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
6 " Syntax Clearing: {{{1
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
7 if version < 600
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
8 syntax clear
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
9 elseif exists("b:current_syntax")
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
10 finish
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
11 endif
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
12
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
13 " Directory List Syntax Highlighting: {{{1
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 12
diff changeset
14 syn match netrwDir "^.*/\%(\t\|$\)" contains=netrwClassify
631143ac4a01 updated for version 7.0007
vimboss
parents: 12
diff changeset
15 syn match netrwClassify "[*=|@/]\%(\t\|$\)"
631143ac4a01 updated for version 7.0007
vimboss
parents: 12
diff changeset
16 syn match netrwSymLink "^.*@\%(\t\|$\)" contains=netrwClassify
631143ac4a01 updated for version 7.0007
vimboss
parents: 12
diff changeset
17 syn match netrwComment '".*\%(\t\|$\)' contains=netrwHide,netrwSortBy,netrwSortSeq
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 11
diff changeset
18 syn match netrwHide '^"\s*Hiding:' skipwhite nextgroup=netrwHidePat
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 12
diff changeset
19 syn match netrwSlash contained "/"
631143ac4a01 updated for version 7.0007
vimboss
parents: 12
diff changeset
20 syn match netrwHidePat contained "[^,]\+" skipwhite nextgroup=netrwHideSep
631143ac4a01 updated for version 7.0007
vimboss
parents: 12
diff changeset
21 syn match netrwHideSep contained transparent "," skipwhite nextgroup=netrwHidePat
631143ac4a01 updated for version 7.0007
vimboss
parents: 12
diff changeset
22 syn match netrwSortBy contained transparent "Sorted by" skipwhite nextgroup=netrwList
631143ac4a01 updated for version 7.0007
vimboss
parents: 12
diff changeset
23 syn match netrwSortSeq contained transparent "Sort sequence:" skipwhite nextgroup=netrwList
631143ac4a01 updated for version 7.0007
vimboss
parents: 12
diff changeset
24 syn match netrwList contained ".*$" contains=netrwComma
631143ac4a01 updated for version 7.0007
vimboss
parents: 12
diff changeset
25 syn match netrwComma contained ","
9
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
26
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
27 " Highlighting Links: {{{1
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
28 if !exists("did_drchip_dbg_syntax")
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
29 let did_drchip_netrwlist_syntax= 1
11
4424b47a0797 updated for version 7.0003
vimboss
parents: 9
diff changeset
30 hi link netrwClassify Function
9
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
31 hi link netrwComment Comment
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 11
diff changeset
32 hi link netrwDir Directory
11
4424b47a0797 updated for version 7.0003
vimboss
parents: 9
diff changeset
33 hi link netrwHidePat String
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 11
diff changeset
34 hi link netrwList String
11
4424b47a0797 updated for version 7.0003
vimboss
parents: 9
diff changeset
35 hi link netrwSymLink Special
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 11
diff changeset
36
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 11
diff changeset
37 hi link netrwComma netrwComment
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 11
diff changeset
38 hi link netrwHide netrwComment
9
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
39 endif
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
40
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
41 " Current Syntax: {{{1
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
42 let b:current_syntax = "netrwlist"
4102fb4ea781 updated for version 7.0002
vimboss
parents:
diff changeset
43 " vim: ts=8 fdm=marker