Commit Graph

322 Commits

Author SHA1 Message Date
Chiel92
0ea8377eaa Cleanup 2015-08-08 14:37:21 +02:00
Fredrik Hansson
9545f0cfcf fix for using the default gg=G on files without formatting definitions at all 2015-08-08 14:01:26 +02:00
Chiel92
1dcabd579f Merge branch 'philolo1-config_formater' 2015-08-08 11:41:31 +02:00
philolo1
247f2d98e7 make the formatter options be configureable in the vimrc 2015-08-08 11:05:41 +02:00
Chiel92
399ea3a44d Minor clean up. 2015-08-01 06:35:59 +02:00
Chiel92
a5b99fa608 Remove pendent newline from formatter output. Fix #61. 2015-08-01 05:57:54 +02:00
Chiel92
509f982da6 Update readme 2015-06-22 09:18:49 +02:00
Chiel92
47bd95f672 Ugly hack to support +python3 2015-06-19 23:17:31 +02:00
Chiel92
9107b620f4 Fix previous commit 2015-06-19 13:58:09 +02:00
Chiel92
977500d769 Allow vim with +python3 as well. 2015-06-19 13:38:20 +02:00
Chiel92
6eb339b641 Add tidy definition for html 2015-06-13 17:53:44 +02:00
Chiel92
35eb03c3d3 Add another go definition 2015-06-13 16:30:13 +02:00
Chiel
923e0a608b Merge pull request #59 from dani-h/master
Added golang - gofmt support
2015-06-13 16:26:42 +02:00
Dani Hodovic
a3f65420ea Added golang - gofmt support
Added support for gofmt without any of the extra formatting options
enabled by default. Extra options can be found using `gofmt --help`
(-r, -s).
2015-06-13 11:39:06 +02:00
Chiel92
aa75481546 Merge branch 'fix_windowstate_recall'.
Fix #56.
2015-06-12 15:27:43 +02:00
Chiel92
f7e872f15a Move window state recall outside TryFormatter 2015-06-12 14:29:33 +02:00
Chiel92
ba12dfc1b7 Add note about python support in README. Related to #54. 2015-06-11 09:51:51 +02:00
Chiel92
5e71d140e5 Merge branch 'bor-fix/check_support_for_python' 2015-06-11 09:43:28 +02:00
Sergiy Borodych
716813ee2d add check if vim has no support for python
it is necessary to verify the custom formatter
if no support show a notional warning message
2015-06-11 10:23:20 +03:00
Chiel92
8e72f291c7 Fix broken definition. Fix #53. 2015-06-09 10:18:22 +02:00
Chiel92
bafaadaaee Clean up, update readme 2015-06-06 11:54:30 +02:00
Chiel92
ff8deba487 Cover jscs in README 2015-05-31 22:10:33 +02:00
Chiel92
f256d815e7 Automatically check for supertype formatters, as requested in #50 2015-05-31 21:56:00 +02:00
Chiel92
b553cd17de Add possibility to extend $PATH for formatters. Update README. 2015-05-31 20:58:14 +02:00
Chiel92
c6e2dc21c1 Warn for out-of-date configuration 2015-05-30 21:00:16 +02:00
Chiel92
2232436991 Fix bug in translating verbose flag to python 2015-05-30 16:18:30 +02:00
Chiel92
495dc9651d Support python cli-version of js-beautify by default 2015-05-30 16:11:37 +02:00
Chiel92
5d90bb9241 Clang-format accepts ranges. Update readme. 2015-05-30 12:12:06 +02:00
Chiel92
bb004752d3 Merge branch 'multiple-formatters' of https://github.com/Chiel92/vim-autoformat into multiple-formatters 2015-05-30 11:59:15 +02:00
Chiel92
b1b6b87309 Update readme. Ranged do not need separate definition. 2015-05-30 11:12:02 +02:00
Chiel92
55fca18a96 Providing range for autopep8 works. 2015-05-30 11:02:07 +02:00
Chiel
fbf04df1a6 Merge pull request #52 from faceleg/multiple-formatters
Added jscs definition for JavaScript
2015-05-27 10:47:30 +02:00
Chiel92
a4533d1769 Update default definitions. Readme update. 2015-05-23 14:25:29 +02:00
Chiel92
2ed8f00bb5 Try all available formatters until one works 2015-05-23 10:02:05 +02:00
Michael Robinson
57b34851c3 Updated jscs default 2015-05-21 01:05:56 +12:00
Michael Robinson
9a9314d351 Added jscs definition for JavaScript 2015-05-21 00:56:29 +12:00
Chiel92
dfd9461f23 Multiple formatters. Don't write errors to buffer.
Using python we can check for formatter errors instead of writing the
errors to the buffer. Multiple formatters can be supplied by lists now.

Backward compatibility breaks:
 - Variable names have changed
 - Formatter is specified as one expression
 - gq has been removed, Autoformat should accept ranges
 - python has to be compiled in

To be done:
 - Find easy way to selected default formatter out of available formatter
 - Make autoformat accept ranges
2015-05-18 19:27:00 +02:00
Chiel92
060ee66c08 Merge branch 'master' of https://github.com/Chiel92/vim-autoformat 2015-05-18 10:26:48 +02:00
Chiel92
efff9565d0 Add gitignore 2015-05-18 10:26:04 +02:00
Chiel
95d6836801 Update README.md
Update todo list.
2015-05-08 11:51:12 +02:00
Chiel92
c16a053519 Take &verbose variable into account. Fix #48. 2015-04-09 10:59:54 +02:00
Chiel92
84f8c1864f Add feature from #46 on todo list. 2015-04-04 11:49:40 +02:00
Chiel92
9e15a035e3 Merge branch 'dani-h-master' 2015-03-24 12:32:15 +01:00
Dani Hodovic
074b2ac463 Added README.md info for TypeScript formatting 2015-03-22 20:30:10 +01:00
Dani Hodovic
c6afe09669 Added TypeScript formatting options
vvakame/typescript-formatter now support reading from stdin, but a
filename has to be specified. I've tried it with both unsaved and saved
buffers and it works fine.
2015-03-22 17:03:36 +01:00
Chiel92
ffc0937d7b Update README.md
Fix #43.
2015-03-12 12:32:50 +01:00
Chiel92
e8e2704daa Update README.md
Style fix
2015-03-12 12:28:24 +01:00
Chiel92
4f1b27052e Update README about python version of js-beautify not supported by default 2015-03-12 12:23:52 +01:00
Chiel92
5fac8d0d3a Supply license. Fix #42. 2015-03-12 09:12:11 +01:00
Chiel92
2f86f88170 Add line in README about python version of js-beautify not being
supported.
2015-03-04 12:56:10 +01:00