forked from aniani/vim
patch 8.2.2625: rss files not recognized
Problem: Rss files not recognized. Solution: Recognize .rss as XML. (Kivin Locke, closes #7987)
This commit is contained in:
parent
74b99f6ab6
commit
af125866db
@ -1397,6 +1397,9 @@ else
|
|||||||
au BufNewFile,BufRead *.rmd,*.smd setf rmd
|
au BufNewFile,BufRead *.rmd,*.smd setf rmd
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" RSS looks like XML
|
||||||
|
au BufNewFile,BufRead *.rss setf xml
|
||||||
|
|
||||||
" R reStructuredText file
|
" R reStructuredText file
|
||||||
if has("fname_case")
|
if has("fname_case")
|
||||||
au BufNewFile,BufRead *.Rrst,*.rrst,*.Srst,*.srst setf rrst
|
au BufNewFile,BufRead *.Rrst,*.rrst,*.Srst,*.srst setf rrst
|
||||||
|
@ -538,7 +538,7 @@ let s:filename_checks = {
|
|||||||
\ 'xhtml': ['file.xhtml', 'file.xht'],
|
\ 'xhtml': ['file.xhtml', 'file.xht'],
|
||||||
\ 'xinetd': ['/etc/xinetd.conf', '/etc/xinetd.d/file', 'any/etc/xinetd.conf', 'any/etc/xinetd.d/file'],
|
\ 'xinetd': ['/etc/xinetd.conf', '/etc/xinetd.d/file', 'any/etc/xinetd.conf', 'any/etc/xinetd.d/file'],
|
||||||
\ 'xmath': ['file.msc', 'file.msf'],
|
\ 'xmath': ['file.msc', 'file.msf'],
|
||||||
\ 'xml': ['/etc/blkid.tab', '/etc/blkid.tab.old', 'file.xmi', 'file.csproj', 'file.csproj.user', 'file.ui', 'file.tpm', '/etc/xdg/menus/file.menu', 'fglrxrc', 'file.xlf', 'file.xliff', 'file.xul', 'file.wsdl', 'file.wpl', 'any/etc/blkid.tab', 'any/etc/blkid.tab.old', 'any/etc/xdg/menus/file.menu', 'file.atom'],
|
\ 'xml': ['/etc/blkid.tab', '/etc/blkid.tab.old', 'file.xmi', 'file.csproj', 'file.csproj.user', 'file.ui', 'file.tpm', '/etc/xdg/menus/file.menu', 'fglrxrc', 'file.xlf', 'file.xliff', 'file.xul', 'file.wsdl', 'file.wpl', 'any/etc/blkid.tab', 'any/etc/blkid.tab.old', 'any/etc/xdg/menus/file.menu', 'file.atom', 'file.rss'],
|
||||||
\ 'xmodmap': ['anyXmodmap', 'Xmodmap', 'some-Xmodmap', 'some-xmodmap', 'some-xmodmap-file', 'xmodmap', 'xmodmap-file'],
|
\ 'xmodmap': ['anyXmodmap', 'Xmodmap', 'some-Xmodmap', 'some-xmodmap', 'some-xmodmap-file', 'xmodmap', 'xmodmap-file'],
|
||||||
\ 'xf86conf': ['xorg.conf', 'xorg.conf-4'],
|
\ 'xf86conf': ['xorg.conf', 'xorg.conf-4'],
|
||||||
\ 'xpm2': ['file.xpm2'],
|
\ 'xpm2': ['file.xpm2'],
|
||||||
|
@ -750,6 +750,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 */
|
||||||
|
/**/
|
||||||
|
2625,
|
||||||
/**/
|
/**/
|
||||||
2624,
|
2624,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user