diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-09-03 19:21:36 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-09-03 19:21:36 +0200 |
commit | deba5eb195d6ac70171d4973091fa884809fa3fa (patch) | |
tree | fa8ac070928827ae49d82f6132e027a643868def /runtime/filetype.vim | |
parent | af631f61bc42d0dddafe1bc0c06872cf3aaeb239 (diff) |
patch 8.2.3399: Octave files are not recognizedv8.2.3399
Problem: Octave files are not recognized.
Solution: Detect Octave files. (Doug Kearns)
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 06038e94d1..0975ccd2d4 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1029,7 +1029,7 @@ au BufNewFile,BufRead *.markdown,*.mdown,*.mkd,*.mkdn,*.mdwn,*.md setf markdown " Mason au BufNewFile,BufRead *.mason,*.mhtml,*.comp setf mason -" Mathematica, Matlab, Murphi or Objective C +" Mathematica, Matlab, Murphi, Objective C or Octave au BufNewFile,BufRead *.m call dist#ft#FTm() " Mathematica notebook @@ -1175,6 +1175,9 @@ au BufNewFile,BufRead *.ml,*.mli,*.mll,*.mly,.ocamlinit,*.mlt,*.mlp,*.mlip,*.mli " Occam au BufNewFile,BufRead *.occ setf occam +" Octave +au BufNewFile,BufRead octave.conf,.octaverc,octaverc setf octave + " Omnimark au BufNewFile,BufRead *.xom,*.xin setf omnimark |