Skip to content

Commit

Permalink
Update .vimrc
Browse files Browse the repository at this point in the history
  • Loading branch information
guodongxiaren committed Sep 15, 2014
1 parent 802327d commit beb7971
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ func SetTitle()
call append(line(".")+6, "#include<stdio.h>")
call append(line(".")+7, "")
endif
if expand("%:e")== 'h'
call append(line(".")+6, "#ifndef _".toupper(expand("%:r"))."_H")
call append(line(".")+7, "#define _".toupper(expand("%:r"))."_H")
if expand("%:e") == 'h'
call append(line(".")+6, "#ifndef _".toupper(expand("%:r"))."_H")
call append(line(".")+7, "#define _".toupper(expand("%:r"))."_H")
call append(line(".")+8, "#endif")
endif
if &filetype == 'java'
Expand Down

0 comments on commit beb7971

Please sign in to comment.