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
2 changed files with 2 additions and 0 deletions

View File

@@ -332,6 +332,7 @@ local extension = {
am = 'elf', am = 'elf',
exs = 'elixir', exs = 'elixir',
elm = 'elm', elm = 'elm',
lc = 'elsa',
elv = 'elvish', elv = 'elvish',
ent = function(path, bufnr) ent = function(path, bufnr)
return require('vim.filetype.detect').ent(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'], \ 'elixir': ['file.ex', 'file.exs', 'mix.lock'],
\ 'elm': ['file.elm'], \ 'elm': ['file.elm'],
\ 'elmfilt': ['filter-rules'], \ 'elmfilt': ['filter-rules'],
\ 'elsa': ['file.lc'],
\ 'elvish': ['file.elv'], \ 'elvish': ['file.elv'],
\ 'epuppet': ['file.epp'], \ 'epuppet': ['file.epp'],
\ 'erlang': ['file.erl', 'file.hrl', 'file.yaws'], \ 'erlang': ['file.erl', 'file.hrl', 'file.yaws'],