Commit graph

4201 commits

Author SHA1 Message Date
Henrik Lissner
36d18d6da5
fix(cc): enable lsp in cuda-mode
Fix: #7576
2023-12-02 11:34:10 -05:00
Henrik Lissner
5b9da18bc1
fix(csharp): enable lsp in csharp-tree-sitter-mode
Fix: #7541
2023-12-02 11:34:10 -05:00
Henrik Lissner
b1d8d1cd9f
nit: reformatting, comment, and markup revision 2023-12-02 11:34:10 -05:00
Henrik Lissner
f8274f208c
bump: :lang org
aimebertrand/org-mac-link@3a30a937e1 -> aimebertrand/org-mac-link@e30171a6e9
alf/ob-restclient.el@ded3b7eb7b -> alf/ob-restclient.el@1a127eb016
awth13/org-appear@eb9f9db40a -> awth13/org-appear@81eba5d7a5
bastibe/org-journal@18df4d5ae5 -> bastibe/org-journal@a306f76ee2
emacs-jupyter/jupyter@1baabc8f2d -> emacs-jupyter/jupyter@0a92c0c978
emacs-straight/org-mode@e90a8a69a7 -> emacs-straight/org-mode@57b94f3447
emacsmirror/org-contrib@dc59cdd46b -> emacsmirror/org-contrib@79286861ae
hakimel/reveal.js@07a6cf1249 -> hakimel/reveal.js@d5896c968b
magit/orgit-forge@8ba92a54ae -> magit/orgit-forge@f595a30aa7
magit/orgit@4a58502987 -> magit/orgit@b60efabc4a
oer/org-re-reveal@93396b531b -> oer/org-re-reveal@e7895dae98
org-noter/org-noter@ab838691f0 -> org-noter/org-noter@a4296d8338

Ref: bastibe/org-journal#415
Close: #7506
Fix: #7545
Co-authored-by: SeanMaclochlainn <SeanMaclochlainn@users.noreply.github.com>
2023-12-02 11:34:10 -05:00
Henrik Lissner
c7ddbe049f
fix(swift): set-eglot-client!: extra argument
And move setter out of condition (it will no-op if :tools lsp +eglot
isn't enabled). Plus, it should be configured even when +lsp isn't
enabled for :lang swift.

Amend: #7567
Close: #7577
Co-authored-by: ncihnegn <ncihnegn@users.noreply.github.com>
2023-12-02 11:34:10 -05:00
Henrik Lissner
6ca6bf0935
bump: :lang haskell
emacs-lsp/lsp-haskell@918ffa2516 -> emacs-lsp/lsp-haskell@89d1637043
haskell/haskell-mode@3e146c1a89 -> haskell/haskell-mode@79eaf444a7

- (#7569) Fixes flymake-proc load error.

Fix: #7569
Close: #7574
Co-authored-by: PatrickNorton <PatrickNorton@users.noreply.github.com>
2023-11-29 23:13:55 -05:00
Henrik Lissner
87f6f7ab91
bump: :lang scheme
emacs-geiser/chez@246ec4c8bc -> emacs-geiser/chez@605a81ff7b
emacs-geiser/geiser@e54d5e6dc6 -> emacs-geiser/geiser@49d12a1448
emacs-geiser/guile@24ce15de23 -> emacs-geiser/guile@ee33af6b4e
flatwhatson/flycheck-guile@e23a4d7813 -> flatwhatson/flycheck-guile@dd7bbdc48f
flatwhatson/scheme-mode@aaef1f88cc -> flatwhatson/scheme-mode@51e586e5f1

- Lazy autoloads hack for geiser is no longer needed (see
  47bb86d682)
- (#7472) Fixes geiser-activate-implementation errors from `doom doctor`

Fix: #7472
Ref: 47bb86d682
2023-11-29 13:41:23 -05:00
Tim Ruffing
f4e02a2d39 fix(org): don't call org-reveal in dead buffer
This fixes a bug introduced in bb3431a (#7509). This shows up for
example in `org-capture`, which uses multiple org buffers and the
initial one (with name `*Capture*`) will be dead already by the time the
timer runs.

Amend: #7509
2023-11-29 11:30:20 -05:00
Maoli
c2818bcfaa fix(latex): avoid stealing focus after compilation
Current LaTeX module uses `TeX-command-run-all` for compilation, which
by default opens the compiled document in a viewer. This behavior causes
a loss of focus from the Emacs window. We address this by adding a
custom compilation function.
2023-11-27 21:35:55 -05:00
Patrick Norton
9c3d1951e3
fix(swift): don't load lsp-sourcekit with eglot
The `use-package!` declaration for lsp-sourcekit in `config.el` did not
match the `package!` declaration in `packages.el`: this resulted in
`lsp-sourcekit` being loaded but never installed. The removal of this
package also resulted in there no longer being a proper LSP client with
eglot--this has also been fixed.
2023-11-27 21:08:36 -05:00
Ellis Kenyo
fbf7e86b8e docs(clojure): clarify optional deps & add enrich-classpath note 2023-11-25 23:04:53 -05:00
Ellis Kenyo
45f86d9459 bump: :lang clojure
babashka/neil@1dbac785ce -> babashka/neil@40993873bb
clojure-emacs/cider@1ed5163433 -> clojure-emacs/cider@120fd885d3
clojure-emacs/clj-refactor.el@b5abe655e5 -> clojure-emacs/clj-refactor.el@0a2a6cbc2e
clojure-emacs/clojure-mode@3453cd229b -> clojure-emacs/clojure-mode@25d713a67d
clojure-emacs/parseclj@4d0e780e00 -> clojure-emacs/parseclj@74ff7d63fe
clojure-emacs/parseedn@a09686fbb9 -> clojure-emacs/parseedn@c8f07926a6
ericdallo/jet.el@f007660c56 -> ericdallo/jet.el@7d5157aac6

Closes #7515
2023-11-25 23:04:53 -05:00
Nikita Bloshchanevich
7d5ceff5ec fix(plantuml): flycheck: executable support
The flycheck-plantuml is by default configured to always run plantuml
via "java". This only works with a downloaded plantuml. However, I would
prefer to have plantuml installed via my package manager (fedora/dnf).

A locally installed PlantUML executable is already detected by default
for normal use (export/preview), we can also use it for flycheck.

If plantuml is downloaded using plantuml-download-jar, this jar is still
used by default (see setq plantuml-exec-mode), so this should not affect
previous setups.
2023-11-24 11:06:34 -05:00
Jonas Jelten
7fb69fac64
bump: :lang markdown
jrblevin/markdown-mode@c765b73b37 -> jrblevin/markdown-mode@b1a862f016

- The workaround introduced aad7bc521f addressed an issue that was
  fixed upstream (jrblevin/markdown-mode@44f0e89534).

Ref: jrblevin/markdown-mode#578
Revert: aad7bc521f
2023-11-24 11:05:30 -05:00
Leo Okawa Ericson
31b2ad22fb
fix(org): call org-reveal in correct buffer
Sometimes, `org-reveal` is called in the wrong buffer which throws an
error.  For example, `org-link-open-from-string` creates an temporary
org-mode buffer that gets killed very quickly which means that
`org-reveal` gets called in a different buffer.  I have also had issues
with org-reveal getting called in the org-roam buffer, which is why this
commit also saves the buffer it was called in.

Co-authored-by: Leo Okawa Ericson <git@relevant-information.com>
2023-11-23 21:21:08 -05:00
Henrik Lissner
13fa55da82
bump: :lang java
Groovy-Emacs-Modes/groovy-emacs-modes@c612ac1e9f -> Groovy-Emacs-Modes/groovy-emacs-modes@7b8520b2e2
emacs-lsp/lsp-java@dbe448a886 -> emacs-lsp/lsp-java@449673da72
mopemope/meghanada-emacs@59c46cabb7 -> mopemope/meghanada-emacs@fb29746e44

Co-authored-by: aveseli <aveseli@users.noreply.github.com>
Close: #7554
2023-11-23 18:32:35 -05:00
Henrik Lissner
9be60fba43
bump: :lang scala
emacs-lsp/lsp-metals@a2df7263ec -> emacs-lsp/lsp-metals@da7e54ed65

- (#7475) lsp-metals moved on from treemacs-extensions (obsolete) to
  treemacs-treelib.

Co-authored-by: prashantvithani <prashantvithani@users.noreply.github.com>
Close: #7475
2023-11-23 18:32:35 -05:00
arnfaldur
bd9aef928c
fix(rust): make cargo popups consistent
When invoking `rustic-cargo-run` a buffer called `*cargo-run*` is
opened. This adds a rule such that this buffer opens in a popup window
that is the same as the popup windows for other rustic cargo commands.

Ref: #2623
2023-10-06 22:36:59 +02:00
terru
da99d39e4d
docs(nix): mention +lsp flag
Ref: #6592
2023-10-05 17:45:50 +02:00
Liam Hupfer
1e1e6150d8 fix(data): correct XML closing tag insertion
`nxml-slash-auto-complete-flag` inserts the rest of the closing tag when
`</` is inserted, but smartparens also defines `(sp-local-pair "<" ">")`
for `sp--html-modes`, so two `>` are inserted for closing tags. Apply
the upstream developer’s suggested fix.

Fix: https://github.com/doomemacs/doomemacs/issues/6331
Ref: https://github.com/Fuco1/smartparens/issues/397
2023-10-05 17:43:19 +02:00
Pieter-Jan Vandenbussche
8eebab4f97 fix(ocaml): add dune-project to ocaml projectile root files 2023-10-05 17:42:24 +02:00
Vitaly Slobodin
844a82c4a0 bump: :lang ruby
pd/yard-mode.el@ef3426ff55 -> pd/yard-mode.el@de1701753a
nonsequitur/inf-ruby@6f1df882ab -> nonsequitur/inf-ruby@03475ac1cc
dgutov/robe@b9d5ab549f -> dgutov/robe@912ae2ba1f
pezra/rspec-mode@62853a428b -> pezra/rspec-mode@29df3d081c
2023-09-22 23:18:31 +02:00
mosquito-magnet
db29f71f10 fix(org): add missing autoloads for org-attach
org-attach-delete-one and -all are bound to keys, thus requiring
autoload.
2023-09-22 23:17:43 +02:00
Henrik Lissner
3983fba5b5
perf(zig): quote flycheck-define-checker
Eager expansion of the flycheck-define-checker macro causes flycheck to
be unavoidably eager-loaded at startup, regardless of other deferral
techniques, slowing down startup considerably, as it pulls in a number
of associated packages/config with it.
2023-09-20 21:01:55 +02:00
Henrik Lissner
1baea0c4c2
feat(beancount): add +beancount/occur command
Inspired by org-occur (or org-sparse-tree): hides all
transactions/directives in the buffer that don't involve a selected
account.
2023-09-20 20:24:00 +02:00
Henrik Lissner
c5e387f7b4
fix(beancount): previous-transaction: jump-to-start behavior
To match +beancount/previous-transaction's docstring: this command
should jump to the start of the transaction/directive at point first,
before jumping to the previous one. Now it does so.

It should also return nil if it fails.
2023-09-20 20:24:00 +02:00
Henrik Lissner
36651d6e66
tweak(beancount): include directives for next/prev transaction
+beancount/next-transaction and +beancount/previous-transaction would
formerly skip timestampped directives, e.g.

  2016-09-15 * "Foo" ""
    Expenses:Y                                  779.00 DKK
    Assets:X:Checkings
  2016-11-16 balance Assets:X:Checkings         8,417.58 DKK
  2016-12-13 * "Bar" ""
    Assets:X:Checkings                          2,100.00 DKK
    Income:Z

The `balance` directive would be skipped over. This commit changes that
to include them. Perhaps the commands should be renamed to
+beancount/{next,previous}-entry to better reflect my intended purpose
for them?
2023-09-20 20:24:00 +02:00
Henrik Lissner
96e6b72be6
nit(beancount): revise docstrings & sharp-quotes functions 2023-09-20 20:23:59 +02:00
Henrik Lissner
7266c11366
fix(swift): activate lsp! on +lsp
Close: #7441
Co-authored-by: itome <itome@users.noreply.github.com>
2023-09-20 20:23:59 +02:00
Henrik Lissner
fed0f49ca7
fix(dart,scala,swift,treemacs): ignore lsp-* packages for eglot
Close: #7441
Co-authored-by: itome <itome@users.noreply.github.com>
2023-09-20 20:23:59 +02:00
Liam Hupfer
2279a42c50 fix(org): address fancy links regressions
- several all-the-icons references were missed, and some code points are
  different in nerd-fonts. the variable icon became a folder, the
  package icon became a scissors, and the file-icons font icon is not
  available
- make face link type face passthrough work
- remove extraneous rear-nonsticky and height properties that nerd-icons
  already sets
- generally improve consistency across link types
  - material design icons, underlines, and font lock faces for symbols,
    shadow if unbound
  - octicons for packages, modules, and executables, blue links if
    installed, shadow if not. color coded icon based on status
  - refactor and remove extraneous code
2023-09-20 20:23:26 +02:00
Liam Hupfer
c3342a8011 nit(org): make activate function suffixes consistent 2023-09-20 20:23:26 +02:00
Liam Hupfer
54c67acf2a nit(org): use consistent link follow function names
Looks like the doom-module one was partially renamed to follow naming
conventions, and that didn’t propagate to the corresponding doom-package
function.
2023-09-20 20:23:26 +02:00
Liam Hupfer
f369b48b2a fix(org): use correct doom-module link follow function 2023-09-20 20:23:26 +02:00
Henrik Lissner
0f663d007b
docs(evil,latex,vterm,treemacs): correct notices
Use the correct symbol for warnings.

Amend: 88bb045388
2023-09-17 03:27:49 +02:00
Henrik Lissner
5f3a667400
bump: :lang cc
Andersbakken/rtags@9e442e5b30 -> Andersbakken/rtags@ee1ab7b9a6
emacs-lsp/emacs-ccls@29d231590f -> emacs-lsp/emacs-ccls@dd33da8ed7
emacsmirror/cmake-mode@6ce5633144 -> emacsmirror/cmake-mode@f9c7a21254
jart/disaster@0c13bd244c -> jart/disaster@16bba9afb9

- emacsmirror/cmake-mode@6ce5633144 was an orphaned commit.

Fix: #7434
2023-09-17 03:17:12 +02:00
Henrik Lissner
41de7d9d01
bump: :lang org
TobiasZawada/org-yt@158e20204c -> TobiasZawada/org-yt@56166f48e0
emacs-straight/org-mode@d6f3aed7b1 -> emacs-straight/org-mode@e90a8a69a7
emacsmirror/org-contrib@4ac1a280c7 -> emacsmirror/org-contrib@dc59cdd46b
fuxialexander/org-pdftools@967f48fb50 -> fuxialexander/org-pdftools@4e420233a1
hakimel/reveal.js@12f5ba4c9d -> hakimel/reveal.js@07a6cf1249
oer/org-re-reveal@5929850199 -> oer/org-re-reveal@93396b531b
org-noter/org-noter@f9710c9768 -> org-noter/org-noter@ab838691f0
snosov1/toc-org@bf2e4b358e -> snosov1/toc-org@6d3ae0fc47
takaxp/org-tree-slide@97273dbb17 -> takaxp/org-tree-slide@e2599a106a

- Fixes package download errors while installing
  emacsmirror/org-contrib@4ac1a280c7, which is an orphaned commit.
2023-09-16 20:35:31 +02:00
Henrik Lissner
88bb045388
docs(*): replace all-the-icons with nerd-icons
Also colorizes the leading icon in notices.
2023-09-16 20:19:11 +02:00
Henrik Lissner
ae8c5cfdde
fix(org): org-roam-node-display-template: strip :box from org-tag
The :box causes tremendous slowdown when displayed in the minibuffer.

Fix: #7432
2023-09-16 17:02:16 +02:00
Patrick Norton
34f583d396 fix(ocaml): Prevent clobbering +format-with globally
Previously, loading the `ocaml` module and opening a file in Tuareg mode
would result in every buffer having its formatter set to `ocp-indent`.
This now restricts the formatter override to the current buffer.
2023-09-16 05:29:06 +02:00
Ellis Kenyo
e47accb773 fix(modeline): update icons for +light 2023-09-15 01:51:09 +02:00
Zero King
928e5640c5 feat(lua): enable rainbow-delimiters in fennel-mode
Fennel's syntax is based on Lisp. It's easier to see matching
parentheses with rainbow delimiters.
2023-09-14 14:58:55 +02:00
Ian Kerins
5efec260ef fix(format): use correct lisp format function
`apheleia--indent-lisp-buffer` does not exist.

Ref: #6369
2023-09-14 03:31:56 +02:00
Henrik Lissner
a234d8e9c0
merge: pull request #6369 from elken/feature/editor-format-refactor 2023-09-14 01:19:01 +02:00
Ellis Kenyő
9787022b83
refactor!: replace all-the-icons with nerd-icons
BREAKING CHANGE: This commit replaces all-the-icons with nerd-fonts. Any
all-the-icons-* function calls or variable references in your private
config will break and should be replaced with their nerd-icons-*
equivalent. That said, Doom will continue to install all-the-icons for
a while, so feel free to load it if you don't want to fully commit to
the change yet.

This change is happening because nerd-icon has wider support for GUI and
TUI Emacs; has a larger, more consistent selection of symbols; plus unicode
coverage.

Fix: #7368
Close: #6675
Close: #7364
2023-09-14 01:03:55 +02:00
Ellis Kenyo
23a39b0a14
fix(clojure): remove executable-find formatter check 2023-09-13 20:21:08 +01:00
Ellis Kenyo
f67f391443
fix(common-lisp): amend sly-compat hook 2023-09-13 20:21:08 +01:00
Ellis Kenyo
bc58da7c78
fix(zig): correct doctor check 2023-09-13 20:21:08 +01:00
Ellis Kenyo
79172239a7
fix(clojure): prefer cljfmt now it supports STDIN 2023-09-13 20:21:08 +01:00
Ellis Kenyő
e852bbcf6c
docs(yaml): add formatter docs 2023-09-13 20:21:07 +01:00