Add fasm-mode config
This commit is contained in:
18
config.org
18
config.org
@@ -1054,6 +1054,24 @@
|
|||||||
(use-package forth-mode)
|
(use-package forth-mode)
|
||||||
#+end_src
|
#+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
|
* Tool Integrations
|
||||||
** Git
|
** Git
|
||||||
=magit= is truly a wonderful creation! Add keybinding for
|
=magit= is truly a wonderful creation! Add keybinding for
|
||||||
|
|||||||
Reference in New Issue
Block a user