- provides a flix-mode for interacting with flix source code. It provides
- syntax highlighting
- funcitons for interacting with flix.jar, including downloading it.
- repl integrations
- this package can be installed with straight using its git repo
(use-package flix-mode
:straight
(flix-mode :host github :type git :repo "cademichael/flix-mode")
:bind
(:map flix-mode-map ; setting keybindings as I don't set them by default
("C-c C-r" . +flix/run-project)
("C-c C-b" . +flix/build-project)
("C-c C-d" . +flix/set-jar-directory)
("C-c C-c C-i" . +flix/install-jar)
("C-c C-i" . +flix/init-project)
("C-c C-c C-r" . +flix/repl-restart)
("C-c C-z" . +flix/goto-repl))
(:map flix-repl-mode-map
("C-c C-c C-r" . +flix/repl-restart)
("C-c C-z" . +flix/goto-flix-buffer)))
+flix/install-jar | install flix.jar in specified directory |
+flix/flix-command | pass a command to flix.jar |
+flix/init-project | initialize a flix project |
+flix/run-project | run a flix project |
+flix/build-project | build fix project |
+flix/repl | create a flix repl |
+flix/goto-flix-buffer | go to flix buffer that called repl last |
+flix/goto-repl | go to flix repl |
+flix/repl-restart | restart flix repl |
+flix/set-jar-directory | set the directory flix.jar resides in |
+flix/send-line-to-repl | send line to flix repl |