diff options
author | dundargoc <gocdundar@gmail.com> | 2023-04-18 20:53:22 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-04-18 20:53:22 +0100 |
commit | 142ffb024dd5123090c2fd02f55702e76520f1df (patch) | |
tree | d8f2965a4acd8cff35bed01979b487e35b80bf71 /src | |
parent | 61378a15425553cec1ec15f590e70ca50c7c34a8 (diff) |
patch 9.0.1467: Jenkinsfiles are not recognized as groovyv9.0.1467
Problem: Jenkinsfiles are not recognized as groovy.
Solution: Add a pattern for Jenkinsfiles. (closes #12236)
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_filetype.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 60e4f30880..007f2bb6dc 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -248,7 +248,7 @@ let s:filename_checks = { \ 'grads': ['file.gs'], \ 'graphql': ['file.graphql', 'file.graphqls', 'file.gql'], \ 'gretl': ['file.gretl'], - \ 'groovy': ['file.gradle', 'file.groovy'], + \ 'groovy': ['file.gradle', 'file.groovy', 'Jenkinsfile'], \ 'group': ['any/etc/group', 'any/etc/group-', 'any/etc/group.edit', 'any/etc/gshadow', 'any/etc/gshadow-', 'any/etc/gshadow.edit', 'any/var/backups/group.bak', 'any/var/backups/gshadow.bak', '/etc/group', '/etc/group-', '/etc/group.edit', '/etc/gshadow', '/etc/gshadow-', '/etc/gshadow.edit', '/var/backups/group.bak', '/var/backups/gshadow.bak'], \ 'grub': ['/boot/grub/menu.lst', '/boot/grub/grub.conf', '/etc/grub.conf', 'any/boot/grub/grub.conf', 'any/boot/grub/menu.lst', 'any/etc/grub.conf'], \ 'gsp': ['file.gsp'], diff --git a/src/version.c b/src/version.c index 595c265cff..bff52cc4ef 100644 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1467, +/**/ 1466, /**/ 1465, |