annotate runtime/syntax/netrw.vim @ 14620:24ab1eb625e1

Added tag v8.1.0323 for changeset 5e85d326d616c363bc5b6b9e5f74c1600f906963
author Christian Brabandt <cb@256bit.org>
date Thu, 23 Aug 2018 22:45:06 +0200
parents 65d7fd8381a3
children e9a47bcf7b94
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12785
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
1 " Language : Netrw Listing Syntax
6476
11d78e58a487 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5734
diff changeset
2 " Maintainer : Charles E. Campbell
12785
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
3 " Last change: Oct 31, 2016
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
4 " Version : 20 NOT RELEASED
829
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
5 " ---------------------------------------------------------------------
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7183
diff changeset
6 if exists("b:current_syntax")
829
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
7 finish
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
8 endif
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
9
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
10 " ---------------------------------------------------------------------
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
11 " Directory List Syntax Highlighting: {{{1
1619
b9740fb41986 updated for version 7.2a
vimboss
parents: 1121
diff changeset
12 syn cluster NetrwGroup contains=netrwHide,netrwSortBy,netrwSortSeq,netrwQuickHelp,netrwVersion,netrwCopyTgt
b9740fb41986 updated for version 7.2a
vimboss
parents: 1121
diff changeset
13 syn cluster NetrwTreeGroup contains=netrwDir,netrwSymLink,netrwExe
829
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
14
6476
11d78e58a487 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5734
diff changeset
15 syn match netrwPlain "\(\S\+ \)*\S\+" contains=netrwLink,@NoSpell
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
16 syn match netrwSpecial "\%(\S\+ \)*\S\+[*|=]\ze\%(\s\{2,}\|$\)" contains=netrwClassify,@NoSpell
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
17 syn match netrwDir "\.\{1,2}/" contains=netrwClassify,@NoSpell
5618
350272cbf1fd Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4339
diff changeset
18 syn match netrwDir "\%(\S\+ \)*\S\+/\ze\%(\s\{2,}\|$\)" contains=netrwClassify,@NoSpell
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
19 syn match netrwSizeDate "\<\d\+\s\d\{1,2}/\d\{1,2}/\d\{4}\s" skipwhite contains=netrwDateSep,@NoSpell nextgroup=netrwTime
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
20 syn match netrwSymLink "\%(\S\+ \)*\S\+@\ze\%(\s\{2,}\|$\)" contains=netrwClassify,@NoSpell
3153
37ecb8ff4560 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2908
diff changeset
21 syn match netrwExe "\%(\S\+ \)*\S*[^~]\*\ze\%(\s\{2,}\|$\)" contains=netrwClassify,@NoSpell
6476
11d78e58a487 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5734
diff changeset
22 if has("gui_running") && (&enc == 'utf-8' || &enc == 'utf-16' || &enc == 'ucs-4')
5618
350272cbf1fd Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4339
diff changeset
23 syn match netrwTreeBar "^\%([-+|│] \)\+" contains=netrwTreeBarSpace nextgroup=@netrwTreeGroup
6476
11d78e58a487 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5734
diff changeset
24 else
11d78e58a487 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5734
diff changeset
25 syn match netrwTreeBar "^\%([-+|] \)\+" contains=netrwTreeBarSpace nextgroup=@netrwTreeGroup
11d78e58a487 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5734
diff changeset
26 endif
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
27 syn match netrwTreeBarSpace " " contained
829
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
28
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
29 syn match netrwClassify "[*=|@/]\ze\%(\s\{2,}\|$\)" contained
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
30 syn match netrwDateSep "/" contained
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
31 syn match netrwTime "\d\{1,2}:\d\{2}:\d\{2}" contained contains=netrwTimeSep
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 829
diff changeset
32 syn match netrwTimeSep ":"
829
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
33
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
34 syn match netrwComment '".*\%(\t\|$\)' contains=@NetrwGroup,@NoSpell
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
35 syn match netrwHide '^"\s*\(Hid\|Show\)ing:' skipwhite contains=@NoSpell nextgroup=netrwHidePat
829
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
36 syn match netrwSlash "/" contained
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
37 syn match netrwHidePat "[^,]\+" contained skipwhite contains=@NoSpell nextgroup=netrwHideSep
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
38 syn match netrwHideSep "," contained skipwhite nextgroup=netrwHidePat
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
39 syn match netrwSortBy "Sorted by" contained transparent skipwhite nextgroup=netrwList
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
40 syn match netrwSortSeq "Sort sequence:" contained transparent skipwhite nextgroup=netrwList
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
41 syn match netrwCopyTgt "Copy/Move Tgt:" contained transparent skipwhite nextgroup=netrwList
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
42 syn match netrwList ".*$" contained contains=netrwComma,@NoSpell
829
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
43 syn match netrwComma "," contained
5734
657ade71d395 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5618
diff changeset
44 syn region netrwQuickHelp matchgroup=Comment start="Quick Help:\s\+" end="$" contains=netrwHelpCmd,netrwQHTopic,@NoSpell keepend contained
657ade71d395 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5618
diff changeset
45 syn match netrwHelpCmd "\S\+\ze:" contained skipwhite contains=@NoSpell nextgroup=netrwCmdSep
6476
11d78e58a487 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5734
diff changeset
46 syn match netrwQHTopic "([a-zA-Z &]\+)" contained skipwhite
829
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
47 syn match netrwCmdSep ":" contained nextgroup=netrwCmdNote
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
48 syn match netrwCmdNote ".\{-}\ze " contained contains=@NoSpell
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
49 syn match netrwVersion "(netrw.*)" contained contains=@NoSpell
6476
11d78e58a487 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5734
diff changeset
50 syn match netrwLink "-->" contained skipwhite
829
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
51
1619
b9740fb41986 updated for version 7.2a
vimboss
parents: 1121
diff changeset
52 " -----------------------------
b9740fb41986 updated for version 7.2a
vimboss
parents: 1121
diff changeset
53 " Special filetype highlighting {{{1
b9740fb41986 updated for version 7.2a
vimboss
parents: 1121
diff changeset
54 " -----------------------------
12785
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
55 if exists("g:netrw_special_syntax") && g:netrw_special_syntax
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
56 if exists("+suffixes") && &suffixes != ""
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
57 let suflist= join(split(&suffixes,','))
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
58 let suflist= escape(substitute(suflist," ",'\\|','g'),'.~')
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
59 exe "syn match netrwSpecFile '\\(\\S\\+ \\)*\\S*\\(".suflist."\\)\\>' contains=netrwTreeBar,@NoSpell"
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
60 endif
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
61 syn match netrwBak "\(\S\+ \)*\S\+\.bak\>" contains=netrwTreeBar,@NoSpell
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
62 syn match netrwCompress "\(\S\+ \)*\S\+\.\%(gz\|bz2\|Z\|zip\)\>" contains=netrwTreeBar,@NoSpell
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
63 if has("unix")
12785
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
64 syn match netrwCoreDump "\<core\%(\.\d\+\)\=\>" contains=netrwTreeBar,@NoSpell
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
65 endif
12785
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
66 syn match netrwLex "\(\S\+ \)*\S\+\.\%(l\|lex\)\>" contains=netrwTreeBar,@NoSpell
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
67 syn match netrwYacc "\(\S\+ \)*\S\+\.y\>" contains=netrwTreeBar,@NoSpell
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
68 syn match netrwData "\(\S\+ \)*\S\+\.dat\>" contains=netrwTreeBar,@NoSpell
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
69 syn match netrwDoc "\(\S\+ \)*\S\+\.\%(doc\|txt\|pdf\|ps\|docx\)\>" contains=netrwTreeBar,@NoSpell
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
70 syn match netrwHdr "\(\S\+ \)*\S\+\.\%(h\|hpp\)\>" contains=netrwTreeBar,@NoSpell
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
71 syn match netrwLib "\(\S\+ \)*\S*\.\%(a\|so\|lib\|dll\)\>" contains=netrwTreeBar,@NoSpell
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
72 syn match netrwMakeFile "\<[mM]akefile\>\|\(\S\+ \)*\S\+\.mak\>" contains=netrwTreeBar,@NoSpell
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
73 syn match netrwObj "\(\S\+ \)*\S*\.\%(o\|obj\)\>" contains=netrwTreeBar,@NoSpell
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
74 syn match netrwPix "\c\(\S\+ \)*\S*\.\%(bmp\|fits\=\|gif\|je\=pg\|pcx\|ppc\|pgm\|png\|ppm\|psd\|rgb\|tif\|xbm\|xcf\)\>" contains=netrwTreeBar,@NoSpell
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
75 syn match netrwTags "\<\(ANmenu\|ANtags\)\>" contains=netrwTreeBar,@NoSpell
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
76 syn match netrwTags "\<tags\>" contains=netrwTreeBar,@NoSpell
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
77 syn match netrwTilde "\(\S\+ \)*\S\+\~\*\=\>" contains=netrwTreeBar,@NoSpell
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
78 syn match netrwTmp "\<tmp\(\S\+ \)*\S\+\>\|\(\S\+ \)*\S*tmp\>" contains=netrwTreeBar,@NoSpell
1619
b9740fb41986 updated for version 7.2a
vimboss
parents: 1121
diff changeset
79 endif
b9740fb41986 updated for version 7.2a
vimboss
parents: 1121
diff changeset
80
829
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
81 " ---------------------------------------------------------------------
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
82 " Highlighting Links: {{{1
1619
b9740fb41986 updated for version 7.2a
vimboss
parents: 1121
diff changeset
83 if !exists("did_drchip_netrwlist_syntax")
829
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
84 let did_drchip_netrwlist_syntax= 1
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
85 hi default link netrwClassify Function
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
86 hi default link netrwCmdSep Delimiter
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
87 hi default link netrwComment Comment
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
88 hi default link netrwDir Directory
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
89 hi default link netrwHelpCmd Function
5734
657ade71d395 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5618
diff changeset
90 hi default link netrwQHTopic Number
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
91 hi default link netrwHidePat Statement
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
92 hi default link netrwHideSep netrwComment
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
93 hi default link netrwList Statement
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
94 hi default link netrwVersion Identifier
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
95 hi default link netrwSymLink Question
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
96 hi default link netrwExe PreProc
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
97 hi default link netrwDateSep Delimiter
829
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
98
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
99 hi default link netrwTreeBar Special
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
100 hi default link netrwTimeSep netrwDateSep
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
101 hi default link netrwComma netrwComment
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
102 hi default link netrwHide netrwComment
2908
fd09a9c8468e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2751
diff changeset
103 hi default link netrwMarkFile TabLineSel
6476
11d78e58a487 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5734
diff changeset
104 hi default link netrwLink Special
1619
b9740fb41986 updated for version 7.2a
vimboss
parents: 1121
diff changeset
105
b9740fb41986 updated for version 7.2a
vimboss
parents: 1121
diff changeset
106 " special syntax highlighting (see :he g:netrw_special_syntax)
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
107 hi default link netrwCoreDump WarningMsg
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
108 hi default link netrwData DiffChange
4339
22fa3049e934 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3153
diff changeset
109 hi default link netrwHdr netrwPlain
22fa3049e934 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3153
diff changeset
110 hi default link netrwLex netrwPlain
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
111 hi default link netrwLib DiffChange
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1619
diff changeset
112 hi default link netrwMakefile DiffChange
4339
22fa3049e934 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3153
diff changeset
113 hi default link netrwYacc netrwPlain
12785
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
114 hi default link netrwPix Special
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
115
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
116 hi default link netrwBak netrwGray
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
117 hi default link netrwCompress netrwGray
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
118 hi default link netrwSpecFile netrwGray
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
119 hi default link netrwObj netrwGray
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
120 hi default link netrwTags netrwGray
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
121 hi default link netrwTilde netrwGray
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
122 hi default link netrwTmp netrwGray
829
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
123 endif
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
124
12785
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
125 " set up netrwGray to be understated (but not Ignore'd or Conceal'd, as those
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
126 " can be hard/impossible to read). Users may override this in a colorscheme by
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
127 " specifying netrwGray highlighting.
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
128 redir => s:netrwgray
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
129 sil hi netrwGray
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
130 redir END
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
131 if s:netrwgray !~ 'guifg'
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
132 if has("gui") && has("gui_running")
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
133 if &bg == "dark"
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
134 exe "hi netrwGray gui=NONE guifg=gray30"
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
135 else
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
136 exe "hi netrwGray gui=NONE guifg=gray70"
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
137 endif
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
138 else
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
139 hi link netrwGray Folded
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
140 endif
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
141 endif
65d7fd8381a3 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
142
829
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
143 " Current Syntax: {{{1
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
144 let b:current_syntax = "netrwlist"
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
145 " ---------------------------------------------------------------------
dc8197342755 updated for version 7.0d04
vimboss
parents:
diff changeset
146 " vim: ts=8 fdm=marker