if version >= 600 filetype plugin indent on filetype detect au BufEnter *.c,*.C,*.cpp,*.h,*.H,*.cc,*.cmd,*.java,*.y,*.l set expandtab au BufEnter *.pl,*.cgi,*.pm,*.php,*.php4 set expandtab else au BufEnter *.c,*.C,*.cpp,*.h,*.H,*.cc,*.cmd,*.java,*.y,*.l set cindent expandtab au BufEnter *.pl,*.cgi,*.pm,*.php,*.php4 set si ai expandtab endif if has("syntax") if has("gui_running") set background=dark " Use lucidasans as main font, if that's not found, use fixed. set guifont=lucidasanstypewriter,fixed endif syntax on endif