diff options
author | Christian Clason <c.clason@uni-graz.at> | 2021-11-27 16:23:28 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2021-11-27 16:24:05 +0100 |
commit | c1c567602106a8bcc0efa63b7c1e3812b8b8fd29 (patch) | |
tree | 76eb2c8fb0937ad6c960ca7b9f315cd6292921a6 | |
parent | b156ffedb623aa773a1a2a33af69e47e0536a574 (diff) | |
download | rneovim-c1c567602106a8bcc0efa63b7c1e3812b8b8fd29.tar.gz rneovim-c1c567602106a8bcc0efa63b7c1e3812b8b8fd29.tar.bz2 rneovim-c1c567602106a8bcc0efa63b7c1e3812b8b8fd29.zip |
vim-patch:8.2.3452: MPD files are not recognized
Problem: MPD files are not recognized.
Solution: Recognize MPD files as XML. (Steven Penny, closes vim/vim#8893)
https://github.com/vim/vim/commit/690c524ce6629f9ff67728541ba211f831caf0ee
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index cbb9e9687e..a36911bbdb 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1095,6 +1095,9 @@ au BufNewFile,BufRead *.moo setf moo " Modconf au BufNewFile,BufRead */etc/modules.conf,*/etc/modules,*/etc/conf.modules setf modconf +" MPD is based on XML +au BufNewFile,BufRead *.mpd setf xml + " Mplayer config au BufNewFile,BufRead mplayer.conf,*/.mplayer/config setf mplayerconf |