Created
February 9, 2011 05:31
-
-
Save rfay/817941 to your computer and use it in GitHub Desktop.
testing this vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. The watchdog() in the user_block_user was using $user without initializing. | |
2. The bug I'm actually working on (inability to assign). | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
set expandtab | |
set tabstop=2 | |
set shiftwidth=2 | |
set autoindent | |
set smartindent | |
if has("autocmd") | |
" Drupal *.module files. | |
augroup module | |
autocmd BufRead *.inc set filetype=php | |
augroup END | |
augroup module | |
autocmd BufRead *.module set filetype=php | |
augroup END | |
augroup module | |
autocmd BufRead *.info set filetype=php | |
augroup END | |
endif | |
" Highlight chars that go over the 80-column limit | |
:highlight OverLength ctermbg=red ctermfg=white guibg=red guifg=white | |
:match OverLength '\%81v.*' | |
" Highlight redundant whitespaces and tabs. | |
highlight RedundantSpaces ctermbg=red guibg=red | |
match RedundantSpaces /\s\+$\| \+\ze\t\|\t/ | |
let php_sql_query = 1 | |
let php_baselib = 1 | |
let php_htmlInStrings = 1 | |
let php_folding = 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I could really make a big comment