From 92d42d86ec16abb690f0ea614709cb5f9533551a Mon Sep 17 00:00:00 2001 From: Daniel Ziltener Date: Wed, 27 Mar 2024 17:07:30 +0100 Subject: [PATCH] . --- home/emacs/init.el | 30 +++++++----------------------- home/home-configuration.scm | 2 ++ 2 files changed, 9 insertions(+), 23 deletions(-) diff --git a/home/emacs/init.el b/home/emacs/init.el index 357ca2a..c5b4f37 100644 --- a/home/emacs/init.el +++ b/home/emacs/init.el @@ -651,29 +651,6 @@ Point must be at the beginning of balanced expression (sexp)." :config (setq-default eglot-workspace-configuration '((clojure-lsp (maxCompletions . 300)))) - (add-to-list 'eglot-server-programs - '((clojure-mode clojurec-mode clojurescript-mode clojure-ts-mode) - "clojure-lsp" - :initializationOptions - (:preferences - (:inlayHintProvider - t - :includeInlayParameterNameHints - "all" - :includeInlayParameterNameHintsWhenArgumentMatchesName - t - :includeInlayFunctionParameterTypeHints - t - :includeInlayVariableTypeHints - t - :includeInlayVariableTypeHintsWhenTypeMatchesName - t - :includeInlayPRopertyDeclarationTypeHints - t - :includeInlayFunctionLikeReturnTypeHints - t - :includeInlayEnumMemberValueHints - t)))) :hook (eglot-managed-mode . (lambda () (add-hook 'before-save-hook @@ -839,6 +816,13 @@ Point must be at the beginning of balanced expression (sexp)." ;; (add-hook 'prog-mode-hook #'git-gutter-mode) ) +;;;; File Formats +;;;;; Asciidoc +(use-package adoc-mode + :hook + (adoc-mode . visual-line-mode) + (adoc-mode . (lambda () (setq-local visual-fill-column-center-text t)))) + ;;;; LaTeX ;; https://github.com/politza/pdf-tools/#known-problems (add-hook 'TeX-after-compilation-finished-functions diff --git a/home/home-configuration.scm b/home/home-configuration.scm index 83f20ce..505c7eb 100644 --- a/home/home-configuration.scm +++ b/home/home-configuration.scm @@ -195,6 +195,7 @@ "senpai" "sideload" "slurp" + "sshfs" "steam" ;; "sponge" https://linux.die.net/man/1/sponge "swappy" @@ -218,6 +219,7 @@ "xdg-utils" "emacs-adaptive-wrap" + "emacs-adoc-mode" "emacs-cape" "emacs-catppuccin-theme" "emacs-cider@1.13.0"