Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (40 sloc) 1.8 KB
{
// The number of spaces a tab is considered equal to
"tab_size": 2,
// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": true,
// If translate_tabs_to_spaces is true, use_tab_stops will make tab and
// backspace insert/delete up to the next tabstop
"use_tab_stops": true,
// Set to false to disable detection of tabs vs. spaces on load
"detect_indentation": true,
// Calculates indentation automatically when pressing enter
"auto_indent": true,
// Makes auto indent a little smarter, e.g., by indenting the next line
// after an if statement in C. Requires auto_indent to be enabled.
"smart_indent": true,
// Adds whitespace up to the first open bracket when indenting. Requires
// auto_indent to be enabled.
"indent_to_bracket": true,
// Trims white space added by auto_indent when moving the caret off the
// line.
"trim_automatic_white_space": true,
// Disables horizontal scrolling if enabled.
// May be set to true, false, or "auto", where it will be disabled for
// source code, and otherwise enabled.
"word_wrap": "auto",
// Set to a value other than 0 to force wrapping at that column rather than the
// window width
"wrap_width": 0,
// Set to false to prevent word wrapped lines from being indented to the same
// level
"indent_subsequent_lines": true,
// Draws text centered in the window rather than left aligned
"draw_centered": false,
// Controls auto pairing of quotes, brackets etc
"auto_match_enabled": true,
// Controls how the indent guides are drawn, valid options are
// "draw_normal" and "draw_active". draw_active will draw the indent
// guides containing the caret in a different color.
"indent_guide_options": ["draw_active"]
}