Commit Graph

393 Commits

Author SHA1 Message Date
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
129f17d807 Fix an uncaught BrokenPipeError for the python 3 case. 2017-03-06 18:33:02 +01:00
Chiel ten Brinke
42adced250 Merge pull request #174 from rjurado01/master
Update README.md
2017-02-19 15:17:43 +01:00
Rafael Jurado González
1bc739a8d9 Update README.md
Remark needs command-line interface.
2017-02-19 13:45:46 +01:00
Chiel ten Brinke
56170ff0d3 Merge branch 'master' of https://github.com/Chiel92/vim-autoformat 2017-02-06 10:35:27 +01:00
Chiel ten Brinke
e579d38339 Don't pass textwidth to yapf when it is 0. 2017-02-06 10:30:59 +01:00
Chiel ten Brinke
92e95779c2 Update README.md 2017-02-02 09:48:25 +01:00
Chiel ten Brinke
0923017c63 Update README.md 2017-01-24 16:40:40 +01:00
Chiel ten Brinke
cddaf58c15 Merge pull request #163 from giulioungaretti/fix/pipinstall
fix: Use correct pip command to install yapf
2017-01-23 15:03:53 +01:00
Giulio Ungaretti
22e39f99a4 fix: Use correct pip command to install yapf 2017-01-20 15:06:49 +01:00
Chiel ten Brinke
b92b0e3c5d Merge branch 'claytron-rubocop-formatter' 2017-01-20 10:31:33 +01:00
Clayton Parker
cffce11a85 add rubocop formatter 2017-01-19 10:27:06 -05:00
Chiel ten Brinke
a874207946 Merge branch 'sindresorhus-xo' 2017-01-16 12:52:09 +01:00
Sindre Sorhus
1a09ff60fb Add XO formatter for JavaScript 2017-01-13 22:02:09 +07:00
Chiel ten Brinke
3715e166a5 Merge pull request #159 from lsycxyj/master
html indent detection fixed
2016-12-13 10:36:48 +01:00
Light Leung
4feb305c5f html indent detection fixed 2016-12-13 12:18:24 +08:00
Chiel ten Brinke
aa977617ba Merge pull request #158 from cmcginty/yapf-textwidth
Support custom line lengths with yapf Python formatter.
2016-12-05 11:15:27 +01: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
Chiel ten Brinke
1ad6f8eea7 Update README.md
Only use the changelog for important changes in behaviour.
2016-12-03 21:32:50 +01:00
Chiel ten Brinke
15ee797ad3 Merge branch 'bbqtd-standard-js' 2016-11-02 10:20:12 +01:00
bbqtd
091321ce4d Add formatter for javascript (standard) 2016-10-31 03:12:26 +03:00
Chiel ten Brinke
f6fabad46f Merge branch 'jpmv27-add_formatters_formatdef_overrides' 2016-09-09 19:01:31 +02:00
Chiel ten Brinke
c9c7103b79 Merge branch 'add_formatters_formatdef_overrides' of https://github.com/jpmv27/vim-autoformat into jpmv27-add_formatters_formatdef_overrides 2016-09-09 18:57:19 +02:00
Martin Vuille
ab7778b74b Document b:formatters_<filetype> and b:formatdef_<identifier> in README 2016-09-08 13:29:14 -04:00
Chiel ten Brinke
8a793f3f1d Merge branch 'FredrikHson-master' 2016-09-08 18:17:45 +02:00
Fredrik Hansson
635d2f2a90 fixed invalid syntax with python 2.6.6 2016-09-07 10:49:52 +02:00
Martin Vuille
9cf57b6a9b Add b:formatters_<filetype> and b:formatdef_<identifier> overrides 2016-09-01 19:59:23 -04:00
Chiel ten Brinke
f9c1d5c15b Merge branch 'pseewald-master' 2016-09-01 22:52:23 +02:00
Patrick Seewald
7e201a3b4a add Fortran example from official fprettify repo. 2016-08-30 11:00:07 +02:00
Patrick Seewald
f6ce60f798 add 'fprettify' for Fortran 2016-08-30 10:59:32 +02:00
Chiel ten Brinke
06251ab317 Merge branch 'ifokeev-jsx-support' 2016-07-08 18:37:47 +02:00
vanya
346594de48 JSX support by default 2016-07-07 13:35:56 +03:00
Chiel ten Brinke
b9f566b514 Improve documentation about debugging and add PutMessages. 2016-06-15 10:00:58 +02:00
Chiel ten Brinke
546de9287d Merge branch 'kayw-command-bar' 2016-06-15 09:23:39 +02:00
kayw
857d5e7a29 fix: do not treat following "|" and strings as arguments in Autoformat command
related issue: https://github.com/Chiel92/vim-autoformat/issues/124
copy from this code: https://github.com/rhysd/vim-crystal/blob/master/ftplugin/crystal.vim#L51
2016-06-13 20:40:11 +08:00
Chiel ten Brinke
9742ae2dfb Merge branch 'master' into WHQ25-fix_yapf 2016-06-10 12:18:09 +02:00
Chiel ten Brinke
10bf7def12 Change quoting in yapf definition. 2016-06-09 09:36:31 +02:00
Chiel ten Brinke
0e95bd1d60 Mention vim 7.4 requirement in readme. 2016-06-03 10:18:04 +02:00
Hangqi Wu
4920e754c0 update yapf default setting 2016-06-01 13:54:05 +08:00
Chiel ten Brinke
0dcc7b3189 Merge branch 'master' of https://github.com/Chiel92/vim-autoformat 2016-05-23 17:25:27 +02:00
Chiel ten Brinke
dd16b96756 Add .gitattributes file. 2016-05-23 17:25:03 +02:00
Chiel ten Brinke
aaf19a31a9 Merge pull request #135 from tbelaire/patch-1
astylerc not actually passing correct file
2016-05-13 10:06:14 +02: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
Chiel ten Brinke
564b7fb551 Merge branch 'cmcginty-yapf' 2016-05-09 10:37:28 +02:00
Patrick C. McGinty
199f6b2f9d Fix 'chromium' typo in README 2016-04-29 09:43:42 -10: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