Changeset 12954
- Timestamp:
- 08/09/12 11:58:35 (13 years ago)
- Location:
- issm/trunk-jpl/externalpackages/vim/addons
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/vim/addons/vim/syntax/Synchronize.sh
r12911 r12954 17 17 find ../../../../../src/c/classes -name "*.h" | sed -e "s/\// /g" -e "s/\.h//"| awk '{print $(NF)}' | awk '{ printf "syn keyword cType " $1 "\n"}'>> temp 18 18 cat c.vim | sed "1,/ISSM's objects end/d" >> temp 19 echo "\"ISSM's objects end" >> temp 19 20 20 21 mv temp c.vim -
issm/trunk-jpl/externalpackages/vim/addons/vim/syntax/c.vim
r12953 r12954 408 408 syn keyword cType Vec Mat SeqVec SeqMat 409 409 "other ISSM's syntax 410 syn keyword cType mxArray ErrorException QuadtreeBox IssmDouble IssmPDouble 410 syn keyword cType mxArray ErrorException QuadtreeBox IssmDouble IssmPDouble Observations 411 411 412 412 "ISSM's objects begin … … 567 567 syn keyword cType IoModel 568 568 syn keyword cType FemModel 569 "ISSM's objects end -
issm/trunk-jpl/externalpackages/vim/addons/vimrc
r10985 r12954 203 203 au BufRead,BufNewFile *.c* iabbr <silent> p1 printf("\n");<Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR> 204 204 au BufRead,BufNewFile *.c*,*.h iabbr <silent> ER _error_("");<Left><Left><Left><C-R>=Eatchar('\s')<CR> 205 au BufRead,BufNewFile *.py iabbr <silent> ER raise NameError('')<Left><Left><C-R>=Eatchar('\s')<CR> 206 au BufRead,BufNewFile *.m iabbr <silent> ER error('');<Left><Left><Left><C-R>=Eatchar('\s')<CR> 205 207 au BufRead,BufNewFile *.c* ab VV VecView(ug,PETSC_VIEWER_STDOUT_WORLD); 206 208 au BufRead,BufNewFile *.c* ab AS _assert_();
Note:
See TracChangeset
for help on using the changeset viewer.