Skip to content

Instantly share code, notes, and snippets.

@rfaytest
Forked from rfay/A second file
Created February 9, 2011 05:53
Show Gist options
  • Save rfaytest/817973 to your computer and use it in GitHub Desktop.
Save rfaytest/817973 to your computer and use it in GitHub Desktop.
1. The watchdog() in the user_block_user was using $user without initializing.
2. The bug I'm actually working on (inability to assign).
Forked again?
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