vim-sussify/test/feature/syntax.vader

25 lines
624 B
Plaintext
Raw Normal View History

2016-02-02 15:21:09 +00:00
Before:
Startify
doautocmd CursorMoved
2016-02-03 13:51:54 +00:00
Execute (Between brackets -> StartifyNumber):
AssertEqual SyntaxAt(), 'StartifyNumber'
2016-02-02 15:21:09 +00:00
2016-02-03 13:51:54 +00:00
Execute (Brackets -> StartifyBracket):
AssertEqual SyntaxAt(3), 'StartifyBracket'
2016-02-02 15:21:09 +00:00
2016-02-03 13:51:54 +00:00
Execute (First entry -> StartifySpecial):
AssertEqual SyntaxAt(9), 'StartifySpecial'
2016-02-02 15:21:09 +00:00
2016-02-03 13:51:54 +00:00
Execute (Section header -> StartifySection):
2016-02-02 15:21:09 +00:00
normal! 2j
2016-02-03 13:51:54 +00:00
AssertEqual SyntaxAt(9), 'StartifySection'
2016-02-02 15:21:09 +00:00
2016-02-03 13:51:54 +00:00
Execute (Second entry (separator) -> StartifySlash):
2016-02-02 15:21:09 +00:00
normal! 4j
2016-02-03 13:51:54 +00:00
AssertEqual SyntaxAt(9), 'StartifySlash'
2016-02-02 15:21:09 +00:00
2016-02-03 13:51:54 +00:00
Execute (Second entry (path) -> StartifyFile):
2016-02-02 15:21:09 +00:00
normal! 4j
2016-02-03 13:51:54 +00:00
AssertEqual SyntaxAt(10), 'StartifyFile'