From 1bb58e32c90d88a8f6f542e64dbaf9a7abc11003 Mon Sep 17 00:00:00 2001 From: Pouya Abbassi Date: Tue, 23 Aug 2022 09:22:43 +0430 Subject: [PATCH] Use Cidedr instead of LSP for indentation. https://practical.li/spacemacs/install-spacemacs/clojure-lsp/configure-lsp-and-cider.html#lsp-layer-variables --- core/cubes/clojure.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/cubes/clojure.el b/core/cubes/clojure.el index 356b8c1..f582b45 100644 --- a/core/cubes/clojure.el +++ b/core/cubes/clojure.el @@ -1,4 +1,4 @@ -;;; ClojureCubes --- The Clojure cubes for FG42 -*- lexical-binding: t; -*- +2;;; ClojureCubes --- The Clojure cubes for FG42 -*- lexical-binding: t; -*- ;; ;; Copyright (c) 2010-2021 Sameer Rahmani & Contributors ;; @@ -45,8 +45,8 @@ Also activates LSP and converts `fn` to λ." (fpkg/use clojure-mode :hook (clojure-mode . fg42/clojure-init) - :config)) - + :config (when-flag clojure + (setq lsp-enable-indentation nil)))) (provide 'cubes/clojure) ;;; clojure.el ends here