vim-sussify/test/feature/syntax.vader
2016-03-24 13:01:13 +01:00

25 lines
625 B
Plaintext

Before:
Startify
doautocmd CursorMoved
Execute (Between brackets -> StartifyNumber):
AssertEqual 'StartifyNumber', SyntaxAt()
Execute (Brackets -> StartifyBracket):
AssertEqual 'StartifyBracket', SyntaxAt(3)
Execute (First entry -> StartifySpecial):
AssertEqual 'StartifySpecial', SyntaxAt(9)
Execute (Section header -> StartifySection):
normal! 2j
AssertEqual 'StartifySection', SyntaxAt(4)
Execute (Second entry (separator) -> StartifySlash):
normal! 4j
AssertEqual 'StartifySlash', SyntaxAt(9)
Execute (Third entry (session) -> StartifyFile):
normal! 8j
AssertEqual 'StartifyFile', SyntaxAt(9)