From 1f87caa3908f1f2ff2dddc79cf4527cfcc793af3 Mon Sep 17 00:00:00 2001 From: Leni Aniva Date: Tue, 18 Mar 2025 11:31:00 -0700 Subject: [PATCH] feat: Julia snail, typst heading shift --- doom/config.org | 7 +++++++ doom/init.el | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/doom/config.org b/doom/config.org index 4682d5d..28c2642 100644 --- a/doom/config.org +++ b/doom/config.org @@ -283,6 +283,7 @@ numbers are disabled. For relative line numbers, set this to ~relative~. tex-indent-arg 3 tex-indent-item 3 tex-indent-basic 3 + typst-ts-mode-indent-offset 2 ) #+end_src @@ -683,6 +684,12 @@ Add the necessary hooks for LilyPond mode. :desc "Compile & Preview" "P" #'typst-ts-compile-and-preview :desc "Watch start" "w" #'typst-ts-watch-start :desc "Watch stop" "W" #'typst-ts-watch-stop + (:prefix ("h" . "Heading") + :desc "Left" "h" #'typst-ts-mode-heading-left + :desc "Right" "l" #'typst-ts-mode-heading-right + :desc "Up" "k" #'typst-ts-mode-heading-up + :desc "Down" "j" #'typst-ts-mode-heading-down + ) ) #+end_src diff --git a/doom/init.el b/doom/init.el index a293c5d..b6b1b45 100644 --- a/doom/init.el +++ b/doom/init.el @@ -143,7 +143,7 @@ json ; At least it ain't XML ;;(java +lsp) ; the poster child for carpal tunnel syndrome javascript ; all(hope(abandon(ye(who(enter(here)))))) - (julia +lsp) ; a better, faster MATLAB + (julia +tree-sitter +snail) ; a better, faster MATLAB ;;kotlin ; a better, slicker Java(Script) (latex +latexmk +lsp) ; writing papers in Emacs has never been so fun ;lean ; for folks with too much to prove