From ad6cef16ef81443ff6ce9b353ea3d34ee70677f6 Mon Sep 17 00:00:00 2001 From: Peter Tillemans Date: Tue, 22 Jul 2025 18:08:22 +0200 Subject: [PATCH] fiddling to get uv support working --- init.org | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/init.org b/init.org index 55bd908..8a63679 100644 --- a/init.org +++ b/init.org @@ -200,6 +200,16 @@ then load it. (load custom-file nil :nomessage)) #+END_SRC +*** Load transient as used by a lot of packages + +#+BEGIN_SRC + (use-package transient + :ensure nil) + + +#+END_SRC + + *** Wait for initial installations #+BEGIN_SRC emacs-lisp @@ -1709,6 +1719,24 @@ Map the keymap consistently to the eglot mappings. (python-ts-mode . pyvenv-mode)) #+END_SRC +**** Enable UV + +#+BEGIN_SRC emacs-lisp +(require 'treesit) + +(use-package uv + :ensure (uv :type git :host github :repo "johannes-mueller/uv.el" :wait t) + :init + (add-to-list 'treesit-language-source-alist '(toml "https://github.com/tree-sitter-grammars/tree-sitter-toml")) + (unless (treesit-language-available-p 'toml) + (treesit-install-language-grammar 'toml))) + +#+END_SRC + +#+RESULTS: +: [nil 26751 43082 733388 nil elpaca-process-queues nil nil 945000 nil] + + *** Docker Support #+BEGIN_SRC emacs-lisp @@ -2483,7 +2511,7 @@ We can add a list of queries (org-agenda-files (list "~/Nextcloud/org/" "~/org/snamellit/" - ;"~/org/customer/" + "~/org/customer/" "~/org/personal/")) (org-refile-targets '( (org-agenda-files . (:level . 1)) @@ -2931,8 +2959,7 @@ generate code. (setq aidermacs-backend 'vterm) ;; ;; Optional: Set a key binding for the transient menu - :bind -q ) + ) #+END_SRC #+RESULTS: @@ -2947,10 +2974,8 @@ Enables an alternative file navigation behavior in Dired, Emacs' directory edito ** Use Magit for version control #+BEGIN_SRC emacs-lisp ;; default to magit for version control - (use-package transient - :ensure t) (use-package magit - :ensure t + :ensure (:wait t) :commands (magit-status) :bind (("C-x p v" . magit-status)