shout/vim
2026-04-03 08:03:01 -07:00
..
ftdetect add shout.vim Neovim plugin 2026-03-14 13:11:08 -07:00
ftplugin Support # as comment syntax and \# escaping 2026-04-03 08:03:01 -07:00
lua/shout add shout.vim Neovim plugin 2026-03-14 13:11:08 -07:00
syntax Support # as comment syntax and \# escaping 2026-04-03 08:03:01 -07:00
README.md Support # as comment syntax and \# escaping 2026-04-03 08:03:01 -07:00

shout.vim

Neovim plugin for .shout shell integration test files.

Features

  • Syntax highlighting for commands, expected output, directives, wildcards, exit codes, and comments
  • :ShoutRun — run the current .shout file, results in quickfix
  • :ShoutUpdate — run with --update to capture actual output into the file
  • :ShoutRunAll — run all test files

Install

lazy.nvim

{
  dir = "~/path/to/shout/vim",
  ft = "shout",
}

Symlink or copy the vim/ directory into your nvim runtime path:

mkdir -p ~/.local/share/nvim/site/pack/shout/start
ln -s /path/to/shout/vim ~/.local/share/nvim/site/pack/shout/start/shout

Syntax elements

Pattern Highlight
$ command Statement (prompt as Special)
# comment Comment
@env KEY=VALUE PreProc / Identifier / String
@setup, @teardown PreProc
Expected output String
... (wildcard) WarningMsg
[N], [*] (exit code) Constant
\$ ... (escaped dollar) SpecialChar + String
\# ... (escaped hash) SpecialChar + String
# inline comment Comment