diff options
author | Lewis Russell <lewis6991@gmail.com> | 2023-08-01 09:57:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-01 09:57:52 +0100 |
commit | 9b5f58185e1ff0597c7e95b7205d9ec11be1848c (patch) | |
tree | 10c93b683b66a0c809f47c891c194c4ca6932f87 /scripts/gen_eval_files.lua | |
parent | 12ccea59674602ddf44d6e2394bf9da87b6feeb9 (diff) | |
download | rneovim-9b5f58185e1ff0597c7e95b7205d9ec11be1848c.tar.gz rneovim-9b5f58185e1ff0597c7e95b7205d9ec11be1848c.tar.bz2 rneovim-9b5f58185e1ff0597c7e95b7205d9ec11be1848c.zip |
docs(builtin): fix and annotate language blocks (#24506)
Diffstat (limited to 'scripts/gen_eval_files.lua')
-rwxr-xr-x | scripts/gen_eval_files.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/gen_eval_files.lua b/scripts/gen_eval_files.lua index 7193346758..ee8bbe48a3 100755 --- a/scripts/gen_eval_files.lua +++ b/scripts/gen_eval_files.lua @@ -217,14 +217,14 @@ local CONFIG = { 'same way. The difference is that a String is handled like it is one line.', 'When it contains a "\\n" character, this is not seen as a line break for the', 'pattern. It can be matched with a "\\n" in the pattern, or with ".". Example:', - '>', - '\t:let a = "aaaa\\nxxxx"', - '\t:echo matchstr(a, "..\\n..")', - '\taa', - '\txx', - '\t:echo matchstr(a, "a.x")', - '\ta', - '\tx', + '>vim', + '\tlet a = "aaaa\\nxxxx"', + '\techo matchstr(a, "..\\n..")', + '\t" aa', + '\t" xx', + '\techo matchstr(a, "a.x")', + '\t" a', + '\t" x', '', 'Don\'t forget that "^" will only match at the first character of the String and', '"$" at the last character of the string. They don\'t match after or before a', |