]> git.madduck.net Git - etc/vim.git/blobdiff - .vim/bundle/ale/doc/ale-powershell.txt

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge commit '76265755a1add77121c8f9dabb3e9bb70fe9a972' as '.vim/bundle/ale'
[etc/vim.git] / .vim / bundle / ale / doc / ale-powershell.txt
diff --git a/.vim/bundle/ale/doc/ale-powershell.txt b/.vim/bundle/ale/doc/ale-powershell.txt
new file mode 100644 (file)
index 0000000..64f601e
--- /dev/null
@@ -0,0 +1,86 @@
+===============================================================================
+ALE PowerShell Integration                             *ale-powershell-options*
+
+
+===============================================================================
+cspell                                                  *ale-powershell-cspell*
+
+See |ale-cspell-options|
+
+
+===============================================================================
+powershell                                          *ale-powershell-powershell*
+
+                                 *ale-options.powershell_powershell_executable*
+                                       *g:ale_powershell_powershell_executable*
+                                       *b:ale_powershell_powershell_executable*
+powershell_powershell_executable
+g:ale_powershell_powershell_executable
+  Type: |String|
+  Default: `'pwsh'`
+
+  This variable can be changed to use a different executable for powershell.
+
+>
+  " Use powershell.exe rather than the default pwsh
+  let g:ale_powershell_powershell_executable = 'powershell.exe'
+>
+
+===============================================================================
+psscriptanalyzer                              *ale-powershell-psscriptanalyzer*
+
+
+-------------------------------------------------------------------------------
+Installation
+
+Install PSScriptAnalyzer by any means, so long as it can be automatically
+imported in PowerShell.
+
+
+-------------------------------------------------------------------------------
+Options
+                           *ale-options.powershell_psscriptanalyzer_executable*
+                                 *g:ale_powershell_psscriptanalyzer_executable*
+                                 *b:ale_powershell_psscriptanalyzer_executable*
+powershell_psscriptanalyzer_executable
+g:ale_powershell_psscriptanalyzer_executable
+  Type: |String|
+  Default: `'pwsh'`
+
+  This variable sets executable used for powershell.
+
+  For example, on Windows you could set powershell to be Windows Powershell:
+>
+  let g:ale_powershell_psscriptanalyzer_executable = 'powershell.exe'
+<
+
+                               *ale-options.powershell_psscriptanalyzer_module*
+                                     *g:ale_powershell_psscriptanalyzer_module*
+                                     *b:ale_powershell_psscriptanalyzer_module*
+powershell_psscriptanalyzer_module
+g:ale_powershell_psscriptanalyzer_module
+  Type: |String|
+  Default: `'psscriptanalyzer'`
+
+  This variable sets the name of the psscriptanalyzer module.
+  for psscriptanalyzer invocation.
+
+                           *ale-options.powershell_psscriptanalyzer_exclusions*
+                                 *g:ale_powershell_psscriptanalyzer_exclusions*
+                                 *b:ale_powershell_psscriptanalyzer_exclusions*
+powershell_psscriptanalyzer_exclusions
+g:ale_powershell_psscriptanalyzer_exclusions
+  Type: |String|
+  Default: `''`
+
+  Set this variable to exclude test(s) for psscriptanalyzer
+  (-ExcludeRule option).  To exclude more than one option, separate them with
+  commas. >
+
+  " Suppress Write-Host and Global vars warnings
+  let g:ale_powershell_psscriptanalyzer_exclusions =
+  \  'PSAvoidUsingWriteHost,PSAvoidGlobalVars'
+<
+
+===============================================================================
+  vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: