auronen / emacs-daedalus-mode

Syntax highlighting and yas-snippets for Daedalus, the scripting language for Gothic 1 and 2.
MIT License
0 stars 0 forks source link

Emacs daedalus-mode

This is an attempt to create a daedalus-mode for emacs. Later to be used with Daedalus Language Server

Currently supports

Installation

Since this is a very early, and I don't really know how to prepare an Emacs package for easy install, I have the files in a separate folder in ~/.emacs.d/my-packages directory.

The files are placed in

(add-to-list 'load-path "~/.emacs.d/my-packages")
(load "daedalus.el") ; the code for daedalus-mode

You will also have to add the path to yas-snippets, like so:

(setq yas-snippet-dirs (append yas-snippet-dirs
                               '(.emacs.d/my-packages/daedalus-snippets)))