From 6b540d7db030e4110aa3a31dd06c6c41387444db Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 2 Mar 2020 00:34:02 +0100 Subject: Update --- ftdetect/polyglot.vim | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index b3b6ea4c..d896692b 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -831,8 +831,10 @@ 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 +autocmd BufNewFile,BufRead *.wl setfiletype mma +autocmd BufNewFile,BufRead *.wls setfiletype mma +autocmd BufNewFile,BufRead *.nb setfiletype mma +autocmd BufNewFile,BufRead *.m setfiletype mma augroup end endif @@ -913,7 +915,7 @@ endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ocaml') == -1 augroup filetypedetect " ocaml, from dune.vim in rgrinberg/vim-ocaml -au BufRead,BufNewFile jbuild,dune,dune-project set ft=dune +au BufRead,BufNewFile jbuild,dune,dune-project,dune-workspace set ft=dune augroup end endif -- cgit v1.2.3