vim-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 vim/vim#6337)
5f36d5fbb8
This commit is contained in:
parent
610c4d2b83
commit
f01bb307fd
|
@ -538,7 +538,7 @@ au BufNewFile,BufRead *.ecd setf ecd
|
|||
au BufNewFile,BufRead *.e,*.E call dist#ft#FTe()
|
||||
|
||||
" 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
|
||||
au BufNewFile,BufRead *.erl,*.hrl,*.yaws setf erlang
|
||||
|
|
|
@ -150,7 +150,7 @@ let s:filename_checks = {
|
|||
\ 'dylanlid': ['file.lid'],
|
||||
\ 'ecd': ['file.ecd'],
|
||||
\ 'edif': ['file.edf', 'file.edif', 'file.edo'],
|
||||
\ 'elinks': ['/etc/elinks.conf', '/.elinks/elinks.conf'],
|
||||
\ 'elinks': ['elinks.conf'],
|
||||
\ 'elm': ['file.elm'],
|
||||
\ 'elmfilt': ['filter-rules'],
|
||||
\ 'erlang': ['file.erl', 'file.hrl', 'file.yaws'],
|
||||
|
|
Loading…
Reference in New Issue