From 70817709b76e5a8dec995447311993e9d2ee47dd Mon Sep 17 00:00:00 2001 From: andrews medina Date: Thu, 21 Jul 2011 12:16:27 -0300 Subject: [PATCH] added command for clean css --- ftdetect/andrews.tpl | 10 ++++++++++ ftdetect/css.vim | 1 + 2 files changed, 11 insertions(+) create mode 100644 ftdetect/andrews.tpl create mode 100644 ftdetect/css.vim diff --git a/ftdetect/andrews.tpl b/ftdetect/andrews.tpl new file mode 100644 index 000000000..d3f6fbebe --- /dev/null +++ b/ftdetect/andrews.tpl @@ -0,0 +1,10 @@ +| { +|| { +| | |; +|}| + +| +} + +||| +| diff --git a/ftdetect/css.vim b/ftdetect/css.vim new file mode 100644 index 000000000..aa823e3a2 --- /dev/null +++ b/ftdetect/css.vim @@ -0,0 +1 @@ +autocmd filetype css setlocal equalprg=csstidy\ -\ --silent=true\ --template=$VIMHOME/ftdetect/andrews.tpl\ --sort_properties=true\ --compress_font-weight=false