Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Jenkinsfile VIM syntax highlighting
echo 'au BufNewFile,BufRead Jenkinsfile setf groovy' >> ~/.vimrc
Copy link

This is very useful 👍

Copy link

Lemmah commented May 19, 2019

Awesome! I was almost getting a plugin for this. Thanks!

Copy link

aryklein commented Oct 7, 2019

Thanks 👍

Copy link

mpwsh commented Dec 10, 2019

thanks dude!

Copy link

au BufNewFile,BufRead Jenkinsfile setf groovy
Didnt seem to work when I added this to my init.vim

Copy link

amtux commented Feb 15, 2020

works - thank you!

Copy link

So simple! 👍

Copy link

great - thanks

Copy link

IdlePhysicist commented Jul 7, 2020

Thank you!

Copy link


Copy link

🎸 Rock on!

Copy link

jclegras commented Nov 4, 2020

Simple and clear, thanks

Copy link

adamwojt commented Jan 11, 2022

this worked for me:

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

Copy link

Nice!! It's the same for Nvim (init.vim)

Copy link

Thx so much--it work 👍

Copy link

lirem commented Oct 31, 2022

It's really works, thank you :)

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