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
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
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
c16a053519
Take &verbose variable into account. Fix #48 .
2015-04-09 10:59:54 +02:00
Chiel92
b25b08fd5f
Add support for composite filetypes. Fix #37 .
2015-01-12 14:17:27 +01:00
Shane Smith
5a17715cfc
Optional file type argument to Autoformat command
2014-06-29 15:30:05 -04:00
Chiel92
66995c00d1
Fix #13 and some cleanup.
2013-12-20 20:34:38 +01:00
Chiel92
1e20517276
removed obsolete reset of formatprg
2013-08-18 15:57:04 +02:00
Chiel92
f5e60b5266
compatibilty with default gq functionality
2013-03-26 23:03:15 +01:00
Chiel92
b14ce7d6c7
gq remap works for visual mode
...
verbose mode implemented
2013-03-16 10:36:16 +01:00
Chiel92
78e0e3c292
conditional remap gq works
2013-03-15 23:12:09 +01:00
Chiel92
7f461bc84d
test
2013-03-15 20:59:46 +01:00
Chiel92
1b7a90437c
tried to remap gq, only little success
2013-03-14 18:50:31 +01:00
Chiel92
01539b7d76
a little try
2013-03-13 18:51:26 +01:00
Chiel92
993d2c6325
make sure cursor stays at position when reindenting
2013-03-10 20:03:48 +01:00
Chiel92
c792912358
Perform auto indentation when no formatprg available
2013-03-10 19:51:39 +01:00
Chiel92
5b547a33dd
better error messages
2013-03-09 19:41:31 +01:00
Chiel92
e3e6694087
bugfix in formatters/ detection
2013-03-09 17:35:24 +01:00
Chiel92
005835befe
formatprg defaults changed, samples added and renamed
2013-03-08 18:24:10 +01:00
Chiel92
3b0a783077
js-beautify support as a bundle, and tab width 4 default
2013-03-08 17:02:22 +01:00
Chiel92
25ca89e65e
configuration globals correctly loaded on ft change
...
javascript formatprg is broken
2013-03-01 15:06:13 +01:00
Chiel92
72615011ba
bla
2013-02-28 15:06:25 +01:00
Chiel92
9a1a52c946
ftplugin scripts replaced with formatprgdefaults
2013-02-26 18:21:29 +01:00
Chiel92
1b08973e28
minor changes
2013-02-25 12:31:28 +01:00
Chiel92
51f3b5f563
prototype on-the-fly codeformatting
2013-02-11 09:22:23 +01:00
Chiel92
546e181dab
formatprg only set when b:formatprg exists
2013-02-08 20:58:43 +01:00
Chiel92
a4724c5dac
issue 4 is neatly fixed, by storing the formatprg in a buffer local
...
variable, and reloading it on BufEnter,WinEnter
2013-02-08 20:05:52 +01:00
Chiel92
0a1f41399d
2nd attempt to solve issue #4 more nicely
2013-01-26 21:13:50 +01:00
Chiel92
676aec0353
bugfix and readme improvement
2012-12-02 19:55:32 +01:00
Chiel92
e94180e2f4
formatter finding implemented
2012-12-02 17:12:49 +01:00
Chiel92
c23058a4dd
annoying warning fixed
2012-12-02 15:33:03 +01:00
Chiel92
333e88bdeb
command added
2012-12-02 15:27:50 +01:00
Chiel92
19b7a6437b
python support and no error into buffer when formatter not installed
2012-12-01 14:06:28 +01:00
Chiel92
898c6e4ac7
config files systemized
2012-10-10 01:04:23 +02:00
Chiel92
84b9467a3d
function rename
2012-09-30 22:26:51 +02:00
Chiel92
8a7d1d8b38
php and js added
2012-09-30 22:11:36 +02:00