summaryrefslogtreecommitdiffstats
path: root/runtime/tools
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-06-22 15:27:37 +0200
committerBram Moolenaar <Bram@vim.org>2017-06-22 15:27:37 +0200
commit383aa84c0d3456c12987ba7e12042dcffba0eac6 (patch)
tree3206df6d50131c035ce99aaa8a2ec0690d5512db /runtime/tools
parent157069b04e64eff72d2b34a2f727dfb6e2190cf3 (diff)
patch 8.0.0652: unicode information is outdatedv8.0.0652
Problem: Unicode information is outdated. Solution: Update to Unicode 10. (Christian Brabandt)
Diffstat (limited to 'runtime/tools')
-rw-r--r--runtime/tools/unicode.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/tools/unicode.vim b/runtime/tools/unicode.vim
index 88c4c79609..ad664727ce 100644
--- a/runtime/tools/unicode.vim
+++ b/runtime/tools/unicode.vim
@@ -3,6 +3,7 @@
" http://www.unicode.org/Public/5.1.0/ucd/UCD.html
" For the other files see the header.
"
+" Might need to update the URL to the emoji-data.txt
" Usage: Vim -S <this-file>
"
" Author: Bram Moolenaar
@@ -382,8 +383,9 @@ let s:ambitable = []
call BuildWidthTable('A', 'ambiguous')
" Edit the emoji text file. Requires the netrw plugin.
-edit http://www.unicode.org/Public/emoji/3.0/emoji-data.txt
+edit http://unicode.org/Public/emoji/5.0/emoji-data.txt
+"edit http://www.unicode.org/Public/emoji/latest/emoji-data.txt
" Build the emoji table. Ver. 1.0 - 6.0
" Must come after the "ambiguous" table
-call BuildEmojiTable('; Emoji\s\+# [1-6]\.[0-9]', 'emoji')
+call BuildEmojiTable('; Emoji\s\+#\s\+\d\+\.\d', 'emoji')