mirror of
https://git.aramjonghu.nl/AramJonghu/nvim.git
synced 2026-06-06 16:38:24 +02:00
neoformat now detects powershell formatter
This commit is contained in:
@@ -1 +1,9 @@
|
||||
let g:neoformat_enabled_yaml = ['prettierd']
|
||||
|
||||
let g:neoformat_ps1_psscriptanalyzer = {
|
||||
\ 'exe': 'pwsh',
|
||||
\ 'args': ['-NoProfile', '-Command',
|
||||
\ '"Import-Module (Resolve-Path \"/opt/powershell-editor-services/PSScriptAnalyzer/*/PSScriptAnalyzer.psd1\" | Select-Object -ExpandProperty Path); Invoke-Formatter -ScriptDefinition (\$input | Out-String)"'],
|
||||
\ 'stdin': 1,
|
||||
\ }
|
||||
let g:neoformat_enabled_ps1 = ['psscriptanalyzer']
|
||||
|
||||
Reference in New Issue
Block a user