Skip to content

Instantly share code, notes, and snippets.

@boneskull
Last active June 24, 2023 13:42
Show Gist options
  • Save boneskull/efcf2dcf265096f014d7 to your computer and use it in GitHub Desktop.
Save boneskull/efcf2dcf265096f014d7 to your computer and use it in GitHub Desktop.
syntax highlighting for Vagrantfile in non-RubyMine JetBrains IDEs
  1. Add this file to /path/to/prefs/filetypes/
  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