-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmelt.el
48 lines (33 loc) · 952 Bytes
/
smelt.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
;;; smelt.el --- Forging Standard ML (SML) with emacs -*- lexical-binding: t; coding: utf-8 -*-
;; Copyright (C) 2022 Matthew Fluet.
;; Version: 0.1.0
;; Author: Matthew Fluet <Matthew.Fluet@gmail.com> (/~https://github.com/MatthewFluet)
;; SPDX-License-Identifier: MIT
;; Keywords: sml languages
;; Homepage: /~https://github.com/MatthewFluet/smelt
;; Package-Requires:
;;; Commentary:
;; This package implements a major-mode for editing SML source code.
;;; Code:
;;;; Core
(require 'smelt-core)
;;;; Features
(require 'smelt-fl)
(require 'smelt-ts)
(require 'smelt-ts-hl)
(require 'smelt-ts-match)
;;; _
(defun smelt-reload ()
"Reload smelt package."
(interactive)
(unload-feature 'smelt)
(unload-feature 'smelt-ts-match)
(unload-feature 'smelt-ts-hl)
(unload-feature 'smelt-ts)
(unload-feature 'smelt-fl)
(unload-feature 'smelt-core)
(require 'smelt)
(smelt-mode))
;;;; Footer
(provide 'smelt)
;;; smelt.el ends here