if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'blade') == -1 " Language: Blade " Author: Barry Deeney " Version: 0.1 " Description: BLADE indent file based on HTML indentation... " Check if this file has already been loaded if exists("b:did_indent") finish endif " Include HTML runtime! indent/html.vim runtime! indent/php.vim silent! unlet b:did_indent " What function do we need to use to detect indentation? setlocal indentexpr=BladeIndent() " What keys would trigger indentation? setlocal indentkeys=o,O,,<>>,{,},!^F,0{,0},0),:,!^F,o,O,e,*,=?>,=