if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1 " Language: Literate CoffeeScript " Maintainer: Michael Smith " URL: https://github.com/mintplant/vim-literate-coffeescript " License: MIT if exists('b:current_syntax') && b:current_syntax == 'litcoffee' finish endif syn include @markdown syntax/markdown.vim syn include @coffee syntax/coffee.vim " Partition the file into notCoffee and inlineCoffee. Each line will match " exactly one of these regions. notCoffee matches with a zero-width " look-behind. syn region notCoffee start='^\%( \|\t\)\@