!* * Git commit and rebase messages * * NOTE: This is not a real lexer. * It only styles the document once. *! @[lexer.test.git]{ :EN*/COMMIT_EDITMSGQ*"S -1 ' :EN*/TAG_EDITMSGQ*"S -1 ' :EN*/MERGE_MSGQ*"S -1 ' :EN*/git-rebase-todoQ* } @[lexer.set.git]{[: 1ESSETWRAPMODE :M[color.comment],1M[color.set] J< .-Z"= 1; ' 0A-#"= ESSTARTSTYLING 1,(Q.lESLINELENGTH)ESSETSTYLING !* only the first line gets the fold level header *! -2ESGETSTYLEINDEXAT-1"N 1024#(2^*13) | 1025 ',Q.lESSETFOLDLEVEL ' !* empty line *! 0A-10"= 1024#(2^*12),Q.lESSETFOLDLEVEL ' :L; %.l> ]:}