Add wiki link to ShellCheck linting (#4681)

The ShellCheck integrations wiki suggests providing users with more
info by linking back to the ShellCheck wiki.

https://www.shellcheck.net/wiki/Integration#linking-to-the-wiki
This commit is contained in:
Brandon Maier
2024-02-21 20:11:56 -06:00
committed by GitHub
parent 506d392f6a
commit 38c31302da
2 changed files with 4 additions and 0 deletions

View File

@@ -140,6 +140,7 @@ function! s:HandleShellcheckGCC(buffer, lines) abort
\ 'type': l:type,
\ 'text': l:match[5],
\ 'code': l:match[6],
\ 'detail': l:match[5] . "\n\nFor more information:\n https://www.shellcheck.net/wiki/" . l:match[6],
\}
if !empty(l:match[3])