From 1d22fea493e94c30a27101cda599b4668ce6cdee Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Tue, 15 Nov 2022 15:47:11 -0700 Subject: [PATCH] Add prisma mode --- .emacs.d/early-init.el | 1 + .emacs.d/settings.org | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .emacs.d/early-init.el diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el new file mode 100644 index 0000000..512068a --- /dev/null +++ b/.emacs.d/early-init.el @@ -0,0 +1 @@ +(setq package-enable-at-startup nil) diff --git a/.emacs.d/settings.org b/.emacs.d/settings.org index 05f7c38..c20b013 100644 --- a/.emacs.d/settings.org +++ b/.emacs.d/settings.org @@ -3,6 +3,22 @@ #+STARTUP: fold * Packages +** Straight +#+BEGIN_SRC emacs-lisp + (defvar bootstrap-version) + (let ((bootstrap-file + (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) + (bootstrap-version 6)) + (unless (file-exists-p bootstrap-file) + (with-current-buffer + (url-retrieve-synchronously + "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el" + 'silent 'inhibit-cookies) + (goto-char (point-max)) + (eval-print-last-sexp))) + (load bootstrap-file nil 'nomessage)) +#+END_SRC + ** Melpa #+BEGIN_SRC emacs-lisp (require 'package) @@ -261,6 +277,15 @@ After installing the ~rust-analyzer~ program, the following can be used: #+END_SRC #+RESULTS: +**** Prisma +#+BEGIN_SRC emacs-lisp + (use-package prisma-mode + :ensure t + :straight '(prisma-mode + :type git + :host github + :repo "pimeys/emacs-prisma-mode")) +#+END_SRC *** Kotlin #+BEGIN_SRC emacs-lisp