Created
July 29, 2016 08:38
-
-
Save vhugo/70c3760c22313d3a0d8f1b14a5c93212 to your computer and use it in GitHub Desktop.
Sublime Configs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// you may set specific environment variables here | |
// e.g "env": { "PATH": "$HOME/go/bin:$PATH" } | |
// in values, $PATH and ${PATH} are replaced with | |
// the corresponding environment(PATH) variable, if it exists. | |
"env": {"GOPATH": "$HOME/Code/go", "PATH": "$GOPATH/bin:$PATH" }, | |
"fmt_cmd": ["goimports"], | |
// enable comp-lint, this will effectively disable the live linter | |
"comp_lint_enabled": true, | |
// list of commands to run | |
"comp_lint_commands": [ | |
// run `golint` on all files in the package | |
// "shell":true is required in order to run the command through your shell (to expand `*.go`) | |
// also see: the documentation for the `shell` setting in the default settings file ctrl+dot,ctrl+4 | |
{"cmd": ["golint *.go"], "shell": true}, | |
// run go vet on the package | |
{"cmd": ["go", "vet"]}, | |
// run `go install` on the package. GOBIN is set, | |
// so `main` packages shouldn't result in the installation of a binary | |
{"cmd": ["go", "install"]} | |
], | |
"on_save": [ | |
// run comp-lint when you save, | |
// naturally, you can also bind this command `gs_comp_lint` | |
// to a key binding if you want | |
{"cmd": "gs_comp_lint"} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"added_words": | |
[ | |
"uncheck" | |
], | |
"anaconda_linting": false, | |
"auto_complete": true, | |
"auto_complete_commit_on_tab": true, | |
"caret_extra_width": 1, | |
"caret_style": "phase", | |
"close_windows_when_empty": false, | |
"color_scheme": "Packages/User/Twilight (SL).tmTheme", | |
"copy_with_empty_selection": true, | |
"drag_text": false, | |
"draw_minimap_border": false, | |
"enable_tab_scrolling": false, | |
"ensure_newline_at_eof_on_save": true, | |
"file_exclude_patterns": | |
[ | |
"_generated*", | |
"*.pyc", | |
"*.pyo", | |
"*.exe", | |
"*.dll", | |
"*.obj", | |
"*.o", | |
"*.a", | |
"*.lib", | |
"*.so", | |
"*.dylib", | |
"*.ncb", | |
"*.sdf", | |
"*.suo", | |
"*.pdb", | |
"*.idb", | |
".DS_Store", | |
"*.class", | |
"*.psd", | |
"*.db" | |
], | |
"find_selected_text": true, | |
"findreplace_small": true, | |
"folder_exclude_patterns": | |
[ | |
"_generated*", | |
".svn", | |
".git", | |
".hg", | |
"CVS", | |
"vendor/cache" | |
], | |
"font_options": | |
[ | |
"no_round" | |
], | |
"font_size": 11.0, | |
"gutter": true, | |
"highlight_active_indent_guide": true, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": | |
[ | |
"Markdown", | |
"SublimeCodeIntel", | |
"Vintage", | |
"Vintageous" | |
], | |
"index_files": true, | |
"margin": 0, | |
"match_brackets_content": false, | |
"match_selection": false, | |
"match_tags": false, | |
"open_files_in_new_window": false, | |
"overlay_scroll_bars": "enabled", | |
"predawn_findreplace_small": true, | |
"predawn_quick_panel_small": true, | |
"predawn_tabs_small": true, | |
"preview_on_click": false, | |
"rulers": | |
[ | |
72, | |
79 | |
], | |
"scroll_past_end": true, | |
"scroll_speed": 5.0, | |
"show_full_path": false, | |
"show_minimap": false, | |
"sidebar_default": true, | |
"tab_completion": true, | |
"tab_size": 2, | |
"tabs_small": true, | |
"theme": "Spacegray.sublime-theme", | |
"translate_tabs_to_spaces": true, | |
"trim_trailing_white_space_on_save": true, | |
"wide_caret": true, | |
"word_separators": "./\\()\"'-:,.;<>~@#$%^&*|+=[]{}`~", | |
"word_wrap": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment