aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload/html/timestamp.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/autoload/html/timestamp.vim')
-rw-r--r--vim/autoload/html/timestamp.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/vim/autoload/html/timestamp.vim b/vim/autoload/html/timestamp.vim
index af74d815..ad79ad23 100644
--- a/vim/autoload/html/timestamp.vim
+++ b/vim/autoload/html/timestamp.vim
@@ -1,5 +1,3 @@
-scriptencoding utf-8
-
" Keys and date formats for return value of s:Timestamp()
let s:formats = {
\ 'human': '%a, %d %b %Y %T %Z',
@@ -38,7 +36,7 @@ endfunction
" Define timestamp prefix string
let s:prefix = 'Last updated: '
-" Define pattern to match date timestamps; no Z̷͖̟̩͕̊̇̈ͬ̆̄Á̩̺͙̫͇͔̓͛ͭ̓̈́L̟͘G̤̣̳̊̌O̻̝̣̠͇̥̠͗ͤ͐͘ please
+" Define pattern to match date timestamps; no ZALGO, please
let s:pattern = '\m\C'
\.s:prefix
\.'<time datetime="[^"]\+">'