-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
092158d
commit 4b9066e
Showing
1 changed file
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,40 @@ | ||
# coc-pses | ||
[PowerShellEditorService](https://github.com/PowerShell/PowerShellEditorServices) integration for [coc.nvim](https://github.com/neoclide/coc.nvim) | ||
|
||
Recommend to install with a plugin manager, for example: | ||
A vim plugin powered by | ||
[PowerShellEditorService](https://github.com/PowerShell/PowerShellEditorServices) and | ||
[coc.nvim](https://github.com/neoclide/coc.nvim) | ||
to provide a rich PowerShell editing experience. | ||
|
||
Features include: | ||
* Intellisense/Completions | ||
* Go to definition | ||
* [PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer) integration | ||
* and much more! | ||
|
||
## Prerequisites | ||
|
||
1. vim/neovim | ||
1. [PowerShell Core](https://github.com/powershell/powershell) or Windows PowerShell | ||
|
||
## Installation | ||
|
||
### (Recommended) Install with a plugin manager like [vim-plug](https://github.com/junegunn/vim-plug): | ||
|
||
1. Add this to your `vimrc`/`Init.vim` | ||
```vimL | ||
Plug 'yatli/coc-pses', {'do': { -> coc#pses#install()} } | ||
... | ||
Plug 'neoclide/coc.nvim', {'tag': '*', 'do': { -> coc#util#install()}} | ||
``` | ||
2. Reload vim. | ||
1. Run the vim command: `:PlugInstall`. | ||
|
||
## TODO | ||
- pwsh core support | ||
- xplat support | ||
- REPL? | ||
- [x] pwsh core support | ||
- [x] xplat support | ||
- [ ] REPL? | ||
|
||
## Recommended plugins | ||
|
||
[vim-polyglot](https://github.com/sheerun/vim-polyglot) for syntax highlighting 🎨 |