Skip to content

Instantly share code, notes, and snippets.

@silentsokolov
Last active August 21, 2019 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silentsokolov/e4e66e9a53f661ba89a2fcd4d81af049 to your computer and use it in GitHub Desktop.
Save silentsokolov/e4e66e9a53f661ba89a2fcd4d81af049 to your computer and use it in GitHub Desktop.
The Public Sublime Text 3 Settings for Python/Golang developers
{
"tab_size": 4,
"translate_tabs_to_spaces": false,
}
{
"cmds": [
["goimports", "-e"]
],
"format_on_save": true
}
{
"log_debug": true,
"auto_show_diagnostics_panel": true,
"auto_show_diagnostics_panel_level": 1,
"clients": {
"pyls": {
"command": ["~/.pyenv/versions/lsp/bin/pyls"],
"scopes": ["source.python"],
"syntaxes": ["Packages/Python/Python.sublime-syntax", "Packages/Djaneiro/Syntaxes/Python Django.tmLanguage"],
"languageId": "python",
"settings": {
"pyls": {
"configurationSources": ["flake8"],
"plugins": {
"jedi_definition": {
"follow_imports": true
},
"pycodestyle": {
"maxLineLength": 140,
"ignore": ["E722"]
}
}
}
}
},
"gopls": {
"command": ["gopls"],
"scopes": ["source.go"],
"syntaxes": ["Packages/Go/Go.sublime-syntax"],
"languageId": "go"
},
"rls": {
"command": ["rustup", "run", "stable", "rls"],
"scopes": ["source.rust"],
"syntaxes": ["Packages/Rust/Rust.sublime-syntax", "Packages/Rust Enhanced/RustEnhanced.sublime-syntax"],
"languageId": "rust"
}
}
}
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"A File Icon",
"ChangeQuotes",
"GitSavvy",
"Gofmt",
"LSP",
"Package Control",
"ProjectManager",
"RustFmt",
"SFTP",
"SideBarEnhancements",
"SublimeLinter",
"SublimeLinter-golangcilint",
"Sync Settings"
]
}
{
"close_windows_when_empty": true,
"draw_white_space": "selection",
"folder_exclude_patterns":
[
".svn",
".git",
".hg",
"CVS",
"__pycache__",
".golangci-*",
".golangcilint-*",
".gometalinter-*"
],
"font_size": 11,
"ignored_packages":
[
"Vintage"
],
"scroll_past_end": true,
"shift_tab_unindent": true,
"enable_tab_scrolling": false,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment