presentation/script.vim in vimdeck-0.1.4 vs presentation/script.vim in vimdeck-0.1.5

- old
+ new

@@ -20,93 +20,97 @@ b 4 -call matchadd("Comment", "\\n • Second\\n • Third\\(\\_.*slide 4\\)\\@=") - b 5 -call matchadd("Comment", "• First\\(\\_.*slide 5\\)\\@=") +call matchadd("Comment", "\\n • Second\\n • Third\\(\\_.*slide 5\\)\\@=") -call matchadd("Comment", "\\n • Third\\(\\_.*slide 5\\)\\@=") - b 6 -call matchadd("Comment", "• First\\n • Second\\(\\_.*slide 6\\)\\@=") +call matchadd("Comment", "• First\\(\\_.*slide 6\\)\\@=") +call matchadd("Comment", "\\n • Third\\(\\_.*slide 6\\)\\@=") + b 7 -6,17SyntaxInclude ruby +call matchadd("Comment", "• First\\n • Second\\(\\_.*slide 7\\)\\@=") b 8 6,17SyntaxInclude ruby -call matchadd("Comment", "module Parts\\n class foo\\n def slide\\n \"of a\"\\n end\\n\\n def can\\n highlight = \\(\\_.*slide 8\\)\\@=") -call matchadd("Comment", "\\n end\\n end\\n end\\(\\_.*slide 8\\)\\@=") - - b 9 6,17SyntaxInclude ruby -call matchadd("Comment", "module Parts\\n class foo\\n def slide\\n \"of a\"\\n end\\n\\n def\\(\\_.*slide 9\\)\\@=") +call matchadd("Comment", "module Parts\\n class foo\\n def slide\\n \"of a\"\\n end\\n\\n def can\\n highlight = \\(\\_.*slide 9\\)\\@=") -call matchadd("Comment", "highlight = \"vimdeck\"\\n end\\n end\\n end\\(\\_.*slide 9\\)\\@=") +call matchadd("Comment", "\\n end\\n end\\n end\\(\\_.*slide 9\\)\\@=") b 10 6,17SyntaxInclude ruby -call matchadd("Comment", "module Parts\\n class foo\\n def slide\\n \"of a\"\\n end\\n\\n def can\\(\\_.*slide 10\\)\\@=") +call matchadd("Comment", "module Parts\\n class foo\\n def slide\\n \"of a\"\\n end\\n\\n def\\(\\_.*slide 10\\)\\@=") -call matchadd("Comment", "= \"vimdeck\"\\n end\\n end\\n end\\(\\_.*slide 10\\)\\@=") +call matchadd("Comment", "highlight = \"vimdeck\"\\n end\\n end\\n end\\(\\_.*slide 10\\)\\@=") b 11 6,17SyntaxInclude ruby -call matchadd("Comment", "module\\(\\_.*slide 11\\)\\@=") +call matchadd("Comment", "module Parts\\n class foo\\n def slide\\n \"of a\"\\n end\\n\\n def can\\(\\_.*slide 11\\)\\@=") -call matchadd("Comment", "class foo\\n def slide\\n \"of a\"\\n end\\n\\n def can\\n highlight = \"vimdeck\"\\n end\\n end\\n end\\(\\_.*slide 11\\)\\@=") +call matchadd("Comment", "= \"vimdeck\"\\n end\\n end\\n end\\(\\_.*slide 11\\)\\@=") b 12 6,17SyntaxInclude ruby -call matchadd("Comment", "module Parts\\n class foo\\n def slide\\(\\_.*slide 12\\)\\@=") +call matchadd("Comment", "module\\(\\_.*slide 12\\)\\@=") -call matchadd("Comment", "end\\n\\n def can\\n highlight = \"vimdeck\"\\n end\\n end\\n end\\(\\_.*slide 12\\)\\@=") +call matchadd("Comment", "class foo\\n def slide\\n \"of a\"\\n end\\n\\n def can\\n highlight = \"vimdeck\"\\n end\\n end\\n end\\(\\_.*slide 12\\)\\@=") b 13 6,17SyntaxInclude ruby -call matchadd("Comment", "module Parts\\n class foo\\n def\\(\\_.*slide 13\\)\\@=") +call matchadd("Comment", "module Parts\\n class foo\\n def slide\\(\\_.*slide 13\\)\\@=") -call matchadd("Comment", "\"of a\"\\n end\\n\\n def can\\n highlight = \"vimdeck\"\\n end\\n end\\n end\\(\\_.*slide 13\\)\\@=") +call matchadd("Comment", "end\\n\\n def can\\n highlight = \"vimdeck\"\\n end\\n end\\n end\\(\\_.*slide 13\\)\\@=") b 14 + +6,17SyntaxInclude ruby + + +call matchadd("Comment", "module Parts\\n class foo\\n def\\(\\_.*slide 14\\)\\@=") + +call matchadd("Comment", "\"of a\"\\n end\\n\\n def can\\n highlight = \"vimdeck\"\\n end\\n end\\n end\\(\\_.*slide 14\\)\\@=") + + +b 15 b 1