summaryrefslogtreecommitdiff
path: root/test/normal/codepoint-width
diff options
context:
space:
mode:
Diffstat (limited to 'test/normal/codepoint-width')
-rw-r--r--test/normal/codepoint-width/tab-width/cmd1
-rwxr-xr-xtest/normal/codepoint-width/tab-width/enabled2
-rw-r--r--test/normal/codepoint-width/tab-width/in2
-rw-r--r--test/normal/codepoint-width/tab-width/selections1
-rw-r--r--test/normal/codepoint-width/vertical-movement/cmd1
-rwxr-xr-xtest/normal/codepoint-width/vertical-movement/enabled2
-rw-r--r--test/normal/codepoint-width/vertical-movement/in2
-rw-r--r--test/normal/codepoint-width/vertical-movement/selections1
8 files changed, 12 insertions, 0 deletions
diff --git a/test/normal/codepoint-width/tab-width/cmd b/test/normal/codepoint-width/tab-width/cmd
new file mode 100644
index 00000000..4c559f78
--- /dev/null
+++ b/test/normal/codepoint-width/tab-width/cmd
@@ -0,0 +1 @@
+j
diff --git a/test/normal/codepoint-width/tab-width/enabled b/test/normal/codepoint-width/tab-width/enabled
new file mode 100755
index 00000000..edc44250
--- /dev/null
+++ b/test/normal/codepoint-width/tab-width/enabled
@@ -0,0 +1,2 @@
+#!/bin/sh
+locale | grep LC_CTYPE | grep -qi 'utf-*8'
diff --git a/test/normal/codepoint-width/tab-width/in b/test/normal/codepoint-width/tab-width/in
new file mode 100644
index 00000000..9c911221
--- /dev/null
+++ b/test/normal/codepoint-width/tab-width/in
@@ -0,0 +1,2 @@
+一 %(二)
+1234567890
diff --git a/test/normal/codepoint-width/tab-width/selections b/test/normal/codepoint-width/tab-width/selections
new file mode 100644
index 00000000..ec635144
--- /dev/null
+++ b/test/normal/codepoint-width/tab-width/selections
@@ -0,0 +1 @@
+9
diff --git a/test/normal/codepoint-width/vertical-movement/cmd b/test/normal/codepoint-width/vertical-movement/cmd
new file mode 100644
index 00000000..b68fde2a
--- /dev/null
+++ b/test/normal/codepoint-width/vertical-movement/cmd
@@ -0,0 +1 @@
+k
diff --git a/test/normal/codepoint-width/vertical-movement/enabled b/test/normal/codepoint-width/vertical-movement/enabled
new file mode 100755
index 00000000..edc44250
--- /dev/null
+++ b/test/normal/codepoint-width/vertical-movement/enabled
@@ -0,0 +1,2 @@
+#!/bin/sh
+locale | grep LC_CTYPE | grep -qi 'utf-*8'
diff --git a/test/normal/codepoint-width/vertical-movement/in b/test/normal/codepoint-width/vertical-movement/in
new file mode 100644
index 00000000..9a4f1e62
--- /dev/null
+++ b/test/normal/codepoint-width/vertical-movement/in
@@ -0,0 +1,2 @@
+123456789012
+一%(二)三%(四)五六
diff --git a/test/normal/codepoint-width/vertical-movement/selections b/test/normal/codepoint-width/vertical-movement/selections
new file mode 100644
index 00000000..564e0714
--- /dev/null
+++ b/test/normal/codepoint-width/vertical-movement/selections
@@ -0,0 +1 @@
+3:7