diff options
| author | Magdalena Szweda <hi@roughlynamed.net> | 2026-09-22 16:31:35 +0200 |
|---|---|---|
| committer | Magdalena Szweda <hi@roughlynamed.net> | 2026-09-22 16:32:37 +0200 |
| commit | 6bb6bd1da70858f83f848234cfee8a881881f93d (patch) | |
| tree | 0667ab2747de3d9835302a70766bc9e1a13513f6 /+lang.el | |
| parent | 376841ef8ee82afcfcdbfe95d196931c0b5c931e (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.el | 17 |
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))) |
