From ff8deba48739861ff52f721d7f95e167ecda53b3 Mon Sep 17 00:00:00 2001 From: Chiel92 Date: Sun, 31 May 2015 22:10:33 +0200 Subject: [PATCH] Cover jscs in README --- README.md | 17 ++++++++++------- plugin/autoformat.vim | 2 +- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3f6165d..25122e1 100644 --- a/README.md +++ b/README.md @@ -86,11 +86,7 @@ Note that `nodejs` is needed for this to work. The python version version is also supported by default, which does not need `nodejs` to run. Here is the link to the repository: https://github.com/einars/js-beautify. -* `typescript-formatter` for __Typescript__. -`typescript-formatter` is a thin wrapper around the TypeScript compiler services. -It can be installed by running `npm install -g typescript-formatter`. -Note that `nodejs` is needed for this to work. -Here is the link to the repository: https://github.com/vvakame/typescript-formatter. +* `JSCS` for __Javascript__. http://jscs.info/ * `html-beautify` for __HTML__. It is shipped with `js-beautify`, which can be installed by running `npm install -g js-beautify`. @@ -102,6 +98,12 @@ It is shipped with `js-beautify`, which can be installed by running `npm install Note that `nodejs` is needed for this to work. Here is the link to the repository: https://github.com/einars/js-beautify. +* `typescript-formatter` for __Typescript__. +`typescript-formatter` is a thin wrapper around the TypeScript compiler services. +It can be installed by running `npm install -g typescript-formatter`. +Note that `nodejs` is needed for this to work. +Here is the link to the repository: https://github.com/vvakame/typescript-formatter. + * `sass-convert` for __SCSS__. It is shipped with `sass`, a CSS preprocessor written in Ruby, which can be installed by running `gem install sass`. Here is the link to the SASS homepage: http://sass-lang.com/. @@ -184,12 +186,13 @@ If you have any suggestions on this plugin or on this readme, if you have some n Change log ---------- -### May 21 2015 -* *Backwards incompatible patch!* +### June 2015 +* *Backward incompatible patch!* * Multiple formatters per filetype are now supported * Configuration variable names changed * `gq` no longer supported * `:Autoformat` suppports ranges +* Composite filetypes are fully supported ### Dec 9 2014 * Added `rbeautify` to the defaults for formatting ruby files diff --git a/plugin/autoformat.vim b/plugin/autoformat.vim index 00f148b..866845e 100644 --- a/plugin/autoformat.vim +++ b/plugin/autoformat.vim @@ -16,7 +16,7 @@ function! s:find_formatters(...) let old_formatprg_args_var = "g:formatprg_args_".compoundtype let old_formatprg_args_expr_var = "g:formatprg_args_expr_".compoundtype if exists(old_formatprg_var) || exists(old_formatprg_args_var) || exists(old_formatprg_args_expr_var) - echom "WARNING: the options g:formatprg_, g:formatprg_args_ and g:formatprg_args_expr_ are no longer supported as of June 2015. Please check the README for help on how to configure your formatters." + echom "WARNING: the options g:formatprg_, g:formatprg_args_ and g:formatprg_args_expr_ are no longer supported as of June 2015, due to major backward-incompatible improvements. Please check the README for help on how to configure your formatters." endif " Detect configuration for all possible supertypes