Minor changes
All checks were successful
/ Test config on 20 (push) Successful in 27s

This commit is contained in:
Maciej 2024-11-04 08:05:39 +02:00
parent a68257ee41
commit 42ccce60bd
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
6 changed files with 183 additions and 165 deletions

View file

@ -6,7 +6,9 @@
(require 'icejam-transient)
(use-package lispy :ensure t :defer t)
(use-package aggressive-indent :ensure t :defer t)
(declare-function aggressive-indent-mode "aggressive-indent")
(declare-function column-enforce-n "column-enforce-mode" (number))
(add-to-list 'auto-mode-alist '("/Eask\\'" . emacs-lisp-mode))
@ -30,7 +32,8 @@
(icejam-set-indent 2) ;; Default indentation of 2 characters
(column-enforce-n 80)
(lispy-mode t)
(lispy-mode t) ;; Pseudomodal editing for lisp code
(aggressive-indent-mode) ;; Indent lisp automatically
;; Company list override
(add-to-list (make-local-variable 'company-backends)

View file

@ -3,13 +3,18 @@
;;; Code:
(require 'icejam-prog-mode)
(declare-function elpaca-installed-p "elpacs")
;; Markdown is a dependency of LSP mode. By wrapping it in unless we silence
;; a warning from the byte compiler.
(declare-function elpaca-installed-p "elpaca")
(unless (elpaca-installed-p 'markdown-mode)
(use-package markdown-mode :ensure t))
(with-eval-after-load 'markdown-mode
(setq-default markdown-command "pandoc"))
(declare-function rxt--re-builder-switch-pcre-mode "pcre2el")
(defun icejam-lang-activate-markdown-mode ()
"Reconfigure markdown mode for your own purposes."
(icejam-set-indent 2)