1. Ben Baker-Smith
  2. liquidfold.vim

Commits

Ben Baker-Smith  committed 4fcccd3

refactor to use ftdetect along with plugin and autoload files

  • Participants
  • Parent commits 9a79050
  • Branches master

Comments (0)

Files changed (2)

File ftdetect/liquid.vim

View file
  • Ignore whitespace
+au BufNewFile,BufRead *.liquid set filetype=liquid

File plugin/liquidfold.vim

View file
  • Ignore whitespace
-" 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()