On Saturday, 15 February 2014 at 15:33:55 UTC, Jakob Lundberg
wrote:
Nice video! It was very good.
Is there any chance that you would be willing to share your Vim
configuration? In particular the integration with DCD.
let
g:dcd_importPath=['/home/simendsjo/.dub/packages/vibe-d-master/source',
'/home/simendsjo/.dub/packages/ncurses-master',
'/usr/include/dlang/dmd',
'/usr/include/dlang/dmd/druntime/import']
au BufNewFile,BufRead,BufEnter *.d set omnifunc=dcomplete#Complete
autocmd Filetype jade call SetJadeFTOptions()
function SetJadeFTOptions()
setlocal ts=2
setlocal shiftwidth=2
setlocal softtabstop=2
endfunction
" vibe.d diet tamplates are pretty much jade files
autocmd BufNewFile,BufReadPost *.dt set filetype=jade