if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'twig') == -1 " Vim filetype plugin " Language: Twig " Maintainer: F. Gabriel Gosselin if exists("b:did_ftplugin") finish endif setlocal comments=s:{#,ex:#} setlocal formatoptions+=tcqln " setlocal formatlistpat=^\\s*\\d\\+\\.\\s\\+\\\|^[-*+]\\s\\+ if exists("b:did_ftplugin") let b:undo_ftplugin .= "|setlocal comments< formatoptions<" else let b:undo_ftplugin = "setlocal comments< formatoptions<" endif " vim:set sw=2: endif