Commit graph

265 commits

Author SHA1 Message Date
Radon Rosborough
38488e0ef9 Use neutral language 2020-09-22 06:30:42 -07:00
Radon Rosborough
80e1b09dda Revert "Work around 2^16 buffer char limit"
Unfortunately, we need to address the problem more fundamentally. The
previous fix causes the end of the buffer to be truncated under some
circumstances.

This reverts commit c77a781912.
2020-08-23 14:38:45 -06:00
Radon Rosborough
c77a781912 Work around 2^16 buffer char limit 2020-08-23 13:09:43 -06:00
Radon Rosborough
6aff83d5ac Release version 1.1.1 2020-07-16 08:26:51 -06:00
Brian Leung
9cf703544d
Add ocamlformat (#19) 2020-07-12 09:31:43 -06:00
Radon Rosborough
6bd6967179 Revert "[#15] Attempt to stop wrecking undo history"
This reverts commit 621351bade. It made
it impossible to undo reformatting operations.
2020-05-26 14:37:17 -06:00
Radon Rosborough
621351bade [#15] Attempt to stop wrecking undo history 2020-05-25 10:58:49 -06:00
Radon Rosborough
3e342632b8 [#14] Explain how to modify alist 2020-05-10 10:32:04 -06:00
Radon Rosborough
bd61b7204d Link to contributor guide 2020-05-03 08:30:02 -06:00
Radon Rosborough
91df7b9d19 Add SPDX license identifier 2020-04-04 09:50:44 -06:00
Radon Rosborough
fe798e8824 Merge branch release 1.1 2020-04-02 08:58:41 -06:00
Radon Rosborough
c51a63a23e Release version 1.1 2020-04-02 08:54:06 -06:00
Radon Rosborough
d1eb2d200f Backport missing CHANGELOG entries 2020-04-02 08:53:31 -06:00
Radon Rosborough
1d8d42d063 Alphabetize 2020-03-31 08:16:58 -06:00
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
3d552d925c Add pull request template 2020-03-19 08:22:03 -06:00
Radon Rosborough
58c850d1a6 Update changelog 2020-03-19 08:21:49 -06:00
Radon Rosborough
707930e247 Document apheleia-max-alignment-size 2020-03-19 08:21:18 -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
737b51a651 Set 'make lint' as default compile-command 2019-12-31 10:19:43 -07:00
Radon Rosborough
26ddaf3597 Fix bug running Prettier on modified buffer 2019-12-31 10:16:32 -07:00
Radon Rosborough
61f9335756 Fix Makefile 2019-11-16 22:05:28 -08:00
Radon Rosborough
68d8755333 Migrate from Semaphore CI to CircleCI 2019-11-16 22:01:04 -08: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
Radon Rosborough
d441280235
Merge pull request #5 from akirak/coding-system
Set the process coding system based on buffer-file-coding-system
2019-08-15 08:23:47 -07: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
f2ae6c7f29 Add basic documentation 2019-07-10 22:50:08 -07:00
Radon Rosborough
1d7eb306cf Shorten line 2019-07-10 22:50:01 -07:00
Radon Rosborough
55ee664caa Backwards compatibility for (buffer-hash) 2019-07-10 22:17:34 -07:00
Radon Rosborough
ef86b0c4a3 Fix really weird Makefile error 2019-07-10 22:17:26 -07:00
Radon Rosborough
9ed9d2760d Add Docker and improve Makefile 2019-07-10 22:06:18 -07:00
Radon Rosborough
99e24051b8 Use bash instead of sh 2019-07-10 22:06:09 -07:00
Radon Rosborough
6765e7f7b3 Configure Semaphore CI 2019-07-10 21:42: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