Do you want to request a feature or report a bug?
Bug
What is the current/expected behavior?
file syntax coloration should behave independently from plugins like vim-prettier.
vim-prettier enabled

vim-prettier disabled

- disabling the 3 lines is the only thing I changed in my vimrc.
- Auto-selection of htmldjango filetype over html is done by plugin 'tweekmonster/django-plus.vim'
- As you can see in the screenshot, html/htmldjango filetypes aren't evne listed in the vim-prettier Plug for list. Therefore I cannot run
:PrettierVersion from that file
What version of vim-prettier are you using - (output of :PrettierVersion) ?
when run from a js file, I get 0.2.7
What version of prettier are you using - (output of :PrettierCliVersion) ?
node: error while loading shared libraries: libicui18n.so.63: cannot open shared object file: No such file or directory^@
⇒ Well, maybe that's the reason of the problem, although I'd love to understand the reason for the libicui18n library to break filetype selection when vim-prettier is on.
What is your prettier executable path - (output of :PrettierCliPath) ?
/home/dori/.vim/plugged/vim-prettier/node_modules/.bin/prettier
vimrc
Plug 'prettier/vim-prettier', {
\ 'do': 'yarn install',
\ 'for': ['javascript', 'typescript', 'typescript.tsx', 'json', 'yaml', 'markdown'] } " JS
Plug 'tweekmonster/django-plus.vim', { 'for': ['python', 'htmldjango', 'html'] }
Do you want to request a feature or report a bug?
Bug
What is the current/expected behavior?
file syntax coloration should behave independently from plugins like vim-prettier.
vim-prettier enabled

vim-prettier disabled

:PrettierVersionfrom that fileWhat version of
vim-prettierare you using - (output of:PrettierVersion) ?when run from a js file, I get
0.2.7What version of
prettierare you using - (output of:PrettierCliVersion) ?⇒ Well, maybe that's the reason of the problem, although I'd love to understand the reason for the libicui18n library to break filetype selection when vim-prettier is on.
What is your
prettierexecutable path - (output of:PrettierCliPath) ?/home/dori/.vim/plugged/vim-prettier/node_modules/.bin/prettier
vimrc