summaryrefslogtreecommitdiffstats
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-03-19 20:27:40 +0100
committerBram Moolenaar <Bram@vim.org>2021-03-19 20:27:40 +0100
commitaf125866db46405fdaf99ac4e43b630d196a4aa4 (patch)
tree524e507c237991dd80d0ec8fc6167a7230411f0d /runtime/filetype.vim
parent74b99f6ab6e0265ebee4ed496845f28e0904318d (diff)
patch 8.2.2625: rss files not recognizedv8.2.2625
Problem: Rss files not recognized. Solution: Recognize .rss as XML. (Kivin Locke, closes #7987)
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index e907630b4e..2b6627427b 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1397,6 +1397,9 @@ else
au BufNewFile,BufRead *.rmd,*.smd setf rmd
endif
+" RSS looks like XML
+au BufNewFile,BufRead *.rss setf xml
+
" R reStructuredText file
if has("fname_case")
au BufNewFile,BufRead *.Rrst,*.rrst,*.Srst,*.srst setf rrst