diff --git a/README.md b/README.md index fb66242..35febc4 100644 --- a/README.md +++ b/README.md @@ -22,16 +22,20 @@ Vim syntax and indent plugin for `.vue` files. Mainly inspired by [mxw/vim-jsx][ set rpt+=path/to/this_plugin -Plugin works if filetype is set to `javascript.vue`. Please stay up to date. Feel free to open an issue or a pull request. +Plugin works if `filetype` is set to `vue`. Please stay up to date. Feel free to open an issue or a pull request. + +**Note**: `filetype` used to be `javascript.vue`, which caused `javascript`syntax to be loaded multiple times and a significant delay. Now `filetype` is set to `vue` and autocmds for `javascript` have to be manually added for `vue`. ## How it works Since `.vue` is a combination of CSS, HTML and JavaScript, so is `vim-vue-plugin`. (Like XML and JavaScript for `.jsx`). -- Support Pug(`