aboutsummaryrefslogtreecommitdiff
path: root/ftplugin/xml.vim
blob: fd45c5fd28dfaf48397194f20558982d37672b4f (plain)
1
2
3
4
5
6
7
" markdown/php files run this as well
" https://stackoverflow.com/questions/22839269/why-does-vim-default-markdown-ftplugin-source-html-ftplugins-is-there-any-ways
if expand('%:e') ==# 'xml'
  let b:prettier_ft_default_args = {
    \ 'parser': 'xml',
    \ }
endif