Skip to content

Commit 269bbb2

Browse files
committed
Remove redundant compiler
1 parent 4346419 commit 269bbb2

File tree

3 files changed

+11
-29
lines changed

3 files changed

+11
-29
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The `gb` command can be used quickfix or location list windows to open the
3535
ShellCheck error definition on GitHub. This functionality is enabled when the
3636
window's `w:quickfix_title` attribute starts with one of the following:
3737

38-
- `:shellcheck` -- created by `compiler shellcheck | :make` or some other
38+
- `:shellcheck` -- created by `compiler shellcheck | :make %` or some other
3939
program
4040
- `:ShellCheck` -- created by the `:ShellCheck` command
4141
- `:LShellCheck` -- created by the `:LShellCheck` command
@@ -57,11 +57,13 @@ Note: The `gb` map will not be defined if one already exists.
5757

5858
## Compiler
5959

60-
A ShellCheck `:compiler` is provided for use as a `'makeprg'`:
60+
A ShellCheck `:compiler` is provided by Vim 8.2.1769 and newer for use as a
61+
`'makeprg'`. To use it, run:
6162

6263
```
6364
:compiler shellcheck
64-
:make!
65+
:make! %
66+
:copen
6567
```
6668

6769
## Configuration

compiler/shellcheck.vim

Lines changed: 0 additions & 23 deletions
This file was deleted.

doc/shellcheck.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ The `gb` command can be used quickfix or location list windows to open the
4040
ShellCheck error definition on GitHub. This functionality is enabled when the
4141
window's `w:quickfix_title` attribute starts with one of the following:
4242

43-
- `:shellcheck` created by `compiler shellcheck | :make` or some other program
43+
- `:shellcheck` created by `compiler shellcheck | :make %` or some other
44+
program
4445
- `:ShellCheck` created by the `:ShellCheck` command
4546
- `:LShellCheck` created by the `:LShellCheck` command
4647

@@ -58,10 +59,12 @@ Note: The `gb` map will not be defined if one already exists.
5859
==============================================================================
5960
COMPILER *shellcheck-compiler*
6061

61-
A ShellCheck |:compiler| is provided for use as a 'makeprg':
62+
A ShellCheck |:compiler| is provided by Vim 8.2.1769 and newer for use as a
63+
'makeprg'. To use it, run:
6264
>
6365
:compiler shellcheck
64-
:make!
66+
:make! %
67+
:copen
6568
<
6669
==============================================================================
6770
CONFIGURATION *shellcheck-configuration*

0 commit comments

Comments
 (0)