Skip to content

Instantly share code, notes, and snippets.

@leodido
Created July 14, 2012 21:06
Show Gist options
  • Save leodido/3113355 to your computer and use it in GitHub Desktop.
Save leodido/3113355 to your computer and use it in GitHub Desktop.
Sublime Text 2 - R Syntax-specific Settings for Sublime Alignment
// This file contains the settings for Sublime Alignment to work with R files
// Sublime Alignment -> https://github.com/wbond/sublime_alignment
// Put this file in the "/Packages/Alignment/" directory of your ST2 installation
{
// The mid-line characters to align in a multi-line selection, changing
// this to an empty array will disable mid-line alignment
"alignment_chars": [ "=", "-" ],
// If the following character is matched for alignment, insert a space
// before it in the final alignment
"alignment_space_chars": [ "=", "-" ],
// The characters to align along with "alignment_chars"
// For instance if the = is to be aligned, there are a number of
// symbols that can be combined with the = to make an operator, and all
// of those must be kept next to the = for the operator to be parsed
"alignment_prefix_chars": [ "<" ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment