diff options
| author | mitermayer <mitermayer.reis@gmail.com> | 2019-08-26 13:10:07 -0700 |
|---|---|---|
| committer | mitermayer <mitermayer.reis@gmail.com> | 2019-08-26 13:23:41 -0700 |
| commit | 28004235abbff13c90704ca4d9b2949c55e28601 (patch) | |
| tree | 02245c4c0702a1807e080f284dd93c9e2f6899a6 /ftplugin | |
| parent | e5d758727d1e15ae7075f0b805a372940eeaf84c (diff) | |
| download | vim-prettier-28004235abbff13c90704ca4d9b2949c55e28601.tar.xz | |
porting-master-fixes-to-release-1.x
- Porting fixes done on 5779a87d901da3f44991feb3a6480b1156c37f3f
- Porting fixes done on c91d1bc5c15677fdb6585fc54c680809329ee88a
- Porting fixes done on c0f7d81faf849589688c4584edb9c3b8d50afb84
- Fixing linting from 1c601bcba1eed6faa15b255aeb765a12717d7de3
Diffstat (limited to 'ftplugin')
| -rw-r--r-- | ftplugin/html.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/html.vim b/ftplugin/html.vim index 76ad0af..d2f059d 100644 --- a/ftplugin/html.vim +++ b/ftplugin/html.vim @@ -1,6 +1,6 @@ " markdown files run this as well " https://stackoverflow.com/questions/22839269/why-does-vim-default-markdown-ftplugin-source-html-ftplugins-is-there-any-ways -if &ft !~# 'markdown' +if &filetype !~# 'markdown' let b:prettier_ft_default_args = { \ 'parser': 'html', \ } |
