To: vim_dev@googlegroups.com Subject: Patch 8.2.4664 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4664 Problem: Elvish files are not recognized. Solution: Recognize .elv files. (Bruno Roque, closes #10058) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.2.4663/runtime/filetype.vim 2022-03-31 20:24:31.797761995 +0100 --- runtime/filetype.vim 2022-04-02 10:45:03.219015895 +0100 *************** *** 420,425 **** --- 420,428 ---- 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") *** ../vim-8.2.4663/src/testdir/test_filetype.vim 2022-03-31 20:24:31.797761995 +0100 --- src/testdir/test_filetype.vim 2022-04-02 10:45:03.223015890 +0100 *************** *** 168,173 **** --- 168,174 ---- \ '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'], *** ../vim-8.2.4663/src/version.c 2022-04-01 19:44:43.949807161 +0100 --- src/version.c 2022-04-02 10:47:17.394825820 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4664, /**/ -- MONK: ... and the Lord spake, saying, "First shalt thou take out the Holy Pin, then shalt thou count to three, no more, no less. Three shalt be the number thou shalt count, and the number of the counting shalt be three. Four shalt thou not count, neither count thou two, excepting that thou then proceed to three. Five is right out. Once the number three, being the third number, be reached, then lobbest thou thy Holy Hand Grenade of Antioch towards thou foe, who being naughty in my sight, shall snuff it. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///