mirror of https://github.com/lammps/lammps.git
6c8dd4a34a
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5360 f3b2605a-c512-4ea7-a41b-209d697bcdaa |
||
---|---|---|
.. | ||
README.txt | ||
lammps.el |
README.txt
=== Emacs Syntax Highlighting === Created by Aidan Thompson 12/2010 =============================== The lammps.el file provided in this directory will enable syntax highlighting for the lammps script syntax in emacs. The groupings of commands were copied from tools/vim. The simulation scripts have to end on *.lmp or start with in.* (see lammps.el). By far not all commands are included in the syntax file (lammps.el). You can easily add new ones to the existing classes. 'lammps-mode' is derived from 'shell-script-mode' which provides some basic syntax highlighting of strings, comments, etc. =To enable the highlighting: ============================ (0) Create/edit the emacs init file ~/.emacs to contain: (load "~/.emacs.d/lammps") This file may also be called ~/.emacs.el, or ~/.emacs.d/init.el (1) Copy lammps.el to the directory ~/.emacs.d