10 Commits

Author SHA1 Message Date
Josef Vlach
e31da43351 gdformat current/all buffers, save/gdformat all modified buffers 2020-07-18 20:14:35 +01:00
Hristos N. Triantafillou
a0027df0a1 Only replace the formatted buffer if the gdformat exits with a 0 2020-05-19 13:24:37 -05:00
Hristos N. Triantafillou
4ddfc8edce Preserve the window pos rather than jumping to the top of the file
This inspired by how blacken.el does it:

3bdb26788e/blacken.el (L140)
2020-05-16 16:41:38 -05:00
Franco Eusébio Garcia
b4d2bec304 Format buffer and region.
Closes #38.

The implementation was simplified. Moreover, it is now possible to customize the
path to the `gdformat` executable.
2020-04-02 20:12:54 -03:00
Nathan Lovato
f9bd2f6ccb Address lint-indent warnings 2020-03-23 08:11:07 -06:00
Nathan Lovato
3c5e31bfe3 Address package-lint warnings and errors
See #4
2020-02-17 10:34:32 -06:00
Nathan Lovato
dfe2cd922e Update documentation using checkdoc
Preparing for the MELPA release.

See #4
2020-02-17 09:43:49 -06:00
Nathan Lovato
b7584fe1dc Update package headers, fix flycheck errors 2020-02-15 20:25:10 -06:00
Nathan Lovato
2c05bed515 Supress unused lexical argument warnings 2020-02-15 14:25:16 -06:00
Nathan Lovato
1f0e45da3b Add module to format code using gdformat
Closes #22
2020-02-14 17:57:36 -06:00