Skip to content

Instantly share code, notes, and snippets.

@mrklein
Created February 15, 2013 16:29
Show Gist options
  • Save mrklein/4961510 to your computer and use it in GitHub Desktop.
Save mrklein/4961510 to your computer and use it in GitHub Desktop.
" OpenFOAM/FreeFOAM
autocmd BufRead *.[CH] set expandtab shiftwidth=4 filetype=cpp
autocmd BufRead *.[CH] set cindent cinoptions=+s-2,(s,U1,is,g0,Ws,l1,t0 cinkeys=0{,0},0),:,!^F,o,O,e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment