From e9c1906e31a7d0593144ba539b0df333cf4a5f47 Mon Sep 17 00:00:00 2001 From: Derek Erdmann Date: Thu, 8 Feb 2024 11:23:36 -0800 Subject: [PATCH] vimfiles: Detect Jenkinsfiles as Groovy Simpler highlighting, but more reliable than the Jenkinsfile-vim-syntax which sometimes incorrectly highlighted parentheses as unmatched. --- vimfiles/ftdetect/jenkinsfile.vim | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 vimfiles/ftdetect/jenkinsfile.vim diff --git a/vimfiles/ftdetect/jenkinsfile.vim b/vimfiles/ftdetect/jenkinsfile.vim new file mode 100644 index 0000000..7380b17 --- /dev/null +++ b/vimfiles/ftdetect/jenkinsfile.vim @@ -0,0 +1,3 @@ +augroup DetectJenkinsfile + autocmd BufRead,BufNewFile Jenkinsfile,Jenkinsfile* setfiletype groovy +augroup END