summaryrefslogtreecommitdiff
path: root/test/normal
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-06-26 15:28:41 +0100
committerMaxime Coste <mawww@kakoune.org>2017-06-26 15:28:41 +0100
commitf41d78083aa8d3883bcd4ed819e6784e09e69dba (patch)
treea67d2432ecf7f2ed499760eb245120dcae0221f5 /test/normal
parentdc378aed7290eb9fd90b752a2841fa2457bb91d0 (diff)
Use the extra_word_chars option in word based normal commands
the completion_extra_word_chars is now gone, superseeded by extra_word_chars that gets used both for completion and for normal mode. Fixes #1304
Diffstat (limited to 'test/normal')
-rw-r--r--test/normal/extra-word-chars/cmd1
-rw-r--r--test/normal/extra-word-chars/in1
-rw-r--r--test/normal/extra-word-chars/rc1
-rw-r--r--test/normal/extra-word-chars/selections1
4 files changed, 4 insertions, 0 deletions
diff --git a/test/normal/extra-word-chars/cmd b/test/normal/extra-word-chars/cmd
new file mode 100644
index 00000000..d81d8778
--- /dev/null
+++ b/test/normal/extra-word-chars/cmd
@@ -0,0 +1 @@
+ww
diff --git a/test/normal/extra-word-chars/in b/test/normal/extra-word-chars/in
new file mode 100644
index 00000000..ae82db18
--- /dev/null
+++ b/test/normal/extra-word-chars/in
@@ -0,0 +1 @@
+a-word another'one
diff --git a/test/normal/extra-word-chars/rc b/test/normal/extra-word-chars/rc
new file mode 100644
index 00000000..feb52869
--- /dev/null
+++ b/test/normal/extra-word-chars/rc
@@ -0,0 +1 @@
+set buffer extra_word_chars "-:'"
diff --git a/test/normal/extra-word-chars/selections b/test/normal/extra-word-chars/selections
new file mode 100644
index 00000000..05122515
--- /dev/null
+++ b/test/normal/extra-word-chars/selections
@@ -0,0 +1 @@
+another'one