Clean up Elixir and Elisp modes
Some checks failed
/ Test config on ${{matrix.node}} (20) (push) Has been cancelled

This commit is contained in:
Maciej 2024-07-22 11:28:16 +03:00
parent 5044e50b03
commit d054822cdd
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
7 changed files with 65 additions and 43 deletions

View file

@ -136,7 +136,6 @@
;;;;;;;;;;;;;;;;; Show hints about key combinations
(use-package which-key
:defer t
:straight t
:config (which-key-mode t))

15
pkg/early-init.el Normal file
View file

@ -0,0 +1,15 @@
;;; +early-init.el --- summary
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk
;; Version: 0.1-snapshot
;;; Commentary:
;; early-init does a thing.
;;; Code:
;; Disable built-in package management
(setq package-enable-at-startup nil)
;;; early-init.el ends here

View file

@ -50,6 +50,7 @@
(+custom-set-lsp-ui-font-hook))
(defvar +custom-font "Iosevka Term")
;; (defvar +custom-font "Monoid")
;; (defvar +custom-font "Fira Mono")
;; (defvar +custom-font "Fira Code")
;; (defvar +custom-font "Red Hat Mono")

View file

@ -53,9 +53,8 @@
:straight t
:defer t
:config
(add-to-list 'dash-at-point-mode-alist
;; Configure lookup for Ruby mode
'(enh-ruby-mode . "ruby,rubygems,rails")))
(add-to-list 'dash-at-point-mode-alist '(enh-ruby-mode . "ruby,rubygems,rails"))
(add-to-list 'dash-at-point-mode-alist '(elixir-ts-mode . "elixir,hex")))
;; By default, use 2 spaces for indentation
(setq tab-width 2)
@ -76,8 +75,5 @@
;; Vim-like regex replace with preview in buffer.
(use-package visual-regexp :straight t :defer t)
;; Formatter for many files
(use-package apheleia :straight t :defer t)
(provide '+custom-pkg-prog-mode)
;;; prog-mode ends here