From c9704beb08a322be2cb37a3dce39582c46b99cd1 Mon Sep 17 00:00:00 2001 From: mehbark Date: Sat, 18 Oct 2025 00:56:17 -0400 Subject: [PATCH] bqn 4 emacs --- home.nix | 5 ++++- init.el.nix | 9 +++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index f8f81b5..203b21b 100644 --- a/home.nix +++ b/home.nix @@ -53,10 +53,11 @@ in rubyPackages_3_4.rubocop elixir lua - sageWithDoc + #sageWithDoc zls rustup sqlite + cbqn-standalone-replxx # might as well use it consistently haskell-language-server @@ -97,6 +98,7 @@ in jetbrains-mono lmmath julia-mono + bqn386 nix-output-monitor ] ++ more-packages @@ -425,6 +427,7 @@ in zig-mode python-mode tuareg + bqn-mode treesit-grammars.with-all-grammars diff --git a/init.el.nix b/init.el.nix index 9ca6df5..b6fe961 100644 --- a/init.el.nix +++ b/init.el.nix @@ -491,11 +491,20 @@ If the new path's directories does not exist, create them." '("\\.exs\\'" . elixir-mode)) (add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode)) + (add-to-list 'auto-mode-alist + '("\\.bqn\\'" . bqn-mode)) :hook ;; Auto parenthesis matching (prog-mode . electric-pair-mode)) +(use-package bqn-mode + :bind ( + ("C-c C-c" . bqn-comint-send-dwim) + ("C-c C-b" . bqn-comint-send-buffer) + ) +) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; ;;; Version Control