/vim-github-actions

(Outdated) Vim syntax/indent support for GitHub Actions *.workflow files

Primary LanguageVim ScriptMIT LicenseMIT

Vim filetype support for GitHub Actions

This is a Vim filetype support for GitHub Actions.

It provides:

  • Highlighting .github/*.workflow files.
    • It only highlights keywords described in official document. You can easily notice wrong attribute names.
  • Indentation for .github/*.workflow files.

screenshot

Installation

If you use any package manager, please follow its instruction.

With vim-plug:

Plug 'rhysd/vim-github-actions'

With dein.vim:

call dein#add('rhysd/vim-github-actions')

With minpac:

call minpac#add('rhysd/vim-github-actions')

When you're using Vim's builtin packager, please follow instruction at :help pack-add.

Usage

After this plugin is loaded, highlights and indentation are automatically applied. You have nothing to do anymore.

Please confirm that ghaworkflow filetype is set when you open .github/*.workflow files.

Links

License

MIT License