Set Laravel blade files to HTML filetype

2 Points

Florian Beer Florian Beer

4 years ago

Set filetype to HTML when editing files ending in .blade.php since they are view files that consist mainly of HTML and not PHP code.

autocmd BufRead,BufNewFile *.blade.php set filetype=html