Add forth mode to emacs
This commit is contained in:
parent
a3cf2733c3
commit
e3a616fefa
3 changed files with 12 additions and 2 deletions
|
@ -19,7 +19,9 @@
|
||||||
package = pkgs.emacsPgtkGcc;
|
package = pkgs.emacsPgtkGcc;
|
||||||
alwaysEnsure = true;
|
alwaysEnsure = true;
|
||||||
# mu4e is included in the mu package and should be used from there
|
# mu4e is included in the mu package and should be used from there
|
||||||
extraEmacsPackages = epkgs: lib.optional config.chvp.graphical.mail.enable pkgs.mu;
|
extraEmacsPackages = epkgs:
|
||||||
|
(lib.optional config.chvp.graphical.mail.enable pkgs.mu) ++
|
||||||
|
(lib.optional config.chvp.development.enable pkgs.gforth);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -40,6 +40,14 @@
|
||||||
"SPC" '(:keymap lsp-command-map)
|
"SPC" '(:keymap lsp-command-map)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
;; Forth syntax support
|
||||||
|
(use-package gforth
|
||||||
|
;; Included in the gforth package, see emacs/default.nix
|
||||||
|
:ensure nil
|
||||||
|
:mode ("\\.fs\\'" . forth-mode)
|
||||||
|
:mode ("\\.fb\\'" . forth-block-mode)
|
||||||
|
)
|
||||||
|
|
||||||
;; Markdown syntax support
|
;; Markdown syntax support
|
||||||
(use-package markdown-mode
|
(use-package markdown-mode
|
||||||
|
|
|
@ -111,7 +111,7 @@ in
|
||||||
[
|
[
|
||||||
''
|
''
|
||||||
(use-package mu4e
|
(use-package mu4e
|
||||||
;; Use mu4e included in the mu package, see emacs.nix
|
;; Use mu4e included in the mu package, see emacs/default.nix
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:commands (mu4e mu4e-update-index)
|
:commands (mu4e mu4e-update-index)
|
||||||
:after (selectrum)
|
:after (selectrum)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue