Commit fdc735ee authored by athomps's avatar athomps
Browse files

Added new instructions and new commands

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5353 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent b2f72fbd
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -3,7 +3,8 @@

The files provided in this directory will enable syntax highlighting
for the lammps script syntax in vim. The simulation scripts have to
end on .lmp (see mysyntax.vim).  By far not all commands are included
end on *.lmp or start with in.* (see mysyntax.vim).  
By far not all commands are included
in the syntax file (lammps.vim). You can easily add new ones.

=To enable the highlighting:
@@ -31,11 +32,8 @@ if exists("did_load_filetypes")
endif

augroup filetypedetect
 au! BufRead,BufNewFile *.pdb          setfiletype none
 au! BufRead,BufNewFile *.psf          setfiletype none

 au! BufRead,BufNewFile *.cu           setfiletype c
 au! BufRead,BufNewFile in.*           setfiletype lammps
 au! BufRead,BufNewFile *.lmp          setfiletype lammps
augroup END
(4) the end

+1 −0
Original line number Diff line number Diff line
augroup syntax
au  BufNewFile,BufReadPost *.lmp so ~/.vim/lammps.vim
au  BufNewFile,BufReadPost in.* so ~/.vim/lammps.vim
augroup END