mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
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\>'
|
||||
set ft=icon
|
||||
|
||||
# Guile
|
||||
elseif name =~ 'guile'
|
||||
set ft=scheme
|
||||
|
||||
endif
|
||||
enddef
|
||||
|
||||
|
@ -735,6 +735,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
42,
|
||||
/**/
|
||||
41,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user