diff options
| author | Randy Palamar <randy@rnpnr.xyz> | 2025-12-05 22:36:10 -0700 |
|---|---|---|
| committer | Randy Palamar <randy@rnpnr.xyz> | 2026-01-06 16:52:56 -0700 |
| commit | 0d9bbb74c6de959ab7c6b93b7a97f9f2e643e8e8 (patch) | |
| tree | 25596fd04e3623571a155e9c2b1e2503aa9dd4f6 /test | |
| parent | 6ced61ef5f366001877823ed8aff978035fa53c8 (diff) | |
| download | vis-0d9bbb74c6de959ab7c6b93b7a97f9f2e643e8e8.tar.gz vis-0d9bbb74c6de959ab7c6b93b7a97f9f2e643e8e8.tar.xz | |
replace oversized libutf with smaller version
this is taken from one of my other projects. there was no reason
for there to be 2x the code
tests checking for surrogate characters and non characters were
removed. I see no reason why the user shouldn't be allowed to
insert those characters in text (they exist in the standard).
Also, in the case of non-characters only the first two were being
checked and not the other 64.
Diffstat (limited to 'test')
| -rw-r--r-- | test/vis/insert-mode/verbatim.in | 2 | ||||
| -rw-r--r-- | test/vis/insert-mode/verbatim.keys | 4 | ||||
| -rw-r--r-- | test/vis/insert-mode/verbatim.ref | 2 |
3 files changed, 0 insertions, 8 deletions
diff --git a/test/vis/insert-mode/verbatim.in b/test/vis/insert-mode/verbatim.in index 6fcb11a..da2d1b4 100644 --- a/test/vis/insert-mode/verbatim.in +++ b/test/vis/insert-mode/verbatim.in @@ -13,9 +13,7 @@ O100 = 64 = U+07FF = U+D7FF = -U+DFFF = /* not really correct */ U+FFFD = -U+FFFF = /* not really correct */ U+10FFFF = U+11000 = /* invalid */ <Escape> = diff --git a/test/vis/insert-mode/verbatim.keys b/test/vis/insert-mode/verbatim.keys index ba71c21..0441e3b 100644 --- a/test/vis/insert-mode/verbatim.keys +++ b/test/vis/insert-mode/verbatim.keys @@ -21,12 +21,8 @@ a<Space><C-v>u07FF<Escape> n a<Space><C-v>uD7FF<Escape> n -a<Space><C-v>uDFFF<Escape> -n a<Space><C-v>uFFFD<Escape> n -a<Space><C-v>uFFFF<Escape> -n a<Space><C-v>U0010FFFF<Escape> n a<Space><C-v>U00110000<Escape> diff --git a/test/vis/insert-mode/verbatim.ref b/test/vis/insert-mode/verbatim.ref index 28a5c8c..98494b0 100644 --- a/test/vis/insert-mode/verbatim.ref +++ b/test/vis/insert-mode/verbatim.ref @@ -13,9 +13,7 @@ O100 = @ 64 = @ U+07FF = ߿ U+D7FF = -U+DFFF = /* not really correct */ U+FFFD = � -U+FFFF = /* not really correct */ U+10FFFF = U+11000 = /* invalid */ <Escape> = |
