From 180e875686ac1d49470cd3a536d684faa30a485d Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Sat, 30 Nov 2024 00:24:15 -0500 Subject: [PATCH] refactor(emacs): reorganize priime-languages Signed-off-by: Lucas Sta Maria --- .emacs.d/include/priime-languages.el | 42 +++++++++++++++------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/.emacs.d/include/priime-languages.el b/.emacs.d/include/priime-languages.el index 19e854f..83cc161 100644 --- a/.emacs.d/include/priime-languages.el +++ b/.emacs.d/include/priime-languages.el @@ -59,27 +59,7 @@ (use-package rust-mode :straight t :hook (rust-mode . eglot)) (use-package rustic :straight t) - -(use-package markdown-mode :straight t - :hook ((markdown-mode . markdown-toggle-fontify-code-blocks-natively) - (markdown-mode . olivetti-mode)) - :custom-face - (markdown-inline-code-face ((t (:inherit nano-salient)))) - (markdown-header-face-1 ((t (:inherit nano-strong :height 1.3 :family "Inter")))) - (markdown-header-face-2 ((t (:inherit nano-strong :height 1.25 :family "Inter")))) - (markdown-header-face-3 ((t (:inherit nano-strong :height 1.2 :family "Inter")))) - (markdown-header-face-4 ((t (:inherit nano-strong :height 1.15 :family "Inter")))) - (markdown-header-face-5 ((t (:inherit nano-strong :height 1.1 :family "Inter")))) - (markdown-header-face-6 ((t (:inherit nano-strong :height 1.05 :family "Inter")))) - (markdown-italic-face ((t (:inherit nano-default :slant italic))))) (use-package rjsx-mode :straight t) -(use-package just-mode :straight t) -(use-package justl :straight t - :bind (("C-c j" . #'justl-recipes))) -(use-package scribble-mode :straight t) -(use-package auctex :straight t) -(use-package cdlatex :straight t) -(use-package yaml-mode :straight t) (use-package poetry :straight t) (use-package sly :straight t :custom (inferior-lisp-program "sbcl")) @@ -105,6 +85,28 @@ (use-package irony :straight t :bind (:map irony-mode-map ("C-c C-c" . custom-compile-c++)) :hook ((c++-mode c-mode) . irony-mode)) +(use-package gleam-ts-mode :straight t + :mode (rx ".gleam" eos)) + +(use-package markdown-mode :straight t + :hook ((markdown-mode . markdown-toggle-fontify-code-blocks-natively) + (markdown-mode . olivetti-mode)) + :custom-face + (markdown-inline-code-face ((t (:inherit nano-salient)))) + (markdown-header-face-1 ((t (:inherit nano-strong :height 1.3 :family "Inter")))) + (markdown-header-face-2 ((t (:inherit nano-strong :height 1.25 :family "Inter")))) + (markdown-header-face-3 ((t (:inherit nano-strong :height 1.2 :family "Inter")))) + (markdown-header-face-4 ((t (:inherit nano-strong :height 1.15 :family "Inter")))) + (markdown-header-face-5 ((t (:inherit nano-strong :height 1.1 :family "Inter")))) + (markdown-header-face-6 ((t (:inherit nano-strong :height 1.05 :family "Inter")))) + (markdown-italic-face ((t (:inherit nano-default :slant italic))))) +(use-package just-mode :straight t) +(use-package justl :straight t + :bind (("C-c j" . #'justl-recipes))) +(use-package scribble-mode :straight t) +(use-package auctex :straight t) +(use-package cdlatex :straight t) +(use-package yaml-mode :straight t) (provide 'priime-languages)