summaryrefslogtreecommitdiff
path: root/runtime/syntax
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2004-06-20 12:51:53 +0000
committerBram Moolenaar <Bram@vim.org>2004-06-20 12:51:53 +0000
commit69a7cb473ceae109b61fae9aa04ee0c29afba5d9 (patch)
tree04bd3292cc6c2317842d7a46ae3ab11e9956ed99 /runtime/syntax
parented20346f0b81d1d89c22c9616abe8e47b4c17f08 (diff)
downloadvim-69a7cb473ceae109b61fae9aa04ee0c29afba5d9.zip
updated for version 7.0002
Diffstat (limited to 'runtime/syntax')
-rw-r--r--runtime/syntax/netrwlist.vim29
-rw-r--r--runtime/syntax/po.vim4
2 files changed, 33 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
diff --git a/runtime/syntax/po.vim b/runtime/syntax/po.vim
index 6da75d630..4c1aac12e 100644
--- a/runtime/syntax/po.vim
+++ b/runtime/syntax/po.vim
@@ -19,6 +19,8 @@ syn match poFormat "%\(\d\+\$\)\=[-+' #0*]*\(\d*\|\*\|\*\d\+\$\)\(\.\(\d*\|\*\|
syn match poFormat "%%" contained
syn region poString start=+"+ skip=+\\\\\|\\"+ end=+"+
\ contains=poSpecial,poFormat
+syn region poFuzzy start=+^#,\sfuzzy+ end=+^$+
+syn match poUntranslated +^msgstr\s""\n\n+
" Define the default highlighting.
" For version 5.7 and earlier: only when not done already
@@ -37,6 +39,8 @@ if version >= 508 || !exists("did_po_syn_inits")
HiLink poSpecial Special
HiLink poFormat poSpecial
HiLink poString String
+ HiLink poFuzzy Todo
+ HiLink poUntranslated Todo
delcommand HiLink
endif