forked from aniani/vim
patch 8.2.4664: Elvish files are not recognized
Problem: Elvish files are not recognized. Solution: Recognize .elv files. (Bruno Roque, closes #10058)
This commit is contained in:
committed by
Bram Moolenaar
parent
17fa233f6f
commit
c1658a196b
@@ -420,6 +420,9 @@ au BufNewFile,BufRead *.ex call dist#ft#ExCheck()
|
||||
au BufRead,BufNewFile mix.lock,*.exs setf elixir
|
||||
au BufRead,BufNewFile *.eex,*.leex setf eelixir
|
||||
|
||||
" Elvish
|
||||
au BufRead,BufNewFile *.elv setf elvish
|
||||
|
||||
" Euphoria 3 or 4
|
||||
au BufNewFile,BufRead *.eu,*.ew,*.exu,*.exw call dist#ft#EuphoriaCheck()
|
||||
if has("fname_case")
|
||||
|
@@ -168,6 +168,7 @@ let s:filename_checks = {
|
||||
\ 'eelixir': ['file.eex', 'file.leex'],
|
||||
\ 'elm': ['file.elm'],
|
||||
\ 'elmfilt': ['filter-rules'],
|
||||
\ 'elvish': ['file.elv'],
|
||||
\ 'epuppet': ['file.epp'],
|
||||
\ 'erlang': ['file.erl', 'file.hrl', 'file.yaws'],
|
||||
\ 'eruby': ['file.erb', 'file.rhtml'],
|
||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4664,
|
||||
/**/
|
||||
4663,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user