Skip to content

aiken-lang/aiken-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emacs mode for aiken

An emacs major mode providing syntax highlighting, indentation and formatting commands for the Aiken smart contract language.

Features

  • Syntax highlighting
  • aiken fmt command and on-save
  • Indentation
  • Aiken LSP client

Installation

The package is not yet on MELPA, so pointing your emacs config to this repository is the way to go for now.

doom-emacs (recommended 😈)

Add this to your packages.el:

(package! aiken-mode
  :recipe (:host github :repo "aiken-lang/aiken-mode"))

Add this to your config.el:

(use-package! aiken-mode)

and run doom sync.

For faster feedback time during development:

(package! aiken-mode
  :recipe (:local-repo "~/path/to/aiken-mode"))

use-package

(use-package aiken-mode
  :load-path "~/path/to/aiken-mode")

vanilla

(add-to-list 'load-path "~/path/to/aiken-mode")
(load-library "aiken-mode")