Commit graph

1475 commits

Author SHA1 Message Date
Henrik Lissner
34b89c79ed
bump: :tools
Olivia5k/makefile-executor.el@d0a34c355f -> Olivia5k/makefile-executor.el@170d14d834
andras-simonyi/citeproc-el@e705911a29 -> andras-simonyi/citeproc-el@2623043b25
cjohansson/emacs-ssh-deploy@9311f9b4f8 -> cjohansson/emacs-ssh-deploy@94b56c0428
dash-docs-el/counsel-dash@370d5f6f14 -> dash-docs-el/counsel-dash@8decb980f1
editorconfig/editorconfig-emacs@1f6f16c24f -> editorconfig/editorconfig-emacs@6f6b5c1a95
emacs-citar/citar-org-roam@27105d0a95 -> emacs-citar/citar-org-roam@86e9861a49
emacs-citar/citar@4a302fcc40 -> emacs-citar/citar@5dac3d5bf2
emacs-straight/rainbow-mode@55a8c15782 -> emacs-straight/rainbow-mode@8e96388fb4
emacsfodder/kurecolor@d17a77d921 -> emacsfodder/kurecolor@ac67ceba85
emacsorphanage/quickrun@314beae43c -> emacsorphanage/quickrun@7a89313c07
emacsorphanage/terraform-mode@e560caaa9d -> emacsorphanage/terraform-mode@39d2fd5bfc
jacktasia/dumb-jump@1dd583011f -> jacktasia/dumb-jump@0a783d1db6
millejoh/emacs-ipython-notebook@7b9b14435c -> millejoh/emacs-ipython-notebook@b2410dc96f
tkf/emacs-request@38ed1d2e64 -> tkf/emacs-request@01e338c335
tmalsburg/helm-bibtex@78f5931e1c -> tmalsburg/helm-bibtex@8ebf50d5bd
vedang/pdf-tools@bb0b71f5ba -> vedang/pdf-tools@bc2ba117e8
xuchunyang/osx-dictionary.el@1a4479d9f4 -> xuchunyang/osx-dictionary.el@0715e5a3ac
yoshiki/yaml-mode@535273d5a1 -> yoshiki/yaml-mode@3fcb36d603
zx2c4/password-store@c4d8a1d815 -> zx2c4/password-store@26d2dae04b
2023-02-21 19:34:02 -05:00
Henrik Lissner
25611707ed
refactor(lsp): switch to flycheck-eglot package
We no longer need to maintain our own juryrigged version of this
functionality.
2023-02-21 03:30:51 -05:00
Henrik Lissner
883a3fa3e6
fix(csharp): tree-sitter syntax highlight & indent
* modules/tools/tree-sitter/packages.el (tree-sitter-indent): added this
  package so other modules can opt into using it.

Close: #6829
Co-authored-by: dradetsky <dradetsky@users.noreply.github.com>
2023-02-21 00:46:07 -05:00
Henrik Lissner
7260725313
refactor: move compat package to core
This package is cropping up in packages everywhere. Managing it has been
a source of issues, so I'm making it a core package until v3, where
we'll be able to pin packages without explicitly installing them.
2023-02-20 19:01:38 -05:00
Henrik Lissner
e8f67aa2e8
bump: :tools debugger lsp
emacs-lsp/dap-mode@2879578abf -> emacs-lsp/dap-mode@39bfaf1a34
mohkale/consult-eglot@0da8801dd8 -> mohkale/consult-eglot@6504ccd2b7

Close: #7070
2023-02-18 15:27:48 -05:00
Henrik Lissner
d41cf4e518
bump: :tools docker
Silex/docker.el@44f0bbec9b -> Silex/docker.el@cc0046e6a5
spotify/dockerfile-mode@b63a3d12b7 -> spotify/dockerfile-mode@52c6c00da1

- (#6986) Removes the docker-tramp package, which has been replaced with
  tramp-container in Emacs 29+.

Close: #6986
2023-02-18 15:27:48 -05:00
Henrik Lissner
ddb0740f90
bump: :tools direnv
purcell/envrc@7f36664fc6 -> purcell/envrc@1954e8c0b5

Upstream introduced a new envrc-direnv-executable variable, which we'll
now use.

* modules/tools/direnv/config.el (+direnv--fail-gracefully-a): use new
  envrc-direnv-executable, and abort envrc-global-mode once, at startup,
  rather than every time envrc-mode is activated.

Close: #7046
2023-02-18 15:27:48 -05:00
Henrik Lissner
7a2a5afb97
refactor!(magit): remove magit-gitflow
BREAKING CHANGE: This commit removes the magit-gitflow package because:

- It is not considered a "universal" default. I.e. The majority of git
  users do not know of or use it, much less need it.
- The elisp configuration for it is trivial. It doesn't warrant
  Doom-specific support for it and is trivial enough for end-users to
  deploy themselves with minimal difficulty.

Close: #7015
2023-02-18 15:27:48 -05:00
Itai Y. Efrat
29c595ed1b bump: magit compat git-commit
emacs-straight/compat@2bedcb5ea9 -> emacs-straight/compat@01fdf316a4
magit/magit@6d325d90ba -> magit/magit@30b0debaaa
2023-02-17 12:34:58 -05:00
Itai Y. Efrat
642f88ad99 bump: :completion vertico compat consult-lsp magit git-commit
emacs-straight/compat@7ca7d300d1 -> emacs-straight/compat@2bedcb5ea9
mhayashi1120/Emacs-wgrep@f9687c28bb -> mhayashi1120/Emacs-wgrep@edf768732a
minad/consult-flycheck@7a10be316d -> minad/consult-flycheck@51b1b48e8d
minad/consult@16b2dc5e34 -> oantolin/orderless@ae849b3d9f
minad/marginalia@c1365bf0c7 -> minad/marginalia@6d48ed54be
minad/vertico@bedd146c3f -> minad/vertico@f303790546
oantolin/embark@629cce948c -> oantolin/embark@4882b395ce
oantolin/orderless@847694e78c -> minad/vertico@f303790546
tumashu/vertico-posframe@a3d0802d7b -> tumashu/vertico-posframe@790f74b49d
gagbo/consult-lsp@58b5414762 -> gagbo/consult-lsp@f8db3252c0
magit/magit@0ef98ef518 -> magit/magit@6d325d90ba

consult-lsp needed to be bumped to work with some changed consult
internals, and due to compat shenanigans we have to bump magit to latest
as well.

Includes fixes to stay up to date with upstream api changes to.
consult-customize and the deprecation of embark-define-keymap

Close: #7064
2023-02-17 12:34:58 -05:00
Itai Y. Efrat
3c99e9f8ab bump: :completion vertico compat
emacs-straight/compat@cc1924fd8b -> emacs-straight/compat@7ca7d300d1
minad/consult@e4e2af1a2d -> minad/consult@16b2dc5e34
minad/marginalia@c68164c564 -> minad/marginalia@c1365bf0c7
minad/vertico@801ad3143d -> minad/vertico@bedd146c3f
oantolin/embark@09da327d43 -> oantolin/embark@629cce948c
oantolin/orderless@004cee6b8e -> oantolin/orderless@847694e78c
tumashu/vertico-posframe@61a88aec07 -> tumashu/vertico-posframe@a3d0802d7b

---

convert consult--ripgrep-builder instance to  consult--ripgrep-make-builder
2023-01-01 21:55:13 -05:00
Ethan Leba
9d4d5b756a fix(eval): lookup RET binding in insert if evil
Otherwise, if the REPL was not in insert mode the send-to-buffer would
fail.
2022-10-31 16:18:16 +01:00
dmr
9f3012c98f
tweak(ansible): also match tasks/main.yaml
Although it's common to use the extension .yml rather than .yaml for
yaml files in ansible projects, this is not required except in like 1 or
2 cases.
2022-10-29 02:47:15 +02:00
Eric Dallo
8b414e6d0a
fix(lsp): stop logging project root
This is done upstream now. Also prevents double-prompting (#6877).

Ref: emacs-lsp/lsp-mode@65fb3e8d07
Close: #6877
2022-10-29 02:44:01 +02:00
Henrik Lissner
1b99805e1b
docs(debugger): add hacks, dap overview, basic usage info
Close: #6605
Co-authored-by: rittelle <rittelle@users.noreply.github.com>
2022-10-29 01:57:43 +02:00
Bruce D'Arcus
714aeb0629
bump: :tools biblio
emacs-citar/citar@146f2cb5a3 -> emacs-citar/citar@4a302fcc40
joostkremers/parsebib@175a1bdac1 ->  joostkremers/parsebib@1efca921cb
andras-simonyi/citeproc-el@406bd9964f -> andras-simonyi/citeproc-el@36c4ecdc48
tmalsburg/helm-bibtex@ce8c17690d -> tmalsburg/helm-bibtex@78f5931e1c

Ref: #6728
2022-10-28 18:38:40 +02:00
Bruce D'Arcus
ee0e87fc74
feat(biblio): add citar-org-roam
Close: #6728
2022-10-28 18:38:06 +02:00
Henrik Lissner
c9cc3f8d36
bump: :tools magit
alphapapa/magit-todos@67fd80c2f1 -> alphapapa/magit-todos@c5030cc27c
magit/forge@36208c43bf -> magit/forge@ce212f8f95
magit/magit@c1fb53d3de -> magit/magit@0ef98ef518
wandersoncferreira/code-review@d38fbe5930 -> wandersoncferreira/code-review@95b36ec8e7

Fix: #6875
Fix: #6509
2022-10-23 02:46:52 +02:00
Henrik Lissner
d6da09d980
bump: :tools debugger lsp
emacs-lsp/dap-mode@5d5043f962 -> emacs-lsp/dap-mode@2879578abf
emacs-lsp/lsp-mode@68bdac0f80 -> emacs-lsp/lsp-mode@a3b3c15359
emacs-lsp/lsp-ui@d8cce7dc15 -> emacs-lsp/lsp-ui@3cd7cc6127
gagbo/consult-lsp@19606a03cf -> gagbo/consult-lsp@58b5414762
joaotavora/eglot@aeea7c719a -> joaotavora/eglot@e501275e06
tumashu/posframe@0d23bc5f7c -> tumashu/posframe@3084cb6eb3
2022-10-23 02:46:12 +02:00
Paul A. Patience
398ee2cd94
fix(magit): evil keybinds for magit-worktree
For some reason, the transient-append-suffix adding magit-worktree back
to magit-dispatch — after its potential replacement by
magit-gitflow-popup — was having no effect. (It does when moved into
(after! magit-gitflow), so the issue must have something to do with when
transient-append-suffix is called.) magit-worktree wasn't appearing in
the magit-dispatch popup when magit-gitflow was enabled, nor was the '*'
keybind for magit-worktree in effect outside (or inside) the popup,
unlike '%' for magit-gitflow-popup.

Replace the ineffectual transient-append-suffix with a normal and visual
mode keybind for magit-worktree in magit-mode-map (and move the
unconditionally defined keybind for magit-gitflow-popup into (after!
magit-gitflow)). Also, append the magit-gitflow-popup transient suffix
to magit-worktree instead of replacing it, so that the latter still
appears in magit-dispatch (though under the original keybind 'Z' — which
isn't really an issue, since evil-collection-magit doesn't seem to
update the keybinds of any of the other commands accessible from
magit-dispatch — but also callable with '*').
2022-10-05 15:16:54 +02:00
TEC
5ac2a5258b docs: change link format 2022-10-05 01:01:19 +02:00
Samuel Tschiedel
9b73ce3ad8 fix(magit): remap magit-browse-thing to forge-browse-*
When using evil +everywhere, we disable the default forge bindings.
We must then explicitly remap magit-browse-thing, as it's just a
placeholder command (bound in multiple places).
2022-09-21 00:54:09 +02:00
Henrik Lissner
87f85ab459
bump: :tools debugger lsp
emacs-lsp/dap-mode@50c2a99059 -> emacs-lsp/dap-mode@5d5043f962
emacs-lsp/lsp-ivy@3e87441a62 -> emacs-lsp/lsp-ivy@9ecf4dd9b1
emacs-lsp/lsp-mode@3fa645c039 -> emacs-lsp/lsp-mode@68bdac0f80
joaotavora/eglot@bd970be047 -> joaotavora/eglot@aeea7c719a
realgud/realgud@3c88611c4e -> realgud/realgud@aff03aeef1

Close: #6721
2022-09-18 00:28:13 +02:00
Henrik Lissner
49f4ec3b10
feat(tree-sitter): add set-tree-sitter-lang! autodef 2022-09-10 18:36:24 +02:00
Gerry Agbobada
2cd8f85bac fix(debugger): fix dap-ui conditional loading
Probably missed when adding eglot support code in the module
2022-09-07 16:23:24 +02:00
Henrik Lissner
20c50755e8
fix(magit): end-of-file error
Due to an unbalanced paren in d8f87ad.

Amend: d8f87ada96
2022-09-07 00:55:51 +02:00
Henrik Lissner
ea84212d0a
fix(magit): void-function (:files) error
Due to a missed syntax error in d8f87ad.

Amend: d8f87ada96
2022-09-07 00:52:49 +02:00
casswedson
d8f87ada96 fix(magit): only install forge if asked 2022-09-07 00:25:52 +02:00
Ralf Beckmann
829998e70b docs(pdf): fix instructions to build epdfinfo
The documentation claimed that epdinfo will be built as soon as a pdf
file is opened. However, support for automatically building epdfinfo was
removed in the commit referenced below.

Ref: daa50557a4
2022-09-07 00:20:54 +02:00
Henrik Lissner
aa54383b5d
refactor: deprecate doom-etc-dir for doom-data-dir
doom-etc-dir will be renamed to doom-data-dir, to better reflect its
purpose, and align it with XDG_DATA_HOME (where it will be moved to in
v3, where Doom will begin to obey XDG directory conventions more
closely).
2022-08-14 20:43:35 +02:00
Henrik Lissner
a5c80fcb4b
refactor: deprecate doom-private-dir for doom-user-dir
- Deprecates the doom-private-dir variable in favor of doom-user-dir.
- Renames the pseudo category for the user's module: :private -> :user.
- Renames the doom-private-error error type to doom-user-error.

Emacs uses the term "user" to refer to the "things" in user space (e.g.
user-init-file, user-emacs-directory, user-mail-address, xdg-user-dirs,
package-user-dir, etc), and I'd like to be consistent with that. It also
has the nice side-effect of being slightly shorter. I also hope
'doom-user-error' will be less obtuse to beginners than
'doom-private-error'.
2022-08-14 20:43:35 +02:00
Henrik Lissner
ad6a3d0f33
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
Bruce D'Arcus
b06fd63dcb bump: :tools biblio
andras-simonyi/citeproc-el@9f783967c1 -> andras-simonyi/citeproc-el@406bd9964f
emacs-citar/citar@b24b5b94b7 -> emacs-citar/citar@146f2cb5a3
tmalsburg/helm-bibtex@aa775340ba -> tmalsburg/helm-bibtex@ce8c17690d

Also add citar-embark, which now contains the embark functionality in a
separate minor mode package, and explicitly add parsebib, so we can pin
the precise version.
2022-08-08 23:41:06 +02:00
Jeetaditya Chatterjee
1b56675819 docs(tree-sitter): update highlights configuration 2022-08-08 18:37:20 +02:00
Jeetaditya Chatterjee
8e68cd5ffd feat(tree-sitter): conditionally enable ts-hl-mode
Based on the new variable `+tree-sitter-hl-enabled-modes`

This allows for people to use tree sitters tools without having
to use it for highlighting.
Useful because some modes (such as web-mode and its derivatives) do a
better job than the tree sitter alternative in this respect.
2022-08-08 18:37:20 +02:00
Peter Hoeg
4f23a02877 feat(terraform): support terragrunt 2022-08-08 18:35:46 +02:00
Henrik Lissner
790c2a6d84
fix(eval): eros overlay going off-screen
Evaluating code (and :tools (eval +overlay) enabled) will do one of two
things with the return value:

If long, it will be displayed in a popup window on the bottom of the
frame. If short (<3-4 lines), it will be displayed in an overlay at the
end of the line.

If you happened to have scrolled horizontally (such that the BOL isn't
visible), the overlay would be displayed offscreen and unreadable. Any
attempt to scroll it into view will cause it to disappear (as per its
transient nature). This fix pads each newline in said overlay such that
the overlay is pushed into view.
2022-08-07 19:43:27 +02:00
Henrik Lissner
057e6c531c
refactor: replace doom-enlist with ensure-list
doom-enlist is now a deprecated alias for ensure-list, which is built
into Emacs 28.1+ and is its drop-in replacement. We've already
backported it for 27.x users in doom-lib (in 4bf4978).

Ref: 4bf49785fd
2022-08-07 19:43:13 +02:00
Henrik Lissner
1abcf913aa
revert: fix(docs): set mode in file-local vars
emacs-straight/org-mode@e22b4eb7aa introduced a breaking change that
made it impossible to rely on .dir-locals.el to change org-mode buffers
in $EMACSDIR to doom-docs-org-mode (without infinite recursion), so we
used file-local variables in 7e400ab.

emacs-straight/org-mode@215de6176b reverted that change, so we can use
.dir-locals.el again, and this is my preference, since it requires less
boilerplate across our hundreds of org files.

Ref: emacs-straight/org-mode@215de6176b
Ref: emacs-straight/org-mode@e22b4eb7aa
Revert: 7e400abdc0
2022-08-07 19:08:07 +02:00
Henrik Lissner
53fb367aa7
docs(lsp): fix typo in quote & use correct icon
Amend: c34168fb2a
Co-authored-by: lelit <lelit@users.noreply.github.com>
2022-08-07 19:07:57 +02:00
Henrik Lissner
304774cf39
docs(biblio,tree-sitter): update READMEs to new format
Also preforms minor spelling, grammar, and formatting corrections.
2022-08-04 01:16:13 +02:00
Henrik Lissner
1f8bf7accb
merge: rewrite-docs
I've omitted docs/*.org from this merge, as there is still work left to
do there, but I am pushing the module docs early so folks can benefit
from the new docs sooner.
2022-08-03 03:27:50 +02:00
Henrik Lissner
7e400abdc0
fix(docs): set mode in file-local vars
Due to emacs-straight/org-mode@e22b4eb, a replacement major mode (for
org-mode) can no longer be specified from .dir-locals.el, as it spirals
into infinite recursion. Therefore, a mode: line is needed in all Doom
docs.

Ref: emacs-straight/org-mode@e22b4eb7aa
2022-08-03 02:46:33 +02:00
Henrik Lissner
1255315bfc
refactor(docs): replace nav menus with virtual one
Now that the header is dynamically generated (when doom-docs-mode is
active), a literal header is unnecessary.
2022-08-02 19:37:07 +02:00
Henrik Lissner
c34168fb2a
docs(lsp): flesh out lsp-mode vs eglot comparison 2022-08-02 19:35:54 +02:00
Henrik Lissner
e77a45bc22
docs: use lowercase keywords
As per Org's new defaults, which we're adopting elsewhere, so may as
well adopt it here.
2022-08-02 16:23:43 +02:00
Henrik Lissner
dd34802523
revert: compat
emacs-straight/compat@2a9cf8b7bd -> emacs-straight/compat@cc1924fd8b

compat is a dependency of magit and doom-modeline (among other
packages), but a recent bug on compat@2a9cf8b caused #6583, so I am
pinning it to a stable commit. It's not common that Doom pins 2nd/3rd
order dependencies, but I will consider doing that more going forward.

Pinning them across multiple modules isn't elegant, but a better
solution is in the works as part of #4273.

Fix: #6583
Ref: #4273
2022-07-31 16:56:14 +02:00
Henrik Lissner
824402aaee
bump: :tools pdf
vedang/pdf-tools@f9ccdf99e5 -> vedang/pdf-tools@bb0b71f5ba
2022-07-24 13:16:02 +02:00
Henrik Lissner
efb46c77be
refactor(pdf): better epdfinfo check on pdf-view-mode
Also adds a comment to explain why I don't directly call
pdf-tools-install, instead of pdf-tools-install-noverify.

Ref: #6589
2022-07-24 13:16:02 +02:00
Colin Woodbury
a5cc803ad4 docs(tree-sitter): improve README formatting 2022-07-24 13:09:18 +02:00