Justin Smestad
8b9d576f2f
Add prettier-ruby ( #49 )
...
Co-authored-by: Radon Rosborough <radon.neon@gmail.com>
2021-10-03 11:18:03 -07:00
Justin Smestad
a1e8462dd3
Elixir support ( #48 )
...
* Add elixir formatter
* Fix format for elixir to use stdout
* Add CHANGELOG entry
2021-10-03 11:10:22 -07:00
Aleksandar Dimitrov
f46d65c179
Fix rustfmt dumping child modules' content into file ( #45 )
...
* Fix rustfmt dumping child modules' content into file
rustfmt by default analyses all files dependent on the current file,
too. The out put of --emit stdout contain all child modules. Apheleia
would happily dump that into the currently edited buffer (even though
the content came from another file.)
The unstable option --skip-children prevents that. It's as yet
untested! I've only made a couple of quick sanity checks.
* Fix long line
2021-10-03 11:09:38 -07:00
Radon Rosborough
92c0fce6b4
[ #16 ] Address package-lint issue
2021-09-26 12:16:04 -07:00
PrimaryCanary
8e022c67fe
[DRAFT] More formatters ( #24 )
...
* Add Rust formatter rustfmt.
* Add LaTeX formatter latexindent.
There's a lot of LaTeX modes. I'm not sure how to distinguish them.
* Alphabetize apheleia-formatters and apheleia-mode-alist.
Alphabetizing them makes it easier to find which formatters are
supported.
* Add Java formatter with google-java-format.
* Add C and C++ formatter with clang-format.
* Update changelog
Co-authored-by: Radon Rosborough <radon.neon@gmail.com>
2021-08-08 06:07:08 -07:00
Matthew Avant
52e0a140a8
Update apheleia-formatters type spec to avoid customize-variable error ( #40 )
...
* Update apheleia-formatters type spec to avoid customize-variable error
Declare all of the permitted special symbols used in apheleia-formatters commands.
Without this, 'customize-variable never allows settting the value of apheleia-formatters, instead reporting an error about a mismatch between the default value and the type.
* Update CHANGELOG.md
* Break long line
* Update CHANGELOG.md
* Update CHANGELOG.md
* Create CHANGELOG.md
Co-authored-by: Radon Rosborough <radon.neon@gmail.com>
2021-07-22 19:16:42 -07:00
Radon Rosborough
f865c165da
Avoid triggering after-set-visited-file-name-hook
...
This was causing LSP to reconnect every time I saved.
2021-05-23 15:00:07 -07:00
Radon Rosborough
876078f473
Remove unneeded check
2021-04-04 11:10:01 -07:00
Radon Rosborough
c364677f8e
Use more stable tags
2021-04-04 10:59:18 -07:00
Radon Rosborough
230faa8942
Update 26.2 => 26.3
2021-04-04 10:52:48 -07:00
Radon Rosborough
30f5c13b8a
Only build latest major versions
...
https://github.com/Silex/docker-emacs/issues/62
2021-04-04 10:48:26 -07:00
Radon Rosborough
64cb9e7d70
[ #39 ] Don't mess up temporary buffers
2021-03-28 15:26:16 -07:00
Radon Rosborough
87115f5cda
Revert "[ #30 ] Run formatters in project root"
...
This reverts commit 66777303dc
.
See https://github.com/raxod502/apheleia/issues/36 ,
https://github.com/raxod502/apheleia/pull/37 for discussion.
2021-03-14 13:31:23 -07:00
Radon Rosborough
b4975ca1bb
Merge tag 'v1.1.2'
2021-02-26 22:04:53 -08:00
Radon Rosborough
53ac964e53
Release version 1.1.2
2021-02-26 22:04:05 -08:00
Radon Rosborough
02368ee1c7
[ raxod502/selectrum#437 ] Use default outline-regexp
2021-02-25 20:16:50 -08:00
Radon Rosborough
f487ef185c
Fix build for emacs-master
2021-02-20 09:37:36 -08:00
Radon Rosborough
f40300b9b5
[ #32 ] Update changelog
2021-02-20 09:37:29 -08:00
Leo Gaskin
1e95db3f81
Fix spelling error in buffer name ( #32 )
2021-02-20 09:36:28 -08:00
Radon Rosborough
66777303dc
[ #30 ] Run formatters in project root
2021-02-18 20:06:50 -08:00
Albert Peschar
1ee7f3bc79
Fix infinite loop with rebinding after-save-hook ( fixes #27 ) ( #28 )
...
* Fix infinite loop with rebinding after-save-hook (fixes #27 )
* Satisfy linter
* Add docstring for new var
* Update changelog
* apheleia-format-buffer is asynchronous
* Update apheleia.el
Co-authored-by: Radon Rosborough <radon.neon@gmail.com>
2021-02-07 08:50:31 -08:00
Radon Rosborough
8a1e68441c
Enable Prettier in json-mode
2020-11-07 07:04:41 -08:00
Radon Rosborough
23ee6b5b4d
[ #21 ] Bugfix for 'filepath option
2020-11-07 04:38:39 -08:00
Radon Rosborough
3be4b486dc
[ #21 ] Make Prettier respect .prettierignore
2020-10-17 08:29:21 -07:00
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