Skip to content

Commit 592f179

Browse files
committed
Workaround vader not triggering syntax highlighting
1 parent 3060f39 commit 592f179

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/indent/comments_strings.vader

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ Expect puppet (closing brace back aligned with start of resource block):
2626
#}
2727
}
2828
-------------------------------------------------------------------------------
29-
" XXX: This test doesn't do what we're expecting: it seems as though indentation
30-
" doesn't have access to syntax classes during tests.
3129
Given puppet (multi-line string):
3230
class something {
3331
$var="
@@ -39,7 +37,9 @@ Given puppet (multi-line string):
3937
}
4038
}
4139

40+
" XXX Redraw the screen to ensure that syntax highlighting has run
4241
Do (full text indent with '='):
42+
\<C-o>:redraw | normal! gs\<cr>
4343
gg=G
4444

4545
Expect puppet (multi-line string does not move and line after resumes indentation):

0 commit comments

Comments
 (0)