diff options
| author | mitermayer <mitermayer.reis@gmail.com> | 2017-11-08 10:51:10 -0800 |
|---|---|---|
| committer | mitermayer <mitermayer.reis@gmail.com> | 2017-11-08 10:51:10 -0800 |
| commit | 514ddbe86167380effb7d7fe7fe3124e9f89d853 (patch) | |
| tree | d7d8f4440338e27d8d1739e99e928f9f5d666db8 /ftplugin/typescript.vim | |
| parent | 72836d30d54bf04d22f438a4bf3e23c36d130265 (diff) | |
| download | vim-prettier-514ddbe86167380effb7d7fe7fe3124e9f89d853.tar.xz | |
issue-77/adding-support-for-prettier-1.8 - adidng support for markdown
and explicit define parsers
- Adding support for markdown
- Explicitly pass in parsers for filetypes
Diffstat (limited to 'ftplugin/typescript.vim')
| -rw-r--r-- | ftplugin/typescript.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/typescript.vim b/ftplugin/typescript.vim index 19d25f0..4d2f588 100644 --- a/ftplugin/typescript.vim +++ b/ftplugin/typescript.vim @@ -1,3 +1,7 @@ +let b:prettier_ft_default_args = { + \ 'parser': 'typescript', + \ } + augroup Prettier autocmd! if g:prettier#autoformat |
