From aa381422637d703552fe988796d6c30518b3adb2 Mon Sep 17 00:00:00 2001 From: Camden Dixie O'Brien Date: Thu, 12 Mar 2026 13:01:13 +0000 Subject: [PATCH] Add fasm-mode config --- config.org | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/config.org b/config.org index 125ab96..44c9f66 100644 --- a/config.org +++ b/config.org @@ -1054,6 +1054,24 @@ (use-package forth-mode) #+end_src +** Fasm + The =fasm-mode= package wasn't on MELPA or ELPA, so I've instead + added it as a submodule of this repo. We therefore need to add it + to the load path: + + #+begin_src emacs-lisp + (let* ((home (getenv "HOME")) + (path (concat home "/.emacs.d/fasm-mode"))) + (add-to-list 'load-path path)) + (autoload 'fasm-mode "fasm-mode") + #+end_src + + And then use it for =.asm= files: + + #+begin_src emacs-lisp + (add-to-list 'auto-mode-alist '("\\.asm\\'" . fasm-mode)) + #+end_src + * Tool Integrations ** Git =magit= is truly a wonderful creation! Add keybinding for