aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mbyte.c
diff options
context:
space:
mode:
authorDaniel Kosinski <de.kosinski@gmail.com>2014-10-03 22:09:29 +0200
committerDaniel Kosinski <de.kosinski@gmail.com>2014-10-04 00:54:59 +0200
commitc5f9540ccbb89ef46f733d8fbe63824cb6d364a6 (patch)
tree0c22ff4a85d939794fba640b5f44f15241ea2829 /src/nvim/mbyte.c
parent5e65e3eae079d4765124ce791ce79649444ca403 (diff)
downloadrneovim-c5f9540ccbb89ef46f733d8fbe63824cb6d364a6.tar.gz
rneovim-c5f9540ccbb89ef46f733d8fbe63824cb6d364a6.tar.bz2
rneovim-c5f9540ccbb89ef46f733d8fbe63824cb6d364a6.zip
vim-patch:7.4.444
Problem: Reversed question mark not recognized as punctuation. ( Issue 258 ) Solution: Add the Supplemental Punctuation range. https://code.google.com/p/vim/source/detail?r=v7-4-444
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r--src/nvim/mbyte.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c
index 10e2ad5aaa..7ba4409180 100644
--- a/src/nvim/mbyte.c
+++ b/src/nvim/mbyte.c
@@ -2116,6 +2116,7 @@ int utf_class(int c)
{0x2900, 0x2998, 1}, /* arrows, brackets, etc. */
{0x29d8, 0x29db, 1},
{0x29fc, 0x29fd, 1},
+ {0x2e00, 0x2e7f, 1}, /* supplemental punctuation */
{0x3000, 0x3000, 0}, /* ideographic space */
{0x3001, 0x3020, 1}, /* ideographic punctuation */
{0x3030, 0x3030, 1},