From 5eb173a3ee456b3d46b503574c4576627bc11043 Mon Sep 17 00:00:00 2001 From: TEC Date: Tue, 13 Sep 2022 18:38:06 +0800 Subject: [PATCH] Add a MIME type for Julia code --- config.org | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/config.org b/config.org index b428728..86fc411 100644 --- a/config.org +++ b/config.org @@ -11156,6 +11156,23 @@ Julia server. The pseudo-fix is rather simple at least (setq-local lsp-enable-folding t lsp-folding-range-limit 100))) #+end_src + +Julia is also missing a mime type, but that's not too hard to fix. + +#+begin_src xml :tangle ~/.local/share/mime/packages/julia.xml :mkdirp yes :comments no + + + Julia source code + + + + +#+end_src + +#+begin_src shell :tangle (if (string= (shell-command-to-string "xdg-mime query default text/julia") "") "setup.sh" "no") +update-mime-database ~/.local/share/mime +#+end_src + ** Graphviz Graphviz is a nice method of visualising simple graphs, based on plaintext