From d87fbbdde46ac9cc3e078a9b085286e9ebce6a8b Mon Sep 17 00:00:00 2001 From: leafOfTree Date: Mon, 19 Oct 2026 13:43:15 +0000 Subject: [PATCH] Use rtp^= for manual installation in README Vim 9 and Neovim have placeholder vue syntax and indent files, which load html ones and take precedence over this plugin added by rtp+=. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 11ecfac..6996da7 100644 --- a/README.md +++ b/README.md @@ -37,14 +37,14 @@ You could install it just like other plugins. The filetype will be set to `vue`. :PlugInstall ``` -- Or manually, clone this plugin to `path/to/this_plugin`, and add it to `rtp` in vimrc +- Or manually, clone this plugin to `path/to/this_plugin`, and add it to the start of `rtp` in vimrc. Vim 9 and Neovim come with placeholder `vue` syntax and indent files, which are used instead if this plugin is added to the end by `set rtp+=`. ```vim - set rtp+=path/to/this_plugin + set rtp^=path/to/this_plugin " If filetype is not set to 'vue', try filetype off - set rtp+=path/to/this_plugin + set rtp^=path/to/this_plugin filetype plugin indent on ```