aboutsummaryrefslogtreecommitdiff
path: root/+lang.el
diff options
context:
space:
mode:
authorMagdalena Szweda <hi@roughlynamed.net>2026-09-22 16:31:35 +0200
committerMagdalena Szweda <hi@roughlynamed.net>2026-09-22 16:32:37 +0200
commit6bb6bd1da70858f83f848234cfee8a881881f93d (patch)
tree0667ab2747de3d9835302a70766bc9e1a13513f6 /+lang.el
parent376841ef8ee82afcfcdbfe95d196931c0b5c931e (diff)
emacs: replace the modular config that takes up a bunch of files with 1 clean config.org file.
Diffstat (limited to '+lang.el')
-rw-r--r--+lang.el17
1 files changed, 0 insertions, 17 deletions
diff --git a/+lang.el b/+lang.el
deleted file mode 100644
index 6ae23c5..0000000
--- a/+lang.el
+++ /dev/null
@@ -1,17 +0,0 @@
-;;; $DOOMDIR/+lang.el -*- lexical-binding: t; -*-
-(load! "+eglot")
-(load! "+flycheck")
-(load! "+format")
-
-;; functions
-(defun my/hs-eval ()
- (interactive)
- (let* ((src (buffer-file-name))
- (out (file-name-sans-extension src)))
- (when (zerop (call-process-shell-command
- (format "runghc %s" src) nil "*runghc-output*"))
- (let ((buf (make-comint "hs-run" out)))
- (display-buffer buf)))))
-(add-hook 'haskell-mode-hook
- (lambda ()
- (local-set-key (kbd "<f5>") #'my/hs-eval)))