From 72fe09da56eaf8ad8dce8eacdc17eac2e4dbee9f Mon Sep 17 00:00:00 2001 From: Yatao Li Date: Mon, 29 Apr 2019 20:47:35 +0800 Subject: [PATCH] Update README.md --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f8a3f66..0ed7de4 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Features include: ## Prerequisites 1. vim/neovim -1. [PowerShell Core](https://github.com/powershell/powershell) or Windows PowerShell +2. [PowerShell Core](https://github.com/powershell/powershell) or Windows PowerShell ## Installation @@ -23,12 +23,19 @@ Features include: 1. Add this to your `vimrc`/`Init.vim` ```vimL -Plug 'yatli/coc-powershell', {'do': { -> coc#powershell#install()} } +" default installation: +coc#powershell#install() +" or, download the preview version of PowerShellEditorService: +coc#powershell#install("preview") +" or, also supplying initial setting of the PowerShell executable: +coc#powershell#install({ "preview": 1, "PowerShellExecutable": "pwsh"}) + ... +" dependency: Plug 'neoclide/coc.nvim', {'tag': '*', 'do': { -> coc#util#install()}} ``` 2. Reload vim. -1. Run the vim command: `:PlugInstall`. +3. Run the vim command: `:PlugInstall`. ## TODO - [x] pwsh core support