Skip to content

whereswaldon/shellcheck.kak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

shellcheck.kak

ShellCheck integration for Kakoune

Installation

First, install shellcheck. See here for directions.

With plug.kak

To install the plugin, I recommend using plug.kak. You can install it by adding the following to your kakrc:

plug "whereswaldon/shellcheck.kak"

Manually

If you prefer to install it manually, you can use:

mkdir -p ~/.config/kak/plugins/
git clone https://github.com/whereswaldon/shellcheck.kak ~/.config/kak/plugins/shellcheck.kak/

You'll need to add the following to your kakrc as well:

source "%val{config}/plugins/shellcheck.kak/shellcheck.kak"

Commands

  • shellcheck-enable starts linting the current window with shellcheck when you :write it.
  • shellcheck-disable turns off linting the current window.

Configuration

Currently, the plugin will automatically enable linting when kakoune determines that the current filetype is a shell script.

Contribute

Feature requests and pull requests welcome!

License

Unlicense

Releases

No releases published

Packages

No packages published