vim-sussify/test/feature/syntax.vader

25 lines
625 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):
2016-03-24 12:00:48 +00:00
AssertEqual 'StartifyNumber', SyntaxAt()
2016-02-02 15:21:09 +00:00
2016-02-03 13:51:54 +00:00
Execute (Brackets -> StartifyBracket):
2016-03-24 12:00:48 +00:00
AssertEqual 'StartifyBracket', SyntaxAt(3)
2016-02-02 15:21:09 +00:00
2016-02-03 13:51:54 +00:00
Execute (First entry -> StartifySpecial):
2016-03-24 12:00:48 +00:00
AssertEqual 'StartifySpecial', SyntaxAt(9)
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-03-24 12:00:48 +00:00
AssertEqual 'StartifySection', SyntaxAt(4)
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-03-24 12:00:48 +00:00
AssertEqual 'StartifySlash', SyntaxAt(9)
2016-02-02 15:21:09 +00:00
2016-03-24 12:00:48 +00:00
Execute (Third entry (session) -> StartifyFile):
normal! 8j
AssertEqual 'StartifyFile', SyntaxAt(9)