Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 944 Bytes

Tooling.md

File metadata and controls

32 lines (23 loc) · 944 Bytes

Tooling

Vim

https://github.com/hellerve/carp-vim

Emacs

This repo contains a hacked-together Emacs package that depends on Clojure mode being installed. It will hopefully be rewritten and put into one of the package managers eventually, for now you can do something like this to config it:

(add-to-list 'load-path "~/your/path/to/Carp/emacs")

(require 'carp-mode)
(require 'inf-carp-mode)

(add-to-list 'auto-mode-alist '("\\.carp\\'" . carp-mode))

For Flycheck:

(require 'carp-flycheck)

(add-hook 'carp-mode-hook
          (lambda ()
            (flycheck-mode 1)))

To start an interactive session, make sure carp is in your path (inside Emacs) and execute M-x run-carp.

Other editors

Clojure syntax highlighting works very well with Carp since it uses the same symbols for most things. If you have written an editor mode, please tell us and it will be added here!