mirror of
https://github.com/junegunn/vim-plug.git
synced 2025-12-08 18:04:46 +08:00
Note on escaping double quotes in inline expression
This commit is contained in:
@@ -151,8 +151,9 @@ and only run when the repository has changed, but you can force it to run
|
|||||||
unconditionally with the bang-versions of the commands: `PlugInstall!` and
|
unconditionally with the bang-versions of the commands: `PlugInstall!` and
|
||||||
`PlugUpdate!`.
|
`PlugUpdate!`.
|
||||||
|
|
||||||
Make sure to escape BARs when you write `do` option inline as they are
|
Make sure to escape BARs and double-quotes when you write `do` option inline
|
||||||
mistakenly recognized as command separator for Plug command.
|
as they are mistakenly recognized as command separator or the start of the
|
||||||
|
trailing comment.
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
Plug 'junegunn/fzf', { 'do': 'yes \| ./install' }
|
Plug 'junegunn/fzf', { 'do': 'yes \| ./install' }
|
||||||
|
|||||||
Reference in New Issue
Block a user