Add fasm-mode config

This commit is contained in:
Camden Dixie O'Brien
2026-03-12 13:01:13 +00:00
parent bb56509a21
commit aa38142263

View File

@@ -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