vim-patch:9.0.1261: Elsa files are not recognized (#22047)

Problem: Elsa files are not recognized.
Solution: Add the name of Elsa files. (Amaan Qureshi)

2a99fe6c41
This commit is contained in:
Amaan Qureshi 2023-01-29 14:19:07 -05:00 committed by GitHub
parent 9cb3b276bd
commit c9ac4e4877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -332,6 +332,7 @@ local extension = {
am = 'elf',
exs = 'elixir',
elm = 'elm',
lc = 'elsa',
elv = 'elvish',
ent = function(path, bufnr)
return require('vim.filetype.detect').ent(bufnr)

View File

@ -181,6 +181,7 @@ let s:filename_checks = {
\ 'elixir': ['file.ex', 'file.exs', 'mix.lock'],
\ 'elm': ['file.elm'],
\ 'elmfilt': ['filter-rules'],
\ 'elsa': ['file.lc'],
\ 'elvish': ['file.elv'],
\ 'epuppet': ['file.epp'],
\ 'erlang': ['file.erl', 'file.hrl', 'file.yaws'],