Commit graph

11756 commits

Author SHA1 Message Date
Ellis Kenyő
cc9bda36c2
fix(cc): remove executable-find formatter check 2023-09-13 20:21:03 +01:00
Ellis Kenyő
26819c33f3
docs(fsharp): add formatter docs 2023-09-13 20:21:02 +01:00
Ellis Kenyő
ca38e5a9a5
feat(format): add :lang fsharp formatter 2023-09-13 20:21:02 +01:00
Ellis Kenyő
d2f3190766
docs(fortran): add formatter docs 2023-09-13 20:21:02 +01:00
Ellis Kenyő
508765002b
docs(erlang): add formatter docs 2023-09-13 20:21:02 +01:00
Ellis Kenyő
0a79b40443
docs(emacs-lisp): add formatter docs 2023-09-13 20:21:02 +01:00
Ellis Kenyő
659b6ff6dd
docs(elm): add formatter docs 2023-09-13 20:21:02 +01:00
Ellis Kenyő
e4faa8f2a4
docs(elixir): add formatter docs 2023-09-13 20:21:02 +01:00
Ellis Kenyő
d38489b02d
docs(dart): add formatter docs 2023-09-13 20:21:02 +01:00
Ellis Kenyő
274b6e2d4d
docs(csharp): add formatter docs 2023-09-13 20:21:02 +01:00
Ellis Kenyő
ebfc190559
docs(crystal): add formatter docs 2023-09-13 20:21:01 +01:00
Ellis Kenyő
d8dcac6908
docs(common-lisp): add formatter docs 2023-09-13 20:21:01 +01:00
Ellis Kenyo
be26181d4f
docs(clojure): add formatter docs 2023-09-13 20:21:01 +01:00
Ellis Kenyő
c9d9051ef9
docs(cc): Add formatter docs 2023-09-13 20:21:01 +01:00
Ellis Kenyő
9093f986dc
docs(beancount): Add formatter docs 2023-09-13 20:21:01 +01:00
Ellis Kenyő
dc3b5c3710
fix(format): handle git-gutter nicely 2023-09-13 20:21:01 +01:00
Ellis Kenyő
7e15504163
feat(format): add :tools docker formatter 2023-09-13 20:21:01 +01:00
Ellis Kenyő
c7794ba06c
feat(format): add :lang zig formatter 2023-09-13 20:21:01 +01:00
Ellis Kenyő
c2980d1d7b
feat(format): add :lang swift formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyő
7b46177d19
feat(format): add :lang sml formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyő
d8dc579fcb
feat(format): add :lang scheme formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyo
3c96f33cb8
feat(format): add :lang scala formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyo
caa6b2bb3b
feat(format): add :lang rst formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyő
7bdf8802a5
feat(format): add :lang racket formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyő
d1697cb4d9
feat(format): add :lang purescript formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyő
5cbc7a0258
feat(format): add :lang nim formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyő
856d365f2f
feat(format): add :lang hy formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyő
efd5ee00ea
feat(format): add :lang fortran formatter 2023-09-13 20:20:59 +01:00
Ellis Kenyő
12c901cf28
feat(format): add :lang gdscript formatter 2023-09-13 20:20:59 +01:00
Ellis Kenyő
a9b4f6e219
feat(format): add :lang erlang formatter 2023-09-13 20:20:59 +01:00
Ellis Kenyő
f80f52ba4f
feat(format): add :lang data formatter 2023-09-13 20:20:59 +01:00
Ellis Kenyő
53fe5df6b5
feat(format): add :lang csharp formatter 2023-09-13 20:20:59 +01:00
Ellis Kenyő
078bf0dd2e
feat(format): add :lang crystal formatter 2023-09-13 20:20:59 +01:00
Ellis Kenyő
4d51e46c9f
feat(format): add :lang common-lisp formatter 2023-09-13 20:20:59 +01:00
Ellis Kenyő
9a7eae77c8
feat(format): add :lang clojure formatter 2023-09-13 20:20:59 +01:00
Ellis Kenyő
bfb963f2f3
feat(format): add :lang cc formatter 2023-09-13 20:20:58 +01:00
Ellis Kenyő
cd79edf134
feat(format): add :lang emacs-lisp formatter
Introduce a formatter function for emacs-lisp (tracked upstream here
[1]) that tries to preserve as much of what the user wants as possible

[1]: https://github.com/radian-software/apheleia/pull/102
2023-09-13 20:20:58 +01:00
Ellis Kenyő
3aa9796b84
fix(format): resolve list expansion issues
The argument list was being expanded incorrectly, this should now be resolved.
2023-09-13 20:20:58 +01:00
Ellis Kenyő
115bfc52a2
fix(format): correctly adjust shfmt 2023-09-13 20:20:58 +01:00
Ellis Kenyő
4ecd616cd8
refactor(format): replace with apheleia
Initial refactor of format module to replace format-all with apheleia
2023-09-13 20:19:59 +01:00
Henrik Lissner
a44e8d6bfd
nit: general reformatting & minor comment revision 2023-09-11 23:56:21 +02:00
Henrik Lissner
d8372b6e2d
fix(popup): +popup/raise: recursive popup
Without this, raising a popup might result in simply opening a popup
with the same rules.
2023-09-11 23:53:59 +02:00
Henrik Lissner
f427c8a30e
tweak: scroll-conservatively = 10
Forces the window to recenter if the cursor moves >=10 lines off-screen.
This makes some of our manual recentering elsewhere unnecessary.
2023-09-11 23:53:36 +02:00
Henrik Lissner
c1b0326ce7
bump: :core
Fanael/rainbow-delimiters@a32b39bdfe -> Fanael/rainbow-delimiters@f40ece58df
Wilfred/helpful@c57ff0d284 -> Wilfred/helpful@66ba816b26
domtronn/all-the-icons.el@f491f39c21 -> domtronn/all-the-icons.el@be9d5dcda9
emacs-compat/compat@75d0b8527f -> emacs-compat/compat@ecf53005ab
emacs-straight/project@6c41ad68ed -> emacs-straight/project@ce140cdb70
joddie/pcre2el@b941ed8a96 -> joddie/pcre2el@018531ba0c
jscheid/dtrt-indent@be07f4979a -> jscheid/dtrt-indent@e0630f74f9
justbur/emacs-which-key@df6b0cb844 -> justbur/emacs-which-key@4d20bc8525
2023-09-11 23:53:01 +02:00
Henrik Lissner
d8e16db605
fix(emacs-lisp): Doom API demos in help(ful) docs
Due to cd26975, `with-file-contents!` leaves the cursor at point-min,
not point-max, so this `re-search-backward` call would never find its
mark. Now, the elisp demos for Doom functions/macros should show up
again in helpful-*/describe-* buffers.

Amend: cd269753cf
2023-09-10 05:13:37 +02:00
Henrik Lissner
bef076b655
bump: :editor evil
emacs-evil/evil@9eb69b7f5b -> emacs-evil/evil@5fc16776c5
emacs-evil/evil-collection@1ad283f5b7 -> emacs-evil/evil-collection@8be4b75c86

- Fixes breaking change due to emacs-mirror/emacs@802a54ad62 (see
  #7397).

Ref: debbugs.gnu.org/cgi/bugreport.cgi?bug=62248
Close: #7397
Co-authored-by: prashantvithani <prashantvithani@users.noreply.github.com>
2023-09-09 23:59:22 +02:00
Amos Bird
ca9f84d664
fix(evil): add evil-embrace support for c++-ts-mode
In emacs-29, native tree-sitter adds new major modes for the C++
language, named c++-ts-mode. As a result, hooks in c++-mode will not
run. This commit adds the angle bracket fix hook for c++-ts-mode.
2023-09-09 23:59:06 +02:00
Colin Woodbury
3a01faed49 feat(fortran): SPC m f o opens project config 2023-09-09 23:58:22 +02:00
Henrik Lissner
56187fc35a
merge: pull request #7359 from theschmocker/snippet-command-fixes-and-enhancements 2023-09-08 23:24:48 +02:00
Lorenzo Ravaglia
25602409b6
refactor(file-templates): c++-mode/__main.cpp: modernize
- Drops `using namespace std`: a known anti-pattern which imports a
  massive namespace into the global namespace. See
  https://stackoverflow.com/questions/1452721/why-is-using-namespace-std-considered-bad-practice
- Modernizes/generalizes `main`'s signature with a trailing return
  type (C++11)

Ref: https://stackoverflow.com/questions/1452721/why-is-using-namespace-std-considered-bad-practice
Close: #7387
2023-09-07 20:22:58 +02:00