for DMD: set errorformat+=%f(%l):\ %m
You can also set up a "make" program like this: set makeprg="rebuild\ %\ -c\"
You can download the ctag binary patched with D support from this wiki page: ReferenceForTools/ExuberantCtags
Make sure your ctag binary is in your path, or otherwise callable from a shell/command prompt.
The Taglist plugin can be downloaded from: http://vim.sourceforge.net/scripts/script.php?script_id=273
You will need to add a variable to your vimrc file, and provide some formatting options. Furthermore, you will need to activate filetype detection. Here's what your vimrc might look like:
- filetype on
- filetype plugin on
- autocmd BufNewFile,BufRead *.di setfiletype d
- let tlist_d_settings='d;c:classes;d:macro definitions;e:enumerators'
- nnoremap <silent> <F2> :TlistToggle<CR>
You should now be able to call :TlistOpen with some D files opened in Vim.
Development of d.vim now occurs on GitHub's d.vim site where there is a bug tracking system and a more open development process. Releases will still be placed on the vim scripts page, but now contributions can be much more easily managed in the open for all to partake.