From 6451bca16ad203bac29e17f5947422bf0ab7685a Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Wed, 14 Aug 2024 06:48:51 -0400 Subject: [PATCH] chore: sort headings --- config.org | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/config.org b/config.org index f883e37..7651ab5 100644 --- a/config.org +++ b/config.org @@ -3840,17 +3840,6 @@ To make opening the journal more convenient, here's a command to open the latest Despite Emacs being my editor of choice for programming, I don't actually have a lot of configuration for programming languages. I suppose that this is because language packages tend to not need much personal configuration, as the bounds of what a language mode needs to do are typically defined by the language itself. -** Indentation - -#+call: confpkg("Indent") - -I prefer 2-space indentation in all circumstances. Unfortunately, Emacs's indentation is mode-specific, so I have to configure every mode's indentation separately. - -#+begin_src emacs-lisp -(after! css-mode - (setq css-indent-offset 2)) -#+end_src - ** Dired #+call: confpkg("Mode: Dired") @@ -3956,6 +3945,17 @@ Operators being in italics looks ugly in this mode too, but due to Idris's more `(idris-semantic-postulate-face :foreground ,(doom-color 'yellow)))) #+end_src +** Indentation + +#+call: confpkg("Indent") + +I prefer 2-space indentation in all circumstances. Unfortunately, Emacs's indentation is mode-specific, so I have to configure every mode's indentation separately. + +#+begin_src emacs-lisp +(after! css-mode + (setq css-indent-offset 2)) +#+end_src + ** Java The =lsp-java= package provides LSP support using the standard language server, the Eclipse-based ~jdtls~. Unfortunately, this package isn't designed for Nix, so it fails to find the server script in our Nix store. We need to do a bit of legwork to patch in this support, as well as some extra considerations, such as per-project config directories.