From 0bf9f10da08d4eaf3e7957136a6bfb9e505720b8 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 20 Mar 2021 22:16:58 -0400 Subject: 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 --- runtime/filetype.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'runtime') 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 -- cgit