mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 9.1.0242: filetype: octave history files are not recognized
Problem: filetype: octave history files are not recognized Solution: Detect octave/history files as octave (Wu, Zhenyu) closes: #14363 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
6b285c8cfd
commit
be71ac694f
@@ -1501,7 +1501,7 @@ au BufNewFile,BufRead *.ml,*.mli,*.mll,*.mly,.ocamlinit,*.mlt,*.mlp,*.mlip,*.mli
|
|||||||
au BufNewFile,BufRead *.occ setf occam
|
au BufNewFile,BufRead *.occ setf occam
|
||||||
|
|
||||||
" Octave
|
" Octave
|
||||||
au BufNewFile,BufRead octave.conf,.octaverc,octaverc setf octave
|
au BufNewFile,BufRead octave.conf,.octaverc,octaverc,*/octave/history setf octave
|
||||||
|
|
||||||
" Odin
|
" Odin
|
||||||
au BufNewFile,BufRead *.odin setf odin
|
au BufNewFile,BufRead *.odin setf odin
|
||||||
|
@@ -503,7 +503,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
obse: ['file.obl', 'file.obse', 'file.oblivion', 'file.obscript'],
|
obse: ['file.obl', 'file.obse', 'file.oblivion', 'file.obscript'],
|
||||||
ocaml: ['file.ml', 'file.mli', 'file.mll', 'file.mly', '.ocamlinit', 'file.mlt', 'file.mlp', 'file.mlip', 'file.mli.cppo', 'file.ml.cppo'],
|
ocaml: ['file.ml', 'file.mli', 'file.mll', 'file.mly', '.ocamlinit', 'file.mlt', 'file.mlp', 'file.mlip', 'file.mli.cppo', 'file.ml.cppo'],
|
||||||
occam: ['file.occ'],
|
occam: ['file.occ'],
|
||||||
octave: ['octaverc', '.octaverc', 'octave.conf'],
|
octave: ['octaverc', '.octaverc', 'octave.conf', 'any/.local/share/octave/history'],
|
||||||
odin: ['file.odin'],
|
odin: ['file.odin'],
|
||||||
omnimark: ['file.xom', 'file.xin'],
|
omnimark: ['file.xom', 'file.xin'],
|
||||||
opam: ['opam', 'file.opam', 'file.opam.template'],
|
opam: ['opam', 'file.opam', 'file.opam.template'],
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
242,
|
||||||
/**/
|
/**/
|
||||||
241,
|
241,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user