forked from aniani/vim
patch 9.0.0042: missing change for filetype detection
Problem: Missing change for filetype detection. Solution: Include change to detect guile from shebang line.
This commit is contained in:
4
runtime/autoload/dist/script.vim
vendored
4
runtime/autoload/dist/script.vim
vendored
@@ -193,6 +193,10 @@ def DetectFromHashBang(firstline: string)
|
|||||||
elseif name =~ 'icon\>'
|
elseif name =~ 'icon\>'
|
||||||
set ft=icon
|
set ft=icon
|
||||||
|
|
||||||
|
# Guile
|
||||||
|
elseif name =~ 'guile'
|
||||||
|
set ft=scheme
|
||||||
|
|
||||||
endif
|
endif
|
||||||
enddef
|
enddef
|
||||||
|
|
||||||
|
@@ -735,6 +735,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 */
|
||||||
|
/**/
|
||||||
|
42,
|
||||||
/**/
|
/**/
|
||||||
41,
|
41,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user