Commits

Ben Baker-Smith committed 4fcccd3

refactor to use ftdetect along with plugin and autoload files

Comments (0)

Files changed (2)

ftdetect/liquid.vim

+au BufNewFile,BufRead *.liquid set filetype=liquid

plugin/liquidfold.vim

-" avoid duplicate autocommands; set filetype for .liquid files and fold them
-"
-augroup ft_liquid
-  au!
-  au BufNewFile,BufRead *.liquid set filetype=liquid
-  au FileType liquid silent! call liquidfold#Init()
-augroup END
+au FileType liquid silent! call liquidfold#Init()