Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
augroup syntax
au BufNewFile,BufReadPost *.lmp so ~/.vim/lammps.vim
au BufNewFile,BufReadPost in.* so ~/.vim/lammps.vim
augroup END
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment