conf-data-toml package

This commit is contained in:
TEC 2023-04-22 01:25:42 +08:00
parent c875cc2b62
commit 20805b2e9c
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
3 changed files with 22 additions and 0 deletions

3
.gitmodules vendored
View File

@ -43,3 +43,6 @@
[submodule "simple-comment-markup"]
path = lisp/simple-comment-markup
url = https://git.tecosaur.net/tec/simple-comment-markup.git
[submodule "conf-data-toml"]
path = lisp/conf-data-toml
url = https://github.com/tecosaur/conf-data-toml.git

View File

@ -13370,6 +13370,24 @@ Julia is also missing a mime type, but that's not too hard to fix.
update-mime-database ~/.local/share/mime
#+end_src
** Data.toml files
#+call: confpkg("conf-data-toml")
For =DataToolkit.jl=-formatted TOML files, I've made a major mode.
#+begin_src emacs-lisp :tangle packages.el
(package! conf-data-toml :recipe (:local-repo "lisp/conf-data-toml"))
#+end_src
Since the major mode is autoloaded, all we need to do is register an appropriate
magic command for it to be used in =Data.toml= files.
#+begin_src emacs-lisp
(use-package! conf-data-toml
:magic ("\\`data_config_version = [0-9]" . conf-data-toml-mode))
#+end_src
** Graphviz
#+call: confpkg("!Pkg graphviz-dot-mode")

1
lisp/conf-data-toml Submodule

@ -0,0 +1 @@
Subproject commit b40d8b078a616e79a6e8e4a88d8af2c86257f3a5