mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 18:47:29 -07:00
Note on escaping double quotes in inline expression
This commit is contained in:
parent
93628b1c3d
commit
4ae2e879e1
@ -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' }
|
||||||
|
Loading…
Reference in New Issue
Block a user