Permalink
Browse files

Match upstream headers

  • Loading branch information...
1 parent d6ae02c commit 21211624e05e06d95db8f39728733552d93684d6 @tpope committed May 7, 2012
Showing with 8 additions and 3 deletions.
  1. +5 −3 ftdetect/liquid.vim
  2. +1 −0 ftplugin/liquid.vim
  3. +1 −0 indent/liquid.vim
  4. +1 −0 syntax/liquid.vim
View
@@ -1,4 +1,6 @@
-autocmd BufNewFile,BufRead *.liquid set ft=liquid
-autocmd BufNewFile,BufRead */_layouts/*.html set ft=liquid
-autocmd BufNewFile,BufRead *.html,*.xml,*.markdown,*.textile
+" Liquid
+au BufNewFile,BufRead *.liquid set ft=liquid
+
+au BufNewFile,BufRead */_layouts/*.html set ft=liquid
+au BufNewFile,BufRead *.html,*.xml,*.markdown,*.textile
\ if getline(1) == '---' | set ft=liquid | endif
View
@@ -1,6 +1,7 @@
" Vim filetype plugin
" Language: Liquid
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
+" Last Change: 2010 May 21
if exists('b:did_ftplugin')
finish
View
@@ -1,6 +1,7 @@
" Vim indent file
" Language: Liquid
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
+" Last Change: 2010 May 21
if exists('b:did_indent')
finish
View
@@ -2,6 +2,7 @@
" Language: Liquid
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" Filenames: *.liquid
+" Last Change: 2010 May 21
if exists('b:current_syntax')
finish

0 comments on commit 2121162

Please sign in to comment.