Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lammps
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
multiscale
lammps
Commits
5747c99c
Commit
5747c99c
authored
12 years ago
by
sjplimp
Browse files
Options
Downloads
Patches
Plain Diff
git-svn-id:
svn://svn.icms.temple.edu/lammps-ro/trunk@8330
f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent
b89f0059
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/vim/lammps.vim
+43
-43
43 additions, 43 deletions
tools/vim/lammps.vim
with
43 additions
and
43 deletions
tools/vim/lammps.vim
+
43
−
43
View file @
5747c99c
" Vim syntax file
" Vim syntax file
" Language: Lammps Simulation Script File
" Language: Lammps Simulation Script File
" Maintainer: Gerolf Ziegenhain <gerolf@ziegenhain.com>
" Maintainer: Gerolf Ziegenhain <gerolf@ziegenhain.com>
" Updates: Axel Kohlmeyer <akohlmey@gmail.com>, Sam Bateman <sam.bateman@nrlssc.navy.mil>
" Updates: Axel Kohlmeyer <akohlmey@gmail.com>, Sam Bateman <sam.bateman@nrlssc.navy.mil>
, Daniel Möller Montull <d.moller.m@gmail.com>
" Latest Revision: 201
0-11-25
" Latest Revision: 201
2-06-19
syn
clear
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
lammpsRead
include
read
read_restart read_data
syn
keyword
lammpsLattice
boundary units atom_style lattice region create_box create_atoms dielectric
syn
keyword
lammpsLattice
boundary units atom_style lattice region create_box create_atoms dielectric
syn
keyword
lammpsLattice
delete_atoms change_box dimension replicate
syn
keyword
lammpsLattice
delete_atoms change_box dimension replicate
syn
keyword
lammpsParticle
pair_coeff pair_style pair_modify mass velocity angle_coeff angle_style
syn
keyword
lammpsParticle
pair_coeff pair_style pair_modify mass velocity angle_coeff angle_style
syn
keyword
lammpsParticle
atom_modify atom_style bond_coeff bond_style delete_bonds kspace_style
syn
keyword
lammpsParticle
atom_modify atom_style bond_coeff bond_style delete_bonds kspace_style
syn
keyword
lammpsParticle
kspace_modify dihedral_style dihedral_coeff improper_style improper_coeff
syn
keyword
lammpsParticle
kspace_modify dihedral_style dihedral_coeff improper_style improper_coeff
syn
keyword
lammpsSetup
min_style fix_modify run_style timestep neighbor neigh_modify
fix
unfix
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
lammpsSetup
communicate newton nthreads processors reset_timestep
syn
keyword
lammpsRun
minimize run
syn
keyword
lammpsRun
minimize run
syn
keyword
lammpsDefine
variable group
syn
keyword
lammpsDefine
variable group
compute
syn
keyword
lammpsRepeat
jump
next
loop
syn
keyword
lammpsRepeat
jump
next
loop
syn
keyword
lammpsOperator
equal
add
sub mult div
syn
keyword
lammpsOperator
equal
add
sub mult div
syn
keyword
lammpsConditional
if
then elif
else
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
syn
region
lammpsString
start
=+
"+ end=+"
+
oneline
syn
region
lammpsString start
=+
"+ end=+"
+
oneline
syn
match
lammpsNumber
"\<[0-9]\+[ij]\=\>"
syn
match
lammpsNumber
"\<[0-9]\+[ij]\=\>"
syn
match
lammpsFloat
"\<[0-9]\+\.[0-9]*\([edED][-+]\=[0-9]\+\)\=[ij]\=\>"
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
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-Z0-9_]\+}\)"
syn
match
lammpsVariable
"\$[A-Za-z]"
syn
match
lammpsVariable
"\$[A-Za-z]"
if
!
exists
(
"did_lammps_syntax_inits"
)
if
!
exists
(
"did_lammps_syntax_inits"
)
let
did_lammps_syntax_inits
=
1
let
did_lammps_syntax_inits
=
1
hi
link lammpsOutput
Function
hi
link lammpsOutput
Function
hi
link lammpsRepeat
Repeat
hi
link lammpsRepeat
Repeat
hi
link lammpsRead
Include
hi
link lammpsRead
Include
hi
link lammpsLattice
Typedef
hi
link lammpsLattice Typedef
hi
link lammpsParticle
Typedef
hi
link lammpsParticle
Typedef
hi
link lammpsSetup
Typedef
hi
link lammpsSetup
Typedef
hi
link lammpsDefine
Define
hi
link lammpsDefine
Define
hi
link lammpsRun
Statement
hi
link lammpsRun
Statement
hi
link lammpsNumber
Number
hi
link lammpsNumber Number
hi
link lammpsFloat
Float
hi
link lammpsFloat Float
hi
link lammpsString
String
hi
link lammpsString String
hi
link lammpsComment
Comment
hi
link lammpsComment Comment
hi
link lammpsLoop
Repeat
hi
link lammpsLoop
Repeat
hi
link lammpsVariable
Identifier
hi
link lammpsVariable
Identifier
hi
link lammpsConditional
Conditional
hi
link lammpsConditional
Conditional
hi
link lammpsOperator
Operator
hi
link lammpsOperator
Operator
hi
link lammpsSpecial
Number
hi
link lammpsSpecial
Number
endif
endif
let
b:current_syntax
=
"lammps"
let
b:current_syntax
=
"lammps"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment