aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2025-03-19 20:27:08 +0100
committerNicholas Rodrigues Lordello <[email protected]>2025-03-19 20:27:08 +0100
commitd4598db7a2c63afa0b2da949a6f82b7910b6e37d (patch)
tree0552b0335cd782eec7b781576589b53db5450a59
parent8de51ae845f067dcebedab5cc2d66c7e05e8aca9 (diff)
Emacs Configuration Adjustments
* Go back to using `flymake` instead of `flycheck` - it is built in and works with `eglot` for LSP. * Change `ace-window` binding to be `C-x o`, like `other-window` which it is intended to replace.
-rw-r--r--config/emacs/init.el20
1 files changed, 4 insertions, 16 deletions
diff --git a/config/emacs/init.el b/config/emacs/init.el
index ac89b44..1104876 100644
--- a/config/emacs/init.el
+++ b/config/emacs/init.el
@@ -1,4 +1,4 @@
-;;; -*- lexical-binding:t -*-
+;;; -*- lexical-binding: t -*-
;;; TODO(nlordell):
;; 1. Update remaining init scripts:
@@ -9,7 +9,6 @@
;; 3. Investigate other potential sane Emacs defaults
;; <https://idiomdrottning.org/bad-emacs-defaults>
;; 4. Setup GPTel - should be possible without FastGPT credits
-;; 5. Resolve ELisp lint issues from Flycheck
(load "~/.config/emacs/sanemacs.el" nil t)
(load "~/.config/emacs/ligatures.el" nil t)
@@ -20,22 +19,13 @@
(use-package ace-window
:bind
- (("C-c o" . ace-window)))
+ (("C-x o" . ace-window)))
(use-package avy
:bind
(("C-:" . avy-goto-char)
("M-g f" . avy-goto-line)))
-(use-package flycheck
- :config
- (add-hook 'after-init-hook #'global-flycheck-mode))
-
-(use-package flycheck-eglot
- :after (flycheck eglot)
- :config
- (global-flycheck-eglot-mode +1))
-
(use-package ligature
:config
(ligature-set-ligatures 'prog-mode ligatures-berkeley-mono)
@@ -73,9 +63,7 @@
(use-package tuareg)
(use-package ocaml-eglot
- :after (flycheck tuareg)
- :custom
- (ocaml-eglot-syntax-checker 'flycheck)
+ :after (tuareg)
:hook
(tuareg-mode . ocaml-eglot)
(ocaml-eglot . eglot-ensure))
@@ -84,8 +72,8 @@
;;; macOS
;;;
-;; Make the shell environement available when started on macOS Spotlight.
(when (memq window-system '(mac ns))
+ ;; Make the shell environement available when started on macOS Spotlight.
(use-package exec-path-from-shell
:config
(exec-path-from-shell-initialize)))