This commit is contained in:
Andrea Ciceri 2023-05-11 11:52:46 +02:00
parent facb417179
commit 7f3ee2413d
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
2 changed files with 16 additions and 7 deletions

15
init.el
View file

@ -73,6 +73,8 @@
(global-auto-revert-mode t)
(show-paren-mode 1)
(column-number-mode 1)
(set-frame-parameter (selected-frame) 'alpha '(98 98))
(add-to-list 'default-frame-alist '(alpha 98 98))
;; FIXME when running running Emacs as daemon
;; (advice-add 'enable-theme
;; :after
@ -88,7 +90,7 @@
(defun ccr/reload-emacs ()
(interactive)
(load-file "~/.vanilla-emacs.d/init.el"))
(load-file "~/.config/emacs/init.el"))
(defun ccr/run-in-vterm-kill (process event)
"A process sentinel. Kills PROCESS's buffer if it is live."
@ -129,7 +131,12 @@
(setup haskell-mode (:hook eglot-ensure tree-sitter-hl-mode))
(setup rust-mode (:hook eglot-ensure tree-sitter-hl-mode))
(setup purescript-mode)
(setup rustic-mode
(:hook eglot-ensure tree-sitter-hl-mode)
(push 'rustic-clippy flycheck-checkers)
(:option rustic-lsp-client 'eglot))
(setup terraform-mode (:hook eglot-ensure tree-sitter-hl-mode))
@ -141,7 +148,9 @@
(:hook enable-paredit-mode)
(:with-mode emacs-lisp-mode (:hook enable-paredit-mode)))
(setup envrc (envrc-global-mode))
(setup envrc
(require 'inheritenv)
(envrc-global-mode))
(setup windmove
(defcustom ccr/v-resize-amount 4

View file

@ -26,6 +26,7 @@ with epkgs; [
which-key
nix-mode
envrc
inheritenv
flycheck
flycheck-posframe
flycheck-inline
@ -52,8 +53,7 @@ with epkgs; [
eat
rust-mode
rustic
# TODO playing with these
sway
shackle
purescript-mode
tide
solidity-mode
]