diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2015-12-06 11:38:02 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2015-12-06 11:38:02 +0100 |
commit | 5658b62b7afb7d4855e2634d8d067cbdf1d332c9 (patch) | |
tree | 334b18c006622e75e7f6a3ed89a0091a1c8834e0 /ftdetect | |
parent | 938a2f1667820c0ac9d5b08d4118aaf53e76a0cb (diff) | |
download | vim-polyglot-5658b62b7afb7d4855e2634d8d067cbdf1d332c9.tar.gz vim-polyglot-5658b62b7afb7d4855e2634d8d067cbdf1d332c9.zip |
Add dart language support, closes #93
Diffstat (limited to 'ftdetect')
-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 |