Patch 8.2.0843

7 views
Skip to first unread message

Bram Moolenaar

unread,
May 30, 2020, 7:15:54 AM5/30/20
to vim...@googlegroups.com

Patch 8.2.0843
Problem: Filetype elm not detected.
Solution: Recognize *.elm files. (closes #6157)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.0842/runtime/filetype.vim 2020-05-11 19:46:31.206926174 +0200
--- runtime/filetype.vim 2020-05-30 13:13:59.063173204 +0200
***************
*** 547,552 ****
--- 547,555 ----
" ERicsson LANGuage; Yaws is erlang too
au BufNewFile,BufRead *.erl,*.hrl,*.yaws setf erlang

+ " Elm
+ au BufNewFile,BufRead *.elm setf elm
+
" Elm Filter Rules file
au BufNewFile,BufRead filter-rules setf elmfilt

*** ../vim-8.2.0842/src/testdir/test_filetype.vim 2020-05-11 19:46:31.206926174 +0200
--- src/testdir/test_filetype.vim 2020-05-30 13:13:50.843207243 +0200
***************
*** 151,156 ****
--- 151,157 ----
\ 'ecd': ['file.ecd'],
\ 'edif': ['file.edf', 'file.edif', 'file.edo'],
\ 'elinks': ['/etc/elinks.conf', '/.elinks/elinks.conf'],
+ \ 'elm': ['file.elm'],
\ 'elmfilt': ['filter-rules'],
\ 'erlang': ['file.erl', 'file.hrl', 'file.yaws'],
\ 'eruby': ['file.erb', 'file.rhtml'],
*** ../vim-8.2.0842/src/version.c 2020-05-30 13:07:34.732769871 +0200
--- src/version.c 2020-05-30 13:13:16.471349630 +0200
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 843,
/**/

--
hundred-and-one symptoms of being an internet addict:
212. Your Internet group window has more icons than your Accessories window.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages