Skip to content

Commit 2538a50

Browse files
committed
Fixed comment style for PHP
1 parent f6c2f15 commit 2538a50

File tree

3 files changed

+86
-1451
lines changed

3 files changed

+86
-1451
lines changed

.vimrc

+4-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ set nowb " suppress creation of ~ files
341341
au BufRead,BufNewFile *.txt setfiletype html
342342

343343
" force php files to be treated as php/html - necessary for snipmate to work
344-
au BufRead,BufNewFile *.php set filetype=php.html
344+
"au BufRead,BufNewFile *.php set filetype=php.html
345345

346346
" IMPORTANT: grep will sometimes skip displaying the file name if you
347347
" search in a singe file. This will confuse Latex-Suite. Set your grep
@@ -406,3 +406,6 @@ nnoremap <F7> :GundoToggle<CR>
406406
407407
" bind the PHPDoc command to C-P only for php files
408408
nnoremap <C-P> :call PhpDoc()<CR>
409+
410+
" fixing comment style for PHP (this got changed somewhere)
411+
au Filetype php set comments=sr:/**,m:*\ ,ex:*/,://

0 commit comments

Comments
 (0)