;;; janet.el -*- lexical-binding: t; -*- ;;; ;;; Author: Jakob L. Kreuze ;;; URL: https://git.sr.ht/~jakob/.emacs.d/ ;;; ;;; Configuration of a development environment for the Janet programming ;;; language. ;;; (use-package janet-mode :bind (:map janet-mode-map ("C-M-x" . inf-janet-eval-defun))) (use-package inf-janet :straight (inf-janet :type git :host github :repo "velkyel/inf-janet") :init (setq inf-janet-program "janet") :hook (inf-janet-mode . (lambda () ;; Disable font-locking in this buffer to improve performance (font-lock-mode -1) ;; Prevent font-locking from being re-enabled in this buffer (make-local-variable 'font-lock-function) (setq font-lock-function (lambda (_) nil)) (add-hook 'comint-preoutput-filter-functions 'xterm-color-filter nil t) (add-hook 'comint-preoutput-filter-functions 'xterm-title-filter nil t))))