Skip to content

Instantly share code, notes, and snippets.

@rfay
Created February 9, 2011 05:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save rfay/817941 to your computer and use it in GitHub Desktop.
Save rfay/817941 to your computer and use it in GitHub Desktop.
testing this vimrc
1. The watchdog() in the user_block_user was using $user without initializing.
2. The bug I'm actually working on (inability to assign).
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
@rfaytest
Copy link

rfaytest commented Feb 9, 2011

This is a comment on this thing.

@rfaytest
Copy link

rfaytest commented Feb 9, 2011

I could really make a big comment

  • With sub-points and all
  • and more.
  1. Do something
  2. Do something else
  3. More.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment