Patch 8.2.1060

8 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 26, 2020, 2:24:18 PM6/26/20
to vim...@googlegroups.com

Patch 8.2.1060
Problem: Not all elinks files are recognized.
Solution: Just check for "elinks.conf". (Guido Cella, closes #6337)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.1059/runtime/filetype.vim 2020-06-25 19:53:21.602571208 +0200
--- runtime/filetype.vim 2020-06-26 20:21:35.932285076 +0200
***************
*** 542,548 ****
au BufNewFile,BufRead *.e,*.E call dist#ft#FTe()

" Elinks configuration
! au BufNewFile,BufRead */etc/elinks.conf,*/.elinks/elinks.conf setf elinks

" ERicsson LANGuage; Yaws is erlang too
au BufNewFile,BufRead *.erl,*.hrl,*.yaws setf erlang
--- 542,548 ----
au BufNewFile,BufRead *.e,*.E call dist#ft#FTe()

" Elinks configuration
! au BufNewFile,BufRead elinks.conf setf elinks

" ERicsson LANGuage; Yaws is erlang too
au BufNewFile,BufRead *.erl,*.hrl,*.yaws setf erlang
*** ../vim-8.2.1059/src/testdir/test_filetype.vim 2020-06-25 19:53:21.602571208 +0200
--- src/testdir/test_filetype.vim 2020-06-26 20:21:35.932285076 +0200
***************
*** 150,156 ****
\ 'dylanlid': ['file.lid'],
\ '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'],
--- 150,156 ----
\ 'dylanlid': ['file.lid'],
\ 'ecd': ['file.ecd'],
\ 'edif': ['file.edf', 'file.edif', 'file.edo'],
! \ 'elinks': ['elinks.conf'],
\ 'elm': ['file.elm'],
\ 'elmfilt': ['filter-rules'],
\ 'erlang': ['file.erl', 'file.hrl', 'file.yaws'],
*** ../vim-8.2.1059/src/version.c 2020-06-26 19:44:02.976305905 +0200
--- src/version.c 2020-06-26 20:23:04.468036871 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1060,
/**/

--
A special cleaning ordinance bans housewives from hiding dirt and dust under a
rug in a dwelling.
[real standing law in Pennsylvania, United States of America]

/// 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