summaryrefslogtreecommitdiff
path: root/test/highlight/wrap/basic
diff options
context:
space:
mode:
Diffstat (limited to 'test/highlight/wrap/basic')
-rw-r--r--test/highlight/wrap/basic/cmd1
-rw-r--r--test/highlight/wrap/basic/in2
-rw-r--r--test/highlight/wrap/basic/rc1
-rw-r--r--test/highlight/wrap/basic/script4
4 files changed, 8 insertions, 0 deletions
diff --git a/test/highlight/wrap/basic/cmd b/test/highlight/wrap/basic/cmd
new file mode 100644
index 00000000..8b137891
--- /dev/null
+++ b/test/highlight/wrap/basic/cmd
@@ -0,0 +1 @@
+
diff --git a/test/highlight/wrap/basic/in b/test/highlight/wrap/basic/in
new file mode 100644
index 00000000..fb85aeed
--- /dev/null
+++ b/test/highlight/wrap/basic/in
@@ -0,0 +1,2 @@
+--------------------------------------------------------------------------------wrap
+--------------------------------------------------------------------------------wrap----------------------------------------------------------------------------wrap
diff --git a/test/highlight/wrap/basic/rc b/test/highlight/wrap/basic/rc
new file mode 100644
index 00000000..2cd258c4
--- /dev/null
+++ b/test/highlight/wrap/basic/rc
@@ -0,0 +1 @@
+add-highlighter window/ wrap
diff --git a/test/highlight/wrap/basic/script b/test/highlight/wrap/basic/script
new file mode 100644
index 00000000..7151f6a6
--- /dev/null
+++ b/test/highlight/wrap/basic/script
@@ -0,0 +1,4 @@
+ui_out '{ "jsonrpc": "2.0", "method": "set_ui_options", "params": [{}] }'
+ui_out '{ "jsonrpc": "2.0", "method": "draw", "params": [[[{ "face": { "fg": "black", "bg": "white", "underline": "default", "attributes": [] }, "contents": "-" }, { "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": "-------------------------------------------------------------------------------" }], [{ "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": "wrap\u000a" }], [{ "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": "--------------------------------------------------------------------------------" }], [{ "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": "wrap----------------------------------------------------------------------------" }], [{ "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": "wrap\u000a" }]], { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, { "fg": "blue", "bg": "default", "underline": "default", "attributes": [] }] }'
+ui_out -until '{ "jsonrpc": "2.0", "method": "refresh", "params": [true] }'
+