- vim/neovim
- vim-plug
- pwsh
- git
:echo has("python3")
prints1
. This is usually set bypython3 -m pip install pynvim
in shell andlet g:python3_host_prog=/path/to/python/executable/
in vimrc/Init.vim.
- Put this in your vimrc/Init.vim:
" Specify a directory for plugins
" - For Neovim: ~/.local/share/nvim/plugged
call plug#begin('~/.vim/plugged')
" OS specific setup
let languageClientInstallCommand = 'bash install.sh'
if has('win32')
languageClientInstallCommand = 'powershell -executionpolicy bypass -File install.ps1'
endif
" the language client used in vim-powershell
Plug 'autozimu/LanguageClient-neovim', {
\ 'branch': 'next',
\ 'do': languageClientInstallCommand,
\ }
" the PowerShell vim extension
Plug 'corbob/vim-powershell', {
\ 'branch': 'dev',
\ 'do': 'pwsh build.ps1',
\ }
" ncm2 setup for completions
Plug 'ncm2/ncm2'
Plug 'roxma/nvim-yarp'
autocmd BufEnter * call ncm2#enable_for_buffer()
set completeopt=noinsert,menuone,noselect
call plug#end()
- Reload vim (alternately: reload init.vim).
- Run the vim command:
:PlugInstall
- (Optional) install vim-polyglot for syntax highlighting 🎨