Skip to content

A GNU Emacs major mode for editing and compiling Ethereum Serpent code.

License

Notifications You must be signed in to change notification settings

rheaplex/serpent-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serpent-mode.el
===============

By Rob Myers <rob@robyers.org>

Emacs support for editing Serpent code.


Installation
============

Major Mode
----------

To install the Emacs major mode, add the file serpent-mode.el to your Emacs
load path. You can then load it by typing the following in Emacs:

 M-x serpent-mode

Alternatively you can have Emacs load it automatically for files with a .se
extension by adding the following to your .emacs file:
 
(require 'serpent-mode)
(add-to-list 'auto-mode-alist '("\\.se$" . serpent-mode))

Autocomplete
------------

To install the autocomplete dictionary, copy the file ``serpent-mode'' to the
autocomplete directory in your autoload dictionary directory. e.g.:

cp serpent-mode ~/.emacs.d/ac-dict

Then rebuild the autocomplete cache by typing the following in Emacs:

M-x ac-clear-dictionary-cache

Other Files
-----------

You don't need to install dev-serpent-mode.el, it just contains code used in
making the regular expressions used by serpent-mode.el .

About

A GNU Emacs major mode for editing and compiling Ethereum Serpent code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published