From abd29569a6b78515599c2133fcb06da3e06bee14 Mon Sep 17 00:00:00 2001 From: Yuriy Glukhov Date: Wed, 6 Dec 2023 18:40:42 +0100 Subject: [PATCH 1/3] bump: :lang nim nim-lang/nim-mode@744e076f0bea -> nim-lang/nim-mode@1338e5b0d5e1 --- modules/lang/nim/packages.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/nim/packages.el b/modules/lang/nim/packages.el index b085dcde7..30993cbcc 100644 --- a/modules/lang/nim/packages.el +++ b/modules/lang/nim/packages.el @@ -3,7 +3,7 @@ ;;; requires nim nimsuggest nimble -(package! nim-mode :pin "744e076f0bea1c5ddc49f92397d9aa98ffa7eff8") +(package! nim-mode :pin "1338e5b0d5e111ad932efb77d3cad680cc3b86c9") (when (and (modulep! :checkers syntax) (not (modulep! :checkers syntax +flymake))) From f6851d56ef6baa5e7de8a1b2adea8c7a80f8f0fe Mon Sep 17 00:00:00 2001 From: Ocean Shen <30361859+OceanS2000@users.noreply.github.com> Date: Fri, 8 Dec 2023 00:09:06 +0800 Subject: [PATCH 2/3] fix(org): correct face for doom-user links `org-link-set-parameters` accepts `:face` for a function returning a face or a symbol naming a face. Use a lambda returning `org-priority` to avoid it being called directly as a function. --- modules/lang/org/config.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index 52dec99e7..9f614017b 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -614,7 +614,9 @@ relative to `org-directory', unless it is an absolute path." (format "https://github.com/%s" (string-remove-prefix "@" (+org-link-read-desc-at-point link))))) - :face 'org-priority) + :face (lambda (_) + ;; Avoid confusion with function `org-priority' + 'org-priority)) (org-link-set-parameters "doom-changelog" :follow (lambda (link) From 03d692f129633e3bf0bd100d91b3ebf3f77db6d1 Mon Sep 17 00:00:00 2001 From: Kalle Lindqvist Date: Fri, 8 Dec 2023 12:13:10 +0100 Subject: [PATCH 3/3] fix(vertico): embark open in new workspace action --- modules/completion/vertico/autoload/workspaces.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/completion/vertico/autoload/workspaces.el b/modules/completion/vertico/autoload/workspaces.el index fcf63506d..01610da8c 100644 --- a/modules/completion/vertico/autoload/workspaces.el +++ b/modules/completion/vertico/autoload/workspaces.el @@ -86,8 +86,8 @@ buffer will be opened in the current workspace instead." (funcall consult--buffer-display (car buffer))))))) ;;;###autoload -(defun +vertico/embark-open-in-new-workspace (x) - "Open X (a file) in a new workspace." - (interactive) +(defun +vertico/embark-open-in-new-workspace (file) + "Open file in a new workspace." + (interactive "GFile:") (+workspace/new) - (find-file x)) + (find-file file))