a8e788a215
subrepo: subdir: "dotfiles/.vim/plugged/vim-prettier" merged: "5e6cca21" upstream: origin: "https://github.com/prettier/vim-prettier.git" branch: "master" commit: "5e6cca21" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
7 lines
265 B
VimL
7 lines
265 B
VimL
" 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
|