diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-04-23 11:37:21 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-04-23 11:37:21 +0200 |
commit | 415261dd1f4ce4b547da922f3f2c2e56340fb0d6 (patch) | |
tree | cd41afefa3fc261e60b1082acb714b9cd94740aa /ftdetect | |
parent | 4d18a5e5dd427a2962fe34c6a12007cac67ce89c (diff) | |
download | vim-polyglot-415261dd1f4ce4b547da922f3f2c2e56340fb0d6.tar.gz vim-polyglot-415261dd1f4ce4b547da922f3f2c2e56340fb0d6.zip |
Switch mathematica provider, closes #385
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 93911270..fdcab84d 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -758,6 +758,14 @@ au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn}.{des3,des,bf,bfa,aes,i augroup end endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'mathematica') == -1 + augroup filetypedetect + " mathematica, from mma.vim in voldikss/vim-mma +autocmd BufNewFile,BufRead *.wl set filetype=mma +autocmd BufNewFile,BufRead *.wls set filetype=mma + augroup end +endif + if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'mdx') == -1 augroup filetypedetect " mdx, from mdx.vim in jxnblk/vim-mdx-js |