1
0
forked from aniani/vim

patch 8.2.3603: fish filetype not recognized

Problem:    Fish filetype not recognized.
Solution:   Add a file pattern and match script line. (Doug Kearns)
This commit is contained in:
Bram Moolenaar
2021-11-16 15:28:10 +00:00
parent 1be7e21583
commit b1b163efd7
4 changed files with 11 additions and 0 deletions

View File

@@ -180,6 +180,7 @@ let s:filename_checks = {
\ 'fennel': ['file.fnl'],
\ 'fetchmail': ['.fetchmailrc'],
\ 'fgl': ['file.4gl', 'file.4gh', 'file.m4gl'],
\ 'fish': ['file.fish'],
\ 'focexec': ['file.fex', 'file.focexec'],
\ 'forth': ['file.fs', 'file.ft', 'file.fth'],
\ 'fortran': ['file.f', 'file.for', 'file.fortran', 'file.fpp', 'file.ftn', 'file.f77', 'file.f90', 'file.f95', 'file.f03', 'file.f08'],
@@ -662,6 +663,7 @@ let s:script_checks = {
\ 'pascal': [['#!/path/instantfpc']],
\ 'fennel': [['#!/path/fennel']],
\ 'routeros': [['#!/path/rsc']],
\ 'fish': [['#!/path/fish']],
\ }
" Various forms of "env" optional arguments.

View File

@@ -757,6 +757,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3603,
/**/
3602,
/**/