Last active
January 3, 2016 12:49
-
-
Save h14i/8465687 to your computer and use it in GitHub Desktop.
FileType d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" For gf, [I, i_CTRL-X_CTRL-I | |
" There is a need to modify path because it is suit my environment. | |
setlocal suffixesadd=.d,.di | |
let &l:include = '^\s*\%(\%(public\|static\)\s\+\)\?\<import' | |
" let &l:path = '.,' . g:V.system('denv prefix')[:-2] . '/src/*,' . &l:path . ',,' | |
setlocal path=.,/path/to/dmd/src/**,, | |
let &l:includeexpr = 'substitute(substitute(v:fname, "\\.", "/", "g"), "$", ".d", "")' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment