runtime(syntax-tests): Add non-Latin-1 character filters for C syntax tests
Commit: https://github.com/vim/vim/commit/19d4f99a34bfcf6ca78c19b501328c481afa6067 Author: Doug Kearns <dougkea...@gmail.com> Date: Fri Mar 21 18:16:12 2025 +0100 runtime(syntax-tests): Add non-Latin-1 character filters for C syntax tests See pull request https://github.com/vim/vim/issues/14767. Rename the Vim :keymap filter files so they're, again, associated with the correct dump files. closes: #16560 Signed-off-by: Doug Kearns <dougkea...@gmail.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/syntax/testdir/dumps/c_character_constant_00.vim b/runtime/syntax/testdir/dumps/c_character_constant_00.vim new file mode 100644 index 000000000..44191f881 --- /dev/null +++ b/runtime/syntax/testdir/dumps/c_character_constant_00.vim @@ -0,0 +1,2 @@ +" Replace known non-Latin-1 characters. +%s+[🍌猫�]+?+ge diff --git a/runtime/syntax/testdir/dumps/c_character_constant_01.vim b/runtime/syntax/testdir/dumps/c_character_constant_01.vim new file mode 100644 index 000000000..44191f881 --- /dev/null +++ b/runtime/syntax/testdir/dumps/c_character_constant_01.vim @@ -0,0 +1,2 @@ +" Replace known non-Latin-1 characters. +%s+[🍌猫�]+?+ge diff --git a/runtime/syntax/testdir/dumps/c_character_constant_02.vim b/runtime/syntax/testdir/dumps/c_character_constant_02.vim new file mode 100644 index 000000000..44191f881 --- /dev/null +++ b/runtime/syntax/testdir/dumps/c_character_constant_02.vim @@ -0,0 +1,2 @@ +" Replace known non-Latin-1 characters. +%s+[🍌猫�]+?+ge diff --git a/runtime/syntax/testdir/dumps/c_string_literal_00.vim b/runtime/syntax/testdir/dumps/c_string_literal_00.vim new file mode 100644 index 000000000..44191f881 --- /dev/null +++ b/runtime/syntax/testdir/dumps/c_string_literal_00.vim @@ -0,0 +1,2 @@ +" Replace known non-Latin-1 characters. +%s+[🍌猫�]+?+ge diff --git a/runtime/syntax/testdir/dumps/c_string_literal_01.vim b/runtime/syntax/testdir/dumps/c_string_literal_01.vim new file mode 100644 index 000000000..44191f881 --- /dev/null +++ b/runtime/syntax/testdir/dumps/c_string_literal_01.vim @@ -0,0 +1,2 @@ +" Replace known non-Latin-1 characters. +%s+[🍌猫�]+?+ge diff --git a/runtime/syntax/testdir/dumps/c_string_literal_02.vim b/runtime/syntax/testdir/dumps/c_string_literal_02.vim new file mode 100644 index 000000000..44191f881 --- /dev/null +++ b/runtime/syntax/testdir/dumps/c_string_literal_02.vim @@ -0,0 +1,2 @@ +" Replace known non-Latin-1 characters. +%s+[🍌猫�]+?+ge diff --git a/runtime/syntax/testdir/dumps/c_string_literal_03.vim b/runtime/syntax/testdir/dumps/c_string_literal_03.vim new file mode 100644 index 000000000..44191f881 --- /dev/null +++ b/runtime/syntax/testdir/dumps/c_string_literal_03.vim @@ -0,0 +1,2 @@ +" Replace known non-Latin-1 characters. +%s+[🍌猫�]+?+ge diff --git a/runtime/syntax/testdir/dumps/vim9_keymap_01.vim b/runtime/syntax/testdir/dumps/vim9_ex_loadkeymap_01.vim similarity index 100% rename from runtime/syntax/testdir/dumps/vim9_keymap_01.vim rename to runtime/syntax/testdir/dumps/vim9_ex_loadkeymap_01.vim diff --git a/runtime/syntax/testdir/dumps/vim_keymap_04.vim b/runtime/syntax/testdir/dumps/vim_ex_loadkeymap_01.vim similarity index 100% rename from runtime/syntax/testdir/dumps/vim_keymap_04.vim rename to runtime/syntax/testdir/dumps/vim_ex_loadkeymap_01.vim -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1tvgC3-0073qh-3b%40256bit.org.