Skip to content

Commit beb7971

Browse files
committed
Update .vimrc
1 parent 802327d commit beb7971

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.vimrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ func SetTitle()
148148
call append(line(".")+6, "#include<stdio.h>")
149149
call append(line(".")+7, "")
150150
endif
151-
if expand("%:e")== 'h'
152-
call append(line(".")+6, "#ifndef _".toupper(expand("%:r"))."_H")
153-
call append(line(".")+7, "#define _".toupper(expand("%:r"))."_H")
151+
if expand("%:e") == 'h'
152+
call append(line(".")+6, "#ifndef _".toupper(expand("%:r"))."_H")
153+
call append(line(".")+7, "#define _".toupper(expand("%:r"))."_H")
154154
call append(line(".")+8, "#endif")
155155
endif
156156
if &filetype == 'java'

0 commit comments

Comments
 (0)