3

I want to be able to write Pact code on Emacs. Is Pact available on Emacs? If so, how can I enable it?

1 Answers1

1

Pact is available on Melpa under the pact-mode and flycheck-pact packages. You can expose them in your init.el or .emacs by adding the following statements:

(require 'pact-mode)
(require 'flycheck-pact)

Or, if you'd like to hook flycheck so that it starts on startup, simply add a hook:

(require 'pact-mode)
(require 'flycheck-pact)
(add-hook 'pact-mode-hook 'flycheck-mode)
topos
  • 96
  • 3