diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-06-20 12:51:53 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-06-20 12:51:53 +0000 |
commit | 69a7cb473ceae109b61fae9aa04ee0c29afba5d9 (patch) | |
tree | 04bd3292cc6c2317842d7a46ae3ab11e9956ed99 /runtime/syntax/netrwlist.vim | |
parent | ed20346f0b81d1d89c22c9616abe8e47b4c17f08 (diff) | |
download | vim-69a7cb473ceae109b61fae9aa04ee0c29afba5d9.zip |
updated for version 7.0002
Diffstat (limited to 'runtime/syntax/netrwlist.vim')
-rw-r--r-- | runtime/syntax/netrwlist.vim | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/runtime/syntax/netrwlist.vim b/runtime/syntax/netrwlist.vim new file mode 100644 index 000000000..09967f514 --- /dev/null +++ b/runtime/syntax/netrwlist.vim @@ -0,0 +1,29 @@ +" Language : Netrw Remote-Directory Listing Syntax +" Maintainer : Charles E. Campbell, Jr. +" Last change: Jun 10, 2004 +" Version : 1 + +" Syntax Clearing: {{{1 +if version < 600 + syntax clear +elseif exists("b:current_syntax") + finish +endif + +" Directory List Syntax Highlighting: {{{1 +syn match netrwDir "^.*/$" contains=netrwSpecial +syn match netrwSpecial "[*=@|/]$" +syn match netrwSlash contained "/" +syn match netrwComment '".*$' + +" Highlighting Links: {{{1 +if !exists("did_drchip_dbg_syntax") + let did_drchip_netrwlist_syntax= 1 + hi link netrwComment Comment + hi link netrwDir Directory + hi link netrwSpecial Function +endif + +" Current Syntax: {{{1 +let b:current_syntax = "netrwlist" +" vim: ts=8 fdm=marker |