summaryrefslogtreecommitdiff
path: root/runtime/syntax/po.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/po.vim')
-rw-r--r--runtime/syntax/po.vim4
1 files changed, 4 insertions, 0 deletions
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