Mercurial > vim
view runtime/syntax/testdir/dumps/vim_new_00.dump @ 34444:e7749c0c978a
runtime(syntax-tests): simplify code and allow filetype options
Commit: https://github.com/vim/vim/commit/56824430c02bd557cc41737eacd3edb2453ed4f9
Author: Christian Brabandt <cb@256bit.org>
Date: Wed Feb 28 21:24:25 2024 +0100
runtime(syntax-tests): simplify code and allow filetype options
The whole testdir/runtest.vim is a bit of a mess. So this is an attempt
to improving the current state. First of all, let's move most of the
code into a single RunTest() function so that it's easier to run this
manually.
Then, let's add the possibility to customize filetype specific tests by
applying filetype specific options. We will make use of it in the next
commit, where the provided java file uses tabs, which cause line
wrapping which will then cause the scrolling to miss some lines when
redrawing (see #14105)
related: #14105
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 28 Feb 2024 21:45:08 +0100 |
parents | ff92d46151ab |
children | 4e190eb5f0ad |
line wrap: on
line source
>v+0#af5f00255#ffffff0|i|m|9|s|c|r|i|p|t| +0#0000000&@64 @75 |#+0#0000e05&| |V|i|m| |:|n|e|w| |c|o|m@1|a|n|d| |a|n|d| |c|l|a|s@1| |c|o|n|s|t|r|u|c|t|o|r|s|.| +0#0000000&@32 |c+0#af5f00255&|l|a|s@1| +0#0000000&|T|e|s|t| @64 @8|d+0#af5f00255&|e|f| +0#0000000&|n|e|w|(+0#e000e06&|)| +0#0000000&@57 @8|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@60 @8|d+0#af5f00255&|e|f| +0#0000000&|n|e|w|O|t|h|e|r|(+0#e000e06&|)| +0#0000000&@52 @8|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@60 @8|d+0#af5f00255&|e|f| +0#0000000&|n|e|w|y|e|t|a|n|o|t|h|e|r|(+0#e000e06&|)| +0#0000000&@47 @8|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@60 |e+0#af5f00255&|n|d|c|l|a|s@1| +0#0000000&@66 @75 |T|e|s|t|.+0#af5f00255&|n+0#0000000&|e|w|(+0#e000e06&|)| +0#0000000&@64 |T|e|s|t|.+0#af5f00255&|n+0#0000000&|e|w|O|t|h|e|r|(+0#e000e06&|)| +0#0000000&@59 |T|e|s|t|.+0#af5f00255&|n+0#0000000&|e|w|y|e|t|a|n|o|t|h|e|r|(+0#e000e06&|)| +0#0000000&@54 |n+0#af5f00255&|e|w| +0#0000000&@71 |q+0#af5f00255&|u|i|t| +0#0000000&@70 |~+0#4040ff13&| @73 |~| @73 | +0#0000000&@56|1|,|1| @10|A|l@1|