This repository contains Emacs Lisp codes for finkel-mode
, a major
mode for editing Finkel code with Emacs.
At the time of writing, finkel-mode
is not yet available as a
package from a public repository such as MELPA. So one needs to
install from the source.
To install manually, clone this repository:
$ git clone https://github.com/finkel-lang/finkel-mode
and add the cloned directory to the load-path
. E.g.: add below to
~/.emacs
:
(add-to-list 'load-path "/path/to/the/cloned/repository/")
(autoload 'finkel-mode "finkel-mode" nil t)
To start an interactive session, open a file with .fnk
extension,
then hit Ctrl-z
.
This will ask the user to run a REPL via stack exec
with given
stack.yaml
, or via cabal v2-exec
with given cabal.project
,
or use the finkel
executable available in the system.
Contributions are welcome. Please see the CONTRIBUTING.md.