ChillerDragon / dotfiles

A repo holding all my personal configurations I use.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[vim] powershell

ChillerDragon opened this issue · comments

autocmd filetype ps1 nnoremap <leader>rt :exec '!PowerShell -Command "Import-Module PSScriptAnalyzer;Invoke-ScriptAnalyzer -Path '.shellescape('%')'"'<CR>

tested on windows and works

dependencies:

choco install psscriptanalyzer