Update BQN configuration

This commit is contained in:
Dimitri Lozeve 2023-03-23 17:47:32 +01:00
parent 0c9f1b4e88
commit 3c52e596b2

11
init.el
View file

@ -443,6 +443,9 @@
(use-package bqn-mode (use-package bqn-mode
:straight (:host github :repo "museoa/bqn-mode") :straight (:host github :repo "museoa/bqn-mode")
:after gnu-apl-mode :after gnu-apl-mode
:bind (:map bqn-mode-map
(("C-c d" . bqn-help-symbol-info-at-point)
("C-c C-d" . bqn-help-symbol-info-at-point)))
:custom (bqn-key-prefix ) :custom (bqn-key-prefix )
:config :config
(defface bqn-default (defface bqn-default
@ -452,11 +455,8 @@
(setq buffer-face-mode-face 'bqn-default) (setq buffer-face-mode-face 'bqn-default)
(buffer-face-mode)) (buffer-face-mode))
(add-hook 'bqn-mode-hook 'bqn-init)
(setq bqn-interpreter-path "~/build/CBQN/BQN")
(setq bqn-keymap-mode-reference (setq bqn-keymap-mode-reference
" "
(AltGr)~ ¬ # { [ | ` ˜ \\ ^ @ ] } (AltGr)~ ¬ # { [ | ` ˜ \\ ^ @ ] }
@ -474,6 +474,9 @@
Space: Space:
") ")
(add-hook 'bqn-mode-hook 'bqn-init)
(add-hook 'bqn-comint-mode-hook 'bqn-init)
(add-hook 'bqn-keymap-mode-hook 'bqn-init)) (add-hook 'bqn-keymap-mode-hook 'bqn-init))
(use-package tex-site (use-package tex-site