diff options
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r-- | ftdetect/polyglot.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 65650431..6869abf5 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -34,6 +34,10 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cucumber') == - autocmd BufNewFile,BufReadPost *.feature,*.story set filetype=cucumber endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dart') == -1 + +autocmd BufRead,BufNewFile *.dart set filetype=dart +endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dockerfile') == -1 au BufNewFile,BufRead Dockerfile set filetype=dockerfile |