Skip to content

Instantly share code, notes, and snippets.

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

ichihara-3 commented Jan 21, 2019

This is very useful 👍
Thanks!

@Lemmah
Copy link

Lemmah commented May 19, 2019

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

@aryklein
Copy link

aryklein commented Oct 7, 2019

Thanks 👍

@mpwsh
Copy link

mpwsh commented Dec 10, 2019

thanks dude!

@thepenguinthatwants
Copy link

thepenguinthatwants commented Jan 26, 2020

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

@amtux
Copy link

amtux commented Feb 15, 2020

works - thank you!

@mcouthon
Copy link

mcouthon commented Mar 31, 2020

So simple! 👍

@sunshine69
Copy link

sunshine69 commented Apr 16, 2020

great - thanks

@IdlePhysicist
Copy link

IdlePhysicist commented Jul 7, 2020

Thank you!

@fishi0x01
Copy link

fishi0x01 commented Sep 9, 2020

❤️

@pfsquirrel
Copy link

pfsquirrel commented Oct 9, 2020

🎸 Rock on!

@jclegras
Copy link

jclegras commented Nov 4, 2020

Simple and clear, thanks

@adamwojt
Copy link

adamwojt commented Jan 11, 2022

@thepenguinthatwants
this worked for me:

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

@Molina-Git
Copy link

Molina-Git commented Feb 16, 2022

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

@cckcoder
Copy link

cckcoder commented May 19, 2022

Thx so much--it work 👍

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