mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.2190: syntax test fails on Mac
Problem: Syntax test fails on Mac. Solution: Limit the window size to 20 rows.
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
|/+0#0000e05#ffffff0|*| |c|o|m@1|e|n|t| |l|i|n|e| |a|t| |t|h|e| |t|o|p| |*|/| +0#0000000&@45
|
|/+0#0000e05#ffffff0|*| |c|o|m@1|e|n|t| |l|i|n|e| |a|t| |t|h|e| |t|o|p| |*|/| +0#0000000&@45
|
||||||
@2|i+0#00e0003&|n|t| +0#0000000&@69
|
|i+0#00e0003&|n|t| +0#0000000&|m|a|i|n|(|i+0#00e0003&|n|t| +0#0000000&|a|r|g|c|,| |c+0#00e0003&|h|a|r| +0#0000000&|*@1|a|r|g|v|)| |{| |/+0#0000e05&@1| |a|n|o|t|h|e|r| |c|o|m@1|e|n|t| +0#0000000&@22
|
||||||
|m|a|i|n|(|i+0#00e0003&|n|t| +0#0000000&|a|r|g|c|,| |c+0#00e0003&|h|a|r| +0#0000000&|*@1|a|r|g|v|)|/+0#0000e05&@1| |a|n|o|t|h|e|r| |c|o|m@1|e|n|t| +0#0000000&@29
|
|
||||||
|{| @73
|
|
||||||
|#+0#e000e06&|i|f| |0| +0#0000000&@69
|
|#+0#e000e06&|i|f| |0| +0#0000000&@69
|
||||||
| +0#0000e05&@2|i|n|t| @2|n|o|t|_|u|s|e|d|;| +0#0000000&@56
|
| +0#0000e05&@2|i|n|t| @2|n|o|t|_|u|s|e|d|;| +0#0000000&@56
|
||||||
|#+0#e000e06&|e|l|s|e| +0#0000000&@69
|
|#+0#e000e06&|e|l|s|e| +0#0000000&@69
|
||||||
@@ -19,4 +17,4 @@
|
|||||||
@8|}| @65
|
@8|}| @65
|
||||||
@8|N+0&#ffff4012|o|t|e|:+0&#ffffff0| |a|s|d|f| @56
|
@8|N+0&#ffff4012|o|t|e|:+0&#ffffff0| |a|s|d|f| @56
|
||||||
|}| @73
|
|}| @73
|
||||||
|-+2&&@1| |V|I|S|U|A|L| |-@1| +0&&@34|2| @8|1|0|,|3|7| @8|A|l@1|
|
|-+2&&@1| |V|I|S|U|A|L| |-@1| +0&&@34|2| @8|8|,|3|7| @9|A|l@1|
|
||||||
|
@@ -538,9 +538,7 @@ func Test_syntax_c()
|
|||||||
endif
|
endif
|
||||||
call writefile([
|
call writefile([
|
||||||
\ '/* comment line at the top */',
|
\ '/* comment line at the top */',
|
||||||
\ ' int',
|
\ 'int main(int argc, char **argv) { // another comment',
|
||||||
\ 'main(int argc, char **argv)// another comment',
|
|
||||||
\ '{',
|
|
||||||
\ '#if 0',
|
\ '#if 0',
|
||||||
\ ' int not_used;',
|
\ ' int not_used;',
|
||||||
\ '#else',
|
\ '#else',
|
||||||
@@ -564,7 +562,7 @@ func Test_syntax_c()
|
|||||||
" response to t_RB corrects it to "light".
|
" response to t_RB corrects it to "light".
|
||||||
let $COLORFGBG = '15;0'
|
let $COLORFGBG = '15;0'
|
||||||
|
|
||||||
let buf = RunVimInTerminal('Xtest.c', #{rows: 22})
|
let buf = RunVimInTerminal('Xtest.c', {})
|
||||||
call term_sendkeys(buf, ":syn keyword Search Note\r")
|
call term_sendkeys(buf, ":syn keyword Search Note\r")
|
||||||
call term_sendkeys(buf, ":syn match Error /^\\s\\+$/\r")
|
call term_sendkeys(buf, ":syn match Error /^\\s\\+$/\r")
|
||||||
call term_sendkeys(buf, ":set hlsearch\r")
|
call term_sendkeys(buf, ":set hlsearch\r")
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2190,
|
||||||
/**/
|
/**/
|
||||||
2189,
|
2189,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user