Skip to content

Commit

Permalink
add README note about repl-toggle compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
waymondo committed Dec 17, 2018
1 parent 4ce8830 commit 3370c13
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,15 @@ interpreter inside of typescript-mode.
(local-set-key (kbd "C-c C-b") 'ts-send-buffer-and-go)
(local-set-key (kbd "C-c l") 'ts-load-file-and-go)))
#+END_SRC

* ~repl-toggle~ compatibility

~ts-comint~ is [[https://github.com/tomterl/repl-toggle][~repl-toggle~]] compatible. To configure, add ~run-ts~
for ~typescript-mode~ to ~rtog/mode-repl-alist~ like so:

#+BEGIN_SRC elisp
;; when configuring all repl toggle mapping
(setq rtog/mode-repl-alist '((typescript-mode . run-ts)))
;; or later
(push '(typescript-mode . run-ts) rtog/mode-repl-alist)
#+END_SRC

0 comments on commit 3370c13

Please sign in to comment.