summaryrefslogtreecommitdiffstats
path: root/syntax/dd.vim
blob: c634232a4a0e50b7c0073476df60123524e9e10d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
let files = filter(globpath(&rtp, 'syntax/dd.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
if len(files) > 0
  exec 'source ' . files[0]
  finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dlang') == -1

runtime! /syntax/ddoc.vim

endif