summaryrefslogtreecommitdiff
path: root/test/normal
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-11-27 18:13:29 +1100
committerMaxime Coste <mawww@kakoune.org>2018-11-27 18:16:21 +1100
commit1553d91d278ff943c3545e3cb0728acbf4cf433d (patch)
tree9d795b13e34e98199c005ba06bf6ffba8fec386a /test/normal
parent6c54c4740d2144e897cad5b033ab160b3ab2ddff (diff)
Make '_' the default extra_word_chars, and remove built-in support
Fixes #2599
Diffstat (limited to 'test/normal')
-rw-r--r--test/normal/previous-word-no-underscore/cmd1
-rw-r--r--test/normal/previous-word-no-underscore/in1
-rw-r--r--test/normal/previous-word-no-underscore/rc1
-rw-r--r--test/normal/previous-word-no-underscore/selections1
4 files changed, 4 insertions, 0 deletions
diff --git a/test/normal/previous-word-no-underscore/cmd b/test/normal/previous-word-no-underscore/cmd
new file mode 100644
index 00000000..61780798
--- /dev/null
+++ b/test/normal/previous-word-no-underscore/cmd
@@ -0,0 +1 @@
+b
diff --git a/test/normal/previous-word-no-underscore/in b/test/normal/previous-word-no-underscore/in
new file mode 100644
index 00000000..017e5893
--- /dev/null
+++ b/test/normal/previous-word-no-underscore/in
@@ -0,0 +1 @@
+foo_%(b)ar
diff --git a/test/normal/previous-word-no-underscore/rc b/test/normal/previous-word-no-underscore/rc
new file mode 100644
index 00000000..9aaca091
--- /dev/null
+++ b/test/normal/previous-word-no-underscore/rc
@@ -0,0 +1 @@
+set-option global extra_word_chars
diff --git a/test/normal/previous-word-no-underscore/selections b/test/normal/previous-word-no-underscore/selections
new file mode 100644
index 00000000..69ad7b36
--- /dev/null
+++ b/test/normal/previous-word-no-underscore/selections
@@ -0,0 +1 @@
+'_'