vim-patch:9.0.1288: FunC files are not recognized (#22153)

Problem:    FunC files are not recognized.
Solution:   Recognize FunC files. (Amaan Qureshi, closes vim/vim#11949)

91deac4539

Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
This commit is contained in:
Christian Clason 2023-02-07 10:29:37 +01:00 committed by GitHub
parent adae075fcf
commit 8fbe75b3dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -423,6 +423,7 @@ local extension = {
fsh = 'fsh',
fsi = 'fsharp',
fsx = 'fsharp',
fc = 'func',
fusion = 'fusion',
gdb = 'gdb',
gdmo = 'gdmo',

View File

@ -211,6 +211,7 @@ let s:filename_checks = {
\ 'fsh': ['file.fsh'],
\ 'fsharp': ['file.fs', 'file.fsi', 'file.fsx'],
\ 'fstab': ['fstab', 'mtab'],
\ 'func': ['file.fc'],
\ 'fusion': ['file.fusion'],
\ 'fvwm': ['/.fvwm/file', 'any/.fvwm/file'],
\ 'gdb': ['.gdbinit', 'gdbinit', 'file.gdb', '.config/gdbearlyinit', '.gdbearlyinit'],