Skip to content

Commit

Permalink
vimfiles: Detect Jenkinsfiles as Groovy
Browse files Browse the repository at this point in the history
Simpler highlighting, but more reliable than the Jenkinsfile-vim-syntax
which sometimes incorrectly highlighted parentheses as unmatched.
  • Loading branch information
derekerdmann committed Feb 8, 2024
1 parent 0da8f2e commit e9c1906
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vimfiles/ftdetect/jenkinsfile.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
augroup DetectJenkinsfile
autocmd BufRead,BufNewFile Jenkinsfile,Jenkinsfile* setfiletype groovy
augroup END

0 comments on commit e9c1906

Please sign in to comment.