mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.1.0591: filetype: *.wl files are not recognized
Problem: filetype: *.wl files are not recognized Solution: Detect '*.wl' files as Mathematica package files (Jonas Dujava) closes: #15269 Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com> Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
d4d1207208
commit
c6d7dc0393
@ -1418,8 +1418,8 @@ au BufNewFile,BufRead *.mason,*.mhtml,*.comp setf mason
|
|||||||
" Mathematica, Matlab, Murphi, Objective C or Octave
|
" Mathematica, Matlab, Murphi, Objective C or Octave
|
||||||
au BufNewFile,BufRead *.m call dist#ft#FTm()
|
au BufNewFile,BufRead *.m call dist#ft#FTm()
|
||||||
|
|
||||||
" Mathematica notebook
|
" Mathematica notebook and package files
|
||||||
au BufNewFile,BufRead *.nb setf mma
|
au BufNewFile,BufRead *.nb,*.wl setf mma
|
||||||
|
|
||||||
" Maya Extension Language
|
" Maya Extension Language
|
||||||
au BufNewFile,BufRead *.mel setf mel
|
au BufNewFile,BufRead *.mel setf mel
|
||||||
|
@ -471,7 +471,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
mgp: ['file.mgp'],
|
mgp: ['file.mgp'],
|
||||||
mib: ['file.mib', 'file.my'],
|
mib: ['file.mib', 'file.my'],
|
||||||
mix: ['file.mix', 'file.mixal'],
|
mix: ['file.mix', 'file.mixal'],
|
||||||
mma: ['file.nb'],
|
mma: ['file.nb', 'file.wl'],
|
||||||
mmp: ['file.mmp'],
|
mmp: ['file.mmp'],
|
||||||
modconf: ['/etc/modules.conf', '/etc/modules', '/etc/conf.modules', '/etc/modprobe.file', 'any/etc/conf.modules', 'any/etc/modprobe.file', 'any/etc/modules', 'any/etc/modules.conf'],
|
modconf: ['/etc/modules.conf', '/etc/modules', '/etc/conf.modules', '/etc/modprobe.file', 'any/etc/conf.modules', 'any/etc/modprobe.file', 'any/etc/modules', 'any/etc/modules.conf'],
|
||||||
modula3: ['file.m3', 'file.mg', 'file.i3', 'file.ig', 'file.lm3'],
|
modula3: ['file.m3', 'file.mg', 'file.i3', 'file.ig', 'file.lm3'],
|
||||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
591,
|
||||||
/**/
|
/**/
|
||||||
590,
|
590,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user