diff options
| author | Preston Pan <ret2pop@nullring.xyz> | 2026-03-06 17:06:15 -0800 |
|---|---|---|
| committer | Preston Pan <ret2pop@nullring.xyz> | 2026-03-06 17:06:15 -0800 |
| commit | 117f7bbc15ceeebc566e88dd9c6007986638e97c (patch) | |
| tree | 1b011e668c6066321e1e2e74bab2ecac72bc7177 /config | |
| parent | bb8a3f99278f20a0ba3c9652c8b3f3bad0283878 (diff) | |
add syntax file; style.css is good? Add font
Diffstat (limited to 'config')
| -rw-r--r-- | config/emacs.org | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/emacs.org b/config/emacs.org index 5bf4838..f54e70e 100644 --- a/config/emacs.org +++ b/config/emacs.org @@ -194,6 +194,7 @@ This is my org mode configuration, which also configures latex. (org-babel-do-load-languages 'org-babel-load-languages '((shell . t) (python . t) + (nix . t) (latex . t)))) #+end_src As you can see, I only have one real entry in config here (I don't count requires even though @@ -726,6 +727,12 @@ to Chromium if I have to: (eww-search-prefix "https://google.com/search?q=" "Google prefix") :hook ((eww-mode . (lambda () (local-set-key (kbd "y Y") #'eww-copy-page-url))))) #+end_src +** Nix Mode +Load Nix mode so our exported website has syntax highlighting for Nix blocks. +#+begin_src emacs-lisp :tangle ../nix/init.el + (use-package nix-mode + :mode "\\.nix\\'") +#+end_src ** Org Roam For all my mathematics and programming notes: #+begin_src emacs-lisp :tangle ../nix/init.el |
