git clone 'git://github.com/abingham/ponylang-mode.git'
“Pony is an object-oriented, actor-model, capabilities-secure, high performance programming language.” - ponylang.org
ponylang-mode is an Emacs mode for editing Pony code.
Right now the mode is very new and immature. This is my first time writing an editing mode, so it probably has all sorts of issues. Let me know, provide patches, etc…I'm very happy to accept contributions and feedback!
You can install
ponylang-mode via melpa. The fundamental way is with
M-x package-install ponylang-mode
Then just make sure you
(require ponylang-mode) at some point in
ponylang-mode doesn't take a lot of configuration
(i.e. it's too simple to need any). If you want to make sure your
indentation matches that in the
ponyc project's examples, you can
use something like this:
(add-hook 'ponylang-mode-hook (lambda () (set-variable 'indent-tabs-mode nil) (set-variable 'tab-width 2)))
If you're using the excellent
use-package to manage
your configuration, you can use something like the following to
install and configure
(use-package ponylang-mode :ensure t :config (progn (add-hook 'ponylang-mode-hook (lambda () (set-variable 'indent-tabs-mode nil) (set-variable 'tab-width 2)))))