0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.1060: not all elinks files are recognized

Problem:    Not all elinks files are recognized.
Solution:   Just check for "elinks.conf". (Guido Cella, closes #6337)
This commit is contained in:
Bram Moolenaar
2020-06-26 20:23:45 +02:00
parent cf8441704d
commit 5f36d5fbb8
3 changed files with 4 additions and 2 deletions

View File

@@ -542,7 +542,7 @@ au BufNewFile,BufRead *.ecd setf ecd
au BufNewFile,BufRead *.e,*.E call dist#ft#FTe() au BufNewFile,BufRead *.e,*.E call dist#ft#FTe()
" Elinks configuration " Elinks configuration
au BufNewFile,BufRead */etc/elinks.conf,*/.elinks/elinks.conf setf elinks au BufNewFile,BufRead elinks.conf setf elinks
" ERicsson LANGuage; Yaws is erlang too " ERicsson LANGuage; Yaws is erlang too
au BufNewFile,BufRead *.erl,*.hrl,*.yaws setf erlang au BufNewFile,BufRead *.erl,*.hrl,*.yaws setf erlang

View File

@@ -150,7 +150,7 @@ let s:filename_checks = {
\ 'dylanlid': ['file.lid'], \ 'dylanlid': ['file.lid'],
\ 'ecd': ['file.ecd'], \ 'ecd': ['file.ecd'],
\ 'edif': ['file.edf', 'file.edif', 'file.edo'], \ 'edif': ['file.edf', 'file.edif', 'file.edo'],
\ 'elinks': ['/etc/elinks.conf', '/.elinks/elinks.conf'], \ 'elinks': ['elinks.conf'],
\ 'elm': ['file.elm'], \ 'elm': ['file.elm'],
\ 'elmfilt': ['filter-rules'], \ 'elmfilt': ['filter-rules'],
\ 'erlang': ['file.erl', 'file.hrl', 'file.yaws'], \ 'erlang': ['file.erl', 'file.hrl', 'file.yaws'],

View File

@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1060,
/**/ /**/
1059, 1059,
/**/ /**/