forked from aniani/vim
patch 8.2.0873: a .jl file can be sawfish (lisp) or Julia
Problem: A .jl file can be sawfish (lisp) or Julia. Solution: Do not recognize *.jl as lisp, since it might be Julia. (closes #6178)
This commit is contained in:
@@ -887,11 +887,12 @@ au BufNewFile,BufRead *.ll setf lifelines
|
|||||||
" Lilo: Linux loader
|
" Lilo: Linux loader
|
||||||
au BufNewFile,BufRead lilo.conf setf lilo
|
au BufNewFile,BufRead lilo.conf setf lilo
|
||||||
|
|
||||||
" Lisp (*.el = ELisp, *.cl = Common Lisp, *.jl = librep Lisp)
|
" Lisp (*.el = ELisp, *.cl = Common Lisp)
|
||||||
|
" *.jl was removed, it's also used for Julia, better skip than guess wrong.
|
||||||
if has("fname_case")
|
if has("fname_case")
|
||||||
au BufNewFile,BufRead *.lsp,*.lisp,*.el,*.cl,*.jl,*.L,.emacs,.sawfishrc setf lisp
|
au BufNewFile,BufRead *.lsp,*.lisp,*.el,*.cl,*.L,.emacs,.sawfishrc setf lisp
|
||||||
else
|
else
|
||||||
au BufNewFile,BufRead *.lsp,*.lisp,*.el,*.cl,*.jl,.emacs,.sawfishrc setf lisp
|
au BufNewFile,BufRead *.lsp,*.lisp,*.el,*.cl,.emacs,.sawfishrc setf lisp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" SBCL implementation of Common Lisp
|
" SBCL implementation of Common Lisp
|
||||||
|
@@ -252,7 +252,7 @@ let s:filename_checks = {
|
|||||||
\ 'lilo': ['lilo.conf'],
|
\ 'lilo': ['lilo.conf'],
|
||||||
\ 'limits': ['/etc/limits', '/etc/anylimits.conf', '/etc/anylimits.d/file.conf'],
|
\ 'limits': ['/etc/limits', '/etc/anylimits.conf', '/etc/anylimits.d/file.conf'],
|
||||||
\ 'liquid': ['file.liquid'],
|
\ 'liquid': ['file.liquid'],
|
||||||
\ 'lisp': ['sbclrc', '.sbclrc'],
|
\ 'lisp': ['file.lsp', 'file.lisp', 'file.el', 'file.cl', '.emacs', '.sawfishrc', 'sbclrc', '.sbclrc'],
|
||||||
\ 'lite': ['file.lite', 'file.lt'],
|
\ 'lite': ['file.lite', 'file.lt'],
|
||||||
\ 'litestep': ['/LiteStep/any/file.rc'],
|
\ 'litestep': ['/LiteStep/any/file.rc'],
|
||||||
\ 'loginaccess': ['/etc/login.access'],
|
\ 'loginaccess': ['/etc/login.access'],
|
||||||
|
@@ -746,6 +746,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 */
|
||||||
|
/**/
|
||||||
|
873,
|
||||||
/**/
|
/**/
|
||||||
872,
|
872,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user