forked from aniani/vim
patch 9.0.1419: Lean files are not recognized
Problem: Lean files are not recognized. Solution: Add a pattern for Lean files. (Amaan Qureshi, closes #12177)
This commit is contained in:
committed by
Bram Moolenaar
parent
5fedb8a5ab
commit
4a5c39fc52
@@ -1112,6 +1112,9 @@ au BufNewFile,BufRead *.ldif setf ldif
|
|||||||
" Ld loader
|
" Ld loader
|
||||||
au BufNewFile,BufRead *.ld setf ld
|
au BufNewFile,BufRead *.ld setf ld
|
||||||
|
|
||||||
|
" Lean
|
||||||
|
au BufNewFile,BufRead *.lean setf lean
|
||||||
|
|
||||||
" Ledger
|
" Ledger
|
||||||
au BufRead,BufNewFile *.ldg,*.ledger,*.journal setf ledger
|
au BufRead,BufNewFile *.ldg,*.ledger,*.journal setf ledger
|
||||||
|
|
||||||
|
|||||||
@@ -320,6 +320,7 @@ let s:filename_checks = {
|
|||||||
\ 'latte': ['file.latte', 'file.lte'],
|
\ 'latte': ['file.latte', 'file.lte'],
|
||||||
\ 'ld': ['file.ld'],
|
\ 'ld': ['file.ld'],
|
||||||
\ 'ldif': ['file.ldif'],
|
\ 'ldif': ['file.ldif'],
|
||||||
|
\ 'lean': ['file.lean'],
|
||||||
\ 'ledger': ['file.ldg', 'file.ledger', 'file.journal'],
|
\ 'ledger': ['file.ldg', 'file.ledger', 'file.journal'],
|
||||||
\ 'less': ['file.less'],
|
\ 'less': ['file.less'],
|
||||||
\ 'lex': ['file.lex', 'file.l', 'file.lxx', 'file.l++'],
|
\ 'lex': ['file.lex', 'file.l', 'file.lxx', 'file.l++'],
|
||||||
|
|||||||
@@ -695,6 +695,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 */
|
||||||
|
/**/
|
||||||
|
1419,
|
||||||
/**/
|
/**/
|
||||||
1418,
|
1418,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user