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