aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-03-20 22:16:58 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-03-20 22:27:51 -0400
commit0bf9f10da08d4eaf3e7957136a6bfb9e505720b8 (patch)
treecd443f56f236e918dde91cb52a10f1bad767b21a /runtime
parent429c6d2d4ff2c962d536974090810eecf1f958fb (diff)
downloadrneovim-0bf9f10da08d4eaf3e7957136a6bfb9e505720b8.tar.gz
rneovim-0bf9f10da08d4eaf3e7957136a6bfb9e505720b8.tar.bz2
rneovim-0bf9f10da08d4eaf3e7957136a6bfb9e505720b8.zip
vim-patch:8.2.2625: rss files not recognized
Problem: Rss files not recognized. Solution: Recognize .rss as XML. (Kivin Locke, closes vim/vim#7987) https://github.com/vim/vim/commit/af125866db46405fdaf99ac4e43b630d196a4aa4
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index e0ebf5d528..36352db533 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1400,6 +1400,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