Skip to content

Instantly share code, notes, and snippets.

@tonioriol
Forked from boneskull/README.md
Last active April 12, 2019 15:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save tonioriol/02b516e9ec435dd1120122b657b0e217 to your computer and use it in GitHub Desktop.
syntax highlighting for Vagrantfile in non-RubyMine JetBrains IDEs
  1. Add this file to ~/Library/Preferences/RiderXXXX.X/filetypes/Vagranfile.xml
  2. Restart IDE

This page will help you find the correct directory.

<filetype binary="false" description="Vagrant Configuration File" name="Vagrantfile">
<highlighting>
<options>
<option name="LINE_COMMENT" value="#" />
<option name="COMMENT_START" value="=begin" />
<option name="COMMENT_END" value="=end" />
<option name="HEX_PREFIX" value="" />
<option name="NUM_POSTFIXES" value="" />
<option name="HAS_BRACES" value="true" />
<option name="HAS_BRACKETS" value="true" />
<option name="HAS_PARENS" value="true" />
<option name="HAS_STRING_ESCAPES" value="true" />
</options>
<keywords keywords="BEGIN;END;begin;break;case;do;else;elsif;end;ensure;for;if;in;next;rescue;retry;then;until;when;while" ignore_case="false" />
<keywords2 keywords="__ENCODING__;__END__;__FILE__;__LINE__" />
<keywords3 keywords="and;false;nil;not;or;true" />
<keywords4 keywords="class;def;module;return;self;super;undef;yield" />
</highlighting>
<extensionMap>
<mapping pattern="Vagrantfile" />
</extensionMap>
</filetype>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment