node.default["sublime_use_nodejs"] = FALSE

node.default["sublime_text_packages"] = [
    {
        "name"   => "SideBarEnhancements",
        "source" => "https://github.com/titoBouzout/SideBarEnhancements",
        "branch" => "st3"
    },
    {
        "name"   => "Sass",
        "source" => "https://github.com/nathos/sass-textmate-bundle.git",
        "branch" => "master"
    },
    {
        "name"   => "BracketHighlighter",
        "source" => "https://github.com/facelessuser/BracketHighlighter.git",
        "branch" => "master"
    },
    {
        "name"   => "ApplySyntax",
        "source" => "https://github.com/facelessuser/ApplySyntax.git",
        "branch" => "master"
    },
    {
        "name"   => "Material Theme",
        "source" => "https://github.com/equinusocio/material-theme.git",
        "branch" => "master"
    },
    {
        "name"   => "Fix Mac Path",
        "source" => "https://github.com/int3h/SublimeFixMacPath.git",
        "branch" => "master"
    },
    {
        "name"   => "ColdFusion",
        "source" => "https://github.com/SublimeText/ColdFusion.git",
        "branch" => "development"
    },
    {
        "name"   => "Color Highlighter",
        "source" => "https://github.com/Monnoroch/ColorHighlighter",
        "branch" => "master"
    },
    {
        "name"   => "GitGutter",
        "source" => "https://github.com/jisaacks/GitGutter.git",
        "branch" => "master"
    },
    {
        "name"   => "HTMLPrettify",
        "source" => "https://github.com/victorporof/Sublime-HTMLPrettify.git",
        "branch" => "master"
    },
    {
        "name"   => "Emmet",
        "source" => "https://github.com/sergeche/emmet-sublime.git",
        "branch" => "master"
    },
    {
        "name"   => "CodeIntel",
        "source" => "https://github.com/SublimeCodeIntel/SublimeCodeIntel.git",
        "branch" => "master"
    },
    {
        "name"   => "SublimeLinter",
        "source" => "https://github.com/SublimeLinter/SublimeLinter3.git",
        "branch" => "master"
    },
    {
        "name"   => "SublimeLinter-jscs",
        "source" => "https://github.com/SublimeLinter/SublimeLinter-jscs.git",
        "branch" => "master"
    },
    {
        "name"   => "SublimeLinter-jshint",
        "source" => "https://github.com/SublimeLinter/SublimeLinter-jshint.git",
        "branch" => "master"
    }
]

node.default['sublime_text']['preferences'] = {}.tap do |prefs|
    prefs["color_scheme"] = "Packages/Material Theme/schemes/Material-Theme.tmTheme"
    prefs["theme"] = "Material-Theme.sublime-theme"
    prefs["font_face"] = "Source Code Pro",
    prefs["font_size"] = 14
    prefs["font_options"] = [ "gray_antialias" ]
    prefs["auto_complete"] = true
    prefs["auto_complete_commit_on_tab"] = true
    prefs["auto_complete_with_fields"] = true
    prefs["bold_folder_labels"] = true
    prefs["caret_style"] = "phase"
    prefs["detect_indentation"] = true
    prefs["fade_fold_buttons"] = true
    prefs["folder_exclude_patterns"] = [
        ".svn",
        ".git",
        ".hg",
        "CVS",
        "tmp",
        ".bundle",
        ".sass-cache",
        "log",
        "cache"
    ]
    prefs["highlight_modified_tabs"] = true
    prefs["highlight_line"] = true
    prefs["hot_exit"] = false
    prefs["draw_white_space"] = "all"
    prefs["ensure_newline_at_eof_on_save"] = true
    prefs["file_exclude_patterns"] = [
        ".DS_Store",
        ".gitkeep",
        "dump.rdb"
    ]
    prefs["remember_open_files"] = true
    prefs["save_on_focus_lost"] = true
    prefs["tab_size"] = 2
    prefs["translate_tabs_to_spaces"] = true
    prefs["trim_trailing_white_space_on_save"] = true
    prefs["line_padding_bottom"] = 3
    prefs["line_padding_top"] = 3
    prefs["fade_fold_buttons"] = false
    prefs["scroll_past_end"] = true
    prefs["material_theme_small_tab"] = true
    prefs["overlay_scroll_bars"] = "enabled"
    prefs["always_show_minimap_viewport"] = true
    prefs["indent_guide_options"] = [ "draw_normal", "draw_active" ]
end
