Vagrant is a very useful tool for creation lightweight, reproductible environments. Vagrant uses virtual boxes via an easy to use command line tool.
vagrant -v
.Follow the Vagrant start up guide.
Download the latest version from here.
In order to add syntax highlighting for Vagrantfile files, we'll edit the Ruby language default associations:
<key>fileTypes</key>
associations.<string>Vagrantfile</string>
in the <array>
tag:<key>fileTypes</key>
<array>
<string>rb</array>
<string>rbx</array>
.....
<string>Vagrantfile</array>
If in your SublimeText 3 packages folder there is no Ruby/Ruby.tmLanguage file, there is an alternative to get the same funtionality done:
Plain Text
writtenOpen all with current extension as..
and select the desired language.reference: https://medium.com/@iturgeon/vagrantfile-syntax-highlighting-in-sublime-text-92bb72a74361