Jenkinsfile-vim-syntax
Jenkinsfile-vim-syntax copied to clipboard
Jenkinsfile DSL vim syntax
Added support for native vim packages. Per [@tpope's](https://github.com/tpope) comment in the top of the pathogen readme: https://github.com/tpope/vim-pathogen/tree/master#readme
``` :version VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Feb 26 2023 13:21:10) Included patches: 1-1157 Modified by Gentoo-9.0.1157 Compiled by portage@localhost Huge version without GUI. Features included...
The groovy fallback doesn't provide autoindent and vim falls back to C style indentation since Jenkinsfile doesn't typically include semicolons `;`. https://stackoverflow.com/a/31323902
This PR adds support for `matrix` blocks, including the optional `excludes` section. It also adds highlighting for built-in parameter types and makes several tweaks, as explained in inline PR comments.