Commit graph

36 commits

Author SHA1 Message Date
Radon Rosborough
0c0085f246 [#12] Try even harder to avoid formatting loop 2020-03-25 11:59:06 -06:00
Radon Rosborough
9258b562b5 [#12] Try harder to avoid infinite formatting loop 2020-03-25 09:45:52 -06:00
Radon Rosborough
284d1c48f8 [#12] Don't visit temporary file 2020-03-22 09:27:50 -06:00
Radon Rosborough
8112041d7e [#10] Make write-region hack more robust 2020-03-18 09:32:51 -06:00
Radon Rosborough
d596a59355 [#10] Surface more errors 2020-03-18 09:32:49 -06:00
Radon Rosborough
2d6d3945a2 [#8] Make sure to reformat correct buffer 2020-03-18 09:09:40 -06:00
Radon Rosborough
8e99a67cc1 Configure brittany for haskell 2020-02-19 22:47:09 -08:00
Kevin Foley
76f0d946e7 Write new-buffer to new-fname (#9)
* apheleia.el: (apheleia--create-rcs-patch): Write to new-fname from
new-buffer instead of writing from a temp buffer
2020-02-09 13:05:32 -08:00
Radon Rosborough
179219e619 [#4] Impose maximum length for DP algorithm 2020-01-02 11:30:45 -07:00
Radon Rosborough
26ddaf3597 Fix bug running Prettier on modified buffer 2019-12-31 10:16:32 -07:00
Radon Rosborough
d56b8afcd3 Fix long line 2019-11-16 21:56:42 -08:00
Radon Rosborough
fab32d51a1 Release version 1.0 2019-09-20 17:12:09 -07:00
Radon Rosborough
e28a264989 Disable automatically for remote files 2019-09-20 17:08:43 -07:00
Radon Rosborough
49568bb166
Merge pull request #7 from terlar/add-terraform-formatter
Add terraform formatter
2019-08-15 17:48:56 -07:00
Terje Larsen
20c5ace107
Add terraform formatter 2019-08-15 23:06:12 +02:00
Akira Komamura
1d76c121ba Set the process coding system 2019-08-15 20:02:28 +09:00
Radon Rosborough
4e9f797210 Remove json-mode from apheleia-mode-alist
It turns out json-mode is actually derived from js-mode, and I prefer
not to put derived modes in the alist. (This is because if you happen
to change the value for a derived mode, and the derived mode comes
later in the alist than the parent mode, then your change won't take
effect.)
2019-07-17 11:26:52 -07:00
Radon Rosborough
903d6b810c Add apheleia-post-format-hook 2019-07-17 11:26:52 -07:00
Radon Rosborough
1258aa6a44 Allow let-binding apheleia-mode to nil 2019-07-15 22:44:22 -07:00
Radon Rosborough
ad5f79f5b3 [#1] Allow passing filename directly to formatter 2019-07-15 22:38:17 -07:00
Radon Rosborough
55ee664caa Backwards compatibility for (buffer-hash) 2019-07-10 22:17:34 -07:00
Radon Rosborough
ece42ec82b Fix error on small buffers 2019-07-10 19:28:53 -07:00
Radon Rosborough
b12fcff9fa Pass file extension to Prettier 2019-07-10 19:21:36 -07:00
Radon Rosborough
405f71143c Prevent infinite recurrence 2019-07-10 19:21:29 -07:00
Radon Rosborough
80bf0874bc Add Makefile and fix problems it found 2019-07-10 19:12:20 -07:00
Radon Rosborough
3cfd8f4ec2 Add user-facing formatter configuration 2019-07-10 19:04:02 -07:00
Radon Rosborough
e6963c2df1 Implement apheleia-format-buffer 2019-07-09 21:15:37 -07:00
Radon Rosborough
b13630ee41 Implement process handling functions 2019-07-09 21:00:20 -07:00
Radon Rosborough
758540c45e Restore scroll position 2019-07-08 22:35:37 -07:00
Radon Rosborough
86753a0e14 Remove debugging statements 2019-07-08 21:58:25 -07:00
Radon Rosborough
1811b0aafe Use hash tables instead of arrays 2019-07-08 21:56:09 -07:00
Radon Rosborough
e5b1f22a9e Use dynamic programming instead of memoization 2019-07-08 21:15:05 -07:00
Radon Rosborough
4feddce644 Refactor and preserve (window) point 2019-07-07 22:30:39 -07:00
Radon Rosborough
ddc1fddd08 Implement RCS patch application 2019-07-07 21:09:12 -07:00
Radon Rosborough
283bd7b774 Implement dynamic-programming string alignment 2019-07-07 18:09:54 -07:00
Radon Rosborough
73c0a3b219 Add Elisp project skeleton 2019-07-07 14:13:57 -07:00