Commit Graph

107 Commits

Author SHA1 Message Date
luis
cdb4e84a25 choose the closest eslintrc based on filename length
possible fix for #216
2017-12-12 05:18:46 -02:00
luis
36f2a83ec6 corrected the indent on last change 2017-12-05 19:02:34 -02:00
luis
3a9e28959b Added current file extension to eslint tmp file 2017-12-05 18:53:51 -02:00
Mahmoud Al-Qudsi
7186a54af9 Set tidy_xml as the default formatter for SVG files
SVG is just XML + namespace, so tidy_xml is a good default formatter for
SVG files.
2017-11-19 12:41:01 -06:00
Chiel ten Brinke
f68c2cc9b6 Minor rewording. 2017-10-05 11:17:03 +02:00
dc3671
ab7ead0c3f Update readme and vim error messages for eslint global support 2017-10-05 16:57:12 +08:00
dc3671
5ea2893299 Add support for global eslint&.eslintrc 2017-10-05 00:39:36 +08:00
Nick Baugh
1ff08d3a13
Fixed xo formatter (closes #203, closes #201) 2017-08-23 07:15:33 -04:00
Manuel Mendez
e80935baff fixup! defaults/yapf: handle yapf config file 2017-07-27 10:55:30 -04:00
Manuel Mendez
3e7f7a6874 defaults/yapf: handle yapf config file
YAPF has clang-format like config file for customisation of the applied
style. vim-autoformat was previously ignoring any user customisation.
2017-07-20 15:09:57 -04:00
Manuel Mendez
8d2809242c defaults: remove trailing whitespace 2017-07-04 13:00:12 -04:00
Chiel ten Brinke
889665717c Merge py cli and js cli js-beautify definitions. 2017-06-23 09:07:06 +02:00
xy
ee87885f40 add eslintrc.yml support 2017-05-17 01:37:15 +08:00
Christian Hubinger
6d2acb7635 fix: linter discards unsaved changes
The content of the current buffer is written to the tempfile instead of copying the file.
So unsaved changes will no longer be discarded silently.
2017-03-14 15:15:02 +01:00
Christian Hubinger
db4a01e197 fix: renamed command builder function, remove disable flag
moved Win32 check inside command builder
2017-03-14 11:45:15 +01:00
Christian Hubinger
9e645c483d fix: generate command on the fly when executing
Replaced: s:find_uwards fint builtin findfile()
Removed: register/unregister logic
2017-03-14 00:44:30 +01:00
Christian Hubinger
0f90dc3a0f feature: implement local ESLint support
Support to use the project local eslint installation to be used to
reformat javascript source with the eslint --fix command
2017-03-12 01:23:40 +01:00
Chiel ten Brinke
e579d38339 Don't pass textwidth to yapf when it is 0. 2017-02-06 10:30:59 +01:00
Clayton Parker
cffce11a85 add rubocop formatter 2017-01-19 10:27:06 -05:00
Sindre Sorhus
1a09ff60fb Add XO formatter for JavaScript 2017-01-13 22:02:09 +07:00
Light Leung
4feb305c5f html indent detection fixed 2016-12-13 12:18:24 +08:00
Casey McGinty
5c957257e0 Support custom line lengths with yapf Python formatter.
The 'column-width' option was added to the default yapf command. The
value is set to match the 'textwidth' value of the current buffer.
2016-12-03 18:53:48 -08:00
bbqtd
091321ce4d Add formatter for javascript (standard) 2016-10-31 03:12:26 +03:00
Patrick Seewald
f6ce60f798 add 'fprettify' for Fortran 2016-08-30 10:59:32 +02:00
vanya
346594de48 JSX support by default 2016-07-07 13:35:56 +03:00
Chiel ten Brinke
10bf7def12 Change quoting in yapf definition. 2016-06-09 09:36:31 +02:00
Hangqi Wu
4920e754c0 update yapf default setting 2016-06-01 13:54:05 +08:00
Theo Belaire
9843c361cd astylerc not actually passing correct file
I think there was a bug, you don't pass `.astylerc`, only `.astyle` when you detect that there is a file named `.astylerc`
2016-05-12 23:10:39 -04:00
Patrick C. McGinty
55929ec762 Add YAPF Python formatter 2016-04-28 15:57:04 -10:00
Chiel ten Brinke
713e7c2580 Only use range arguments in visual mode for autopep8. 2016-04-06 17:06:36 +02:00
Steve Dignam
3fdd0aa024 added remark for markdown 2016-03-19 00:08:33 -04:00
Chiel ten Brinke
978e4ece4f Add more default fallback features.
Add removing whitespace and retabbing.
2016-03-11 18:09:05 +01:00
Chiel ten Brinke
9a56b056bc Merge branch 'astyle' of https://github.com/sbdchd/vim-autoformat into sbdchd-astyle 2016-02-29 12:49:40 +01:00
Chiel ten Brinke
66eb30f139 Merge branch 'fix/clang-parameters' of https://github.com/tresorit/vim-autoformat into tresorit-fix/clang-parameters 2016-02-29 10:22:08 +01:00
David Dvorszki
20e5ca13fa fixed clang's --assume-filename parameter
it needs the full path of the file
2016-02-26 16:17:09 +01:00
Steve Dignam
72fb185c77 updated js-beautify for json to use config file 2016-02-25 11:33:02 -05:00
Steve Dignam
896998c368 updated js-beautify formatter to use config file 2016-02-22 14:55:23 -05:00
Steve Dignam
4eba53eb3f updated astyle to use .astylerc if available 2016-02-22 14:37:43 -05:00
Steve Dignam
b25fde99ad added goimports formatter for go 2016-02-21 00:39:06 -05:00
Chiel ten Brinke
f78c47c34b Merge branch 'master' of https://github.com/sbdchd/vim-autoformat into sbdchd-master 2016-02-17 17:01:00 +01:00
Steve Dignam
6fef83ed54 updated astyle java formatter to use java style 2016-02-14 14:22:18 -05:00
Steve Dignam
cb4f717fbe minor changes & formatting changes 2016-02-11 11:20:59 -05:00
Chiel ten Brinke
f9cc5ff1b3 Merge branch 'master' into dev 2015-12-23 17:01:37 +01:00
Chiel ten Brinke
7902a12391 Cleanup and update README. 2015-12-15 13:15:05 +01:00
Chiel ten Brinke
ac1aa285a3 Make clang config finder relative to buffer file. 2015-12-07 18:34:27 +01:00
Andrew Barchuk
01e55b8535 Add stylish-haskell prettifier 2015-12-05 23:10:58 +02:00
Chiel ten Brinke
d704fd1647 Add config file detection for clang-format.
Also
 - add CurrentFormatter command.
 - more verbosity.
 - update readme.
2015-12-04 09:59:23 +01:00
Chiel ten Brinke
29e088848a Correct typo in perltidy definition. 2015-12-03 17:19:25 +01:00
Abdurrahman Aborazmeh
12a9d4c30c Add perltidy 2015-11-30 06:19:22 +02:00
Tiziano Santoro
ae85d2dfb6 Add dartfmt 2015-11-05 14:32:43 +00:00