git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8330 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2012-06-19 15:32:37 +00:00
parent b89f00596c
commit 5747c99cd8

View File

@ -1,12 +1,12 @@
" Vim syntax file
" Language: Lammps Simulation Script File
" Maintainer: Gerolf Ziegenhain <gerolf@ziegenhain.com>
" Updates: Axel Kohlmeyer <akohlmey@gmail.com>, Sam Bateman <sam.bateman@nrlssc.navy.mil>
" Latest Revision: 2010-11-25
" Updates: Axel Kohlmeyer <akohlmey@gmail.com>, Sam Bateman <sam.bateman@nrlssc.navy.mil>, Daniel Möller Montull <d.moller.m@gmail.com>
" Latest Revision: 2012-06-19
syn clear
syn keyword lammpsOutput log write_restart dump undump thermo thermo_modify thermo_style print
syn keyword lammpsOutput log write_restart restart dump undump thermo thermo_modify thermo_style print
syn keyword lammpsRead include read read_restart read_data
syn keyword lammpsLattice boundary units atom_style lattice region create_box create_atoms dielectric
syn keyword lammpsLattice delete_atoms change_box dimension replicate
@ -16,7 +16,7 @@ syn keyword lammpsParticle kspace_modify dihedral_style dihedral_coeff improp
syn keyword lammpsSetup min_style fix_modify run_style timestep neighbor neigh_modify fix unfix
syn keyword lammpsSetup communicate newton nthreads processors reset_timestep
syn keyword lammpsRun minimize run
syn keyword lammpsDefine variable group
syn keyword lammpsDefine variable group compute
syn keyword lammpsRepeat jump next loop
@ -24,7 +24,7 @@ syn keyword lammpsOperator equal add sub mult div
syn keyword lammpsConditional if then elif else
syn keyword lammpsSpecial EDGE NULL
syn keyword lammpsSpecial EDGE NULL &
syn region lammpsString start=+'+ end=+'+ oneline
syn region lammpsString start=+"+ end=+"+ oneline
@ -34,7 +34,7 @@ syn match lammpsFloat "\<[0-9]\+\.[0-9]*\([edED][-+]\=[0-9]\+\)\=[ij]\=\>"
syn match lammpsFloat "\.[0-9]\+\([edED][-+]\=[0-9]\+\)\=[ij]\=\>"
syn match lammpsFloat "\<[0-9]\+[edED][-+]\=[0-9]\+[ij]\=\>"
syn match lammpsComment "#.*$"
syn match lammpsComment "#\(.*&\s*\n\)*.*$"
syn match lammpsVariable "\$\({[a-zA-Z0-9_]\+}\)"
syn match lammpsVariable "\$[A-Za-z]"