Skip to content

Instantly share code, notes, and snippets.

Jenkinsfile VIM syntax highlighting
echo 'au BufNewFile,BufRead Jenkinsfile setf groovy' >> ~/.vimrc
@mbenhalima
Copy link

@thepenguinthatwants this worked for me:

augroup set_jenkins_groovy
au!
au BufNewFile,BufRead *.jenkinsfile,*.Jenkinsfile,Jenkinsfile,jenkinsfile setf groovy
augroup END

worked great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment