Skip to content

Instantly share code, notes, and snippets.

@dalisoft
Last active February 15, 2022 16:14
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 dalisoft/98a460034ebe6352ad6a0701242858a5 to your computer and use it in GitHub Desktop.
Save dalisoft/98a460034ebe6352ad6a0701242858a5 to your computer and use it in GitHub Desktop.
ST4 Very light config
{
"show_in_minimap": "solid",
"content_highlight_bar": true,
"align_content_highlight_bar": true,
"high_visibility_enabled_by_default": true
}
[
{
"keys": ["super+alt+enter"],
"command": "lsp_symbol_definition",
"context": [
{
"key": "selector",
"operator": "equal",
"operand": ["source.reason"]
}
]
},
{
"keys": ["super+shift+c"],
"command": "lsp_format_document",
"context": [
{
"key": "selector",
"operator": "equal",
"operand": ["source.reason"]
}
]
},
{
"args": {
"panel": "find",
"reverse": false
},
"command": "show_panel",
"keys": [
"super+f"
]
},
{
"args": {
"panel": "replace",
"reverse": false
},
"command": "show_panel",
"keys": [
"super+r"
]
},
{
"command": "toggle_side_bar",
"keys": [
"ctrl+n"
]
},
{
"command": "terminus_close",
"context": [
{
"key": "terminus_view"
}
],
"keys": [
"super+w"
]
},
{
"args": {
"cwd": "${file_path:${folder}}"
},
"command": "open_terminal",
"keys": [
"super+shift+t"
]
},
{
"command": "open_terminal_project_folder",
"keys": [
"super+`"
]
}
]
{
"extensions":
[
"js"
]
}
// Your settings for FileManager. See the default file to see the different options.
{
"terminals": [
{
"name": "Terminal",
"cmd": ["open", "-a", "Terminal", "$cwd"],
"platform": "osx"
}
]
}
{
"extensions":
[
"fish"
]
}
{
"_sublime_gitignorer_has_run": true
}
{
"debug": false,
"auto_format_on_save": true,
"allow_inline_formatting": false,
"auto_format_on_save_requires_prettier_config": true
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Log Highlight</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
<dict>
<key>background</key>
<string>#161c23</string>
<key>caret</key>
<string>#F29718</string>
<key>foreground</key>
<string>#D7D7D7</string>
<key>lineHighlight</key>
<string>#283240</string>
<key>selection</key>
<string>#3A5166</string>
<key>selectionBorder</key>
<string>#181E26</string>
</dict>
</dict>
<dict>
<key>scope</key>
<string>msg.warning.quote</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#4F99D3</string>
</dict>
</dict>
<dict>
<key>scope</key>
<string>msg.warning.link</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#FD971F</string>
</dict>
</dict>
<dict>
<key>scope</key>
<string>msg.warning</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#A1B347</string>
</dict>
</dict>
<dict>
<key>scope</key>
<string>msg.error.quote</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#4F99D3</string>
</dict>
</dict>
<dict>
<key>scope</key>
<string>msg.error.link</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#E6DB74</string>
</dict>
</dict>
<dict>
<key>scope</key>
<string>msg.error</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#F92672</string>
</dict>
</dict>
<dict>
<key>scope</key>
<string>summary.title</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#D7D7D7</string>
</dict>
</dict>
</array>
<key>uuid</key>
<string>403e2150-aad4-41ff-86d0-36d87510918e</string>
</dict>
</plist>
// Settings in here override those in "LSP-css/LSP-css.sublime-settings"
{
"languages": [
{
"languageId": "css",
"document_selector": "source.css",
},
{
"languageId": "scss",
"document_selector": "source.scss"
},
{
"languageId": "less",
"document_selector": "source.less"
},
],
}
// Settings in here override those in "LSP-dockerfile/LSP-dockerfile.sublime-settings"
{
"languages": [
{
"languageId": "dockerfile",
"document_selector": "source.dockerfile"
}
],
}
// Settings in here override those in "LSP-eslint/LSP-eslint.sublime-settings"
{}
// Settings in here override those in "LSP-html/LSP-html.sublime-settings",
{
"languages": [
{
"languageId": "html",
"document_selector": "text.html.basic | source.php"
}
]
}
// Settings in here override those in "LSP-json/LSP-json.sublime-settings"
{
"languages": [
{
"languageId": "json",
"document_selector": "source.json"
}
],
"settings": {
"json": {
"format": { "enable": true }
}
}
}
{
"command": ["${node_bin}", "${server_path}", "--stdio"],
"languages": [
{
"languageId": "typescriptreact",
"scopes": ["source.tsx"],
"syntaxes": [
"Packages/TypeScript Syntax/TypeScriptReact.tmLanguage",
],
},
{
"languageId": "typescript",
"scopes": ["source.ts"],
"syntaxes": [
"Packages/TypeScript Syntax/TypeScript.tmLanguage",
],
},
],
"initializationOptions": {},
"settings": {},
}
{
"languages": [
{
"languageId": "yaml",
"document_selector": "source.yaml | source.yml"
}
]
}
{
"auto_show_diagnostics_panel_level": 2,
"clients":
{
// Frontend
"lsp-css":
{
"enabled": true
},
"lsp-html":
{
"enabled": true
},
// Basics
"lsp-json":
{
"enabled": true
},
"lsp-yaml":
{
"enabled": true
},
// DevOps basics
"lsp-bash":
{
"enabled": true
},
"lsp-dockerfile":
{
"enabled": true
},
// Javascript / TypeScript
"lsp-eslint":
{
"enabled": true
},
"lsp-typescript":
{
"enabled": true
},
// GraphQL
"lsp-graphql":
{
"enabled": true
},
// Python
"lsp-pyright":
{
"enabled": true
},
"pyls":
{
"enabled": false
},
// PHP
"lsp-intelephense":
{
"enabled": true
},
// C / C++
"clangd": {
"enabled": true
},
// GoLang
"gopls": {
"enabled": true
},
// OCaml
// Can be used for Reason
// as recommended
"ocaml": {
"enabled": false
},
// Reason/ReasonML
"rls": {
"command":
[
"rustup",
"run",
"rls"
],
"enabled": false
},
// Rust
"rust-analyzer":
{
"enabled": true
}
},
"diagnostics_panel_include_severity_level": 3,
"log_debug": false,
"log_stderr": true,
"lsp_code_actions_on_save":
{
"source.fixAll": true,
"source.organizeImports": true
},
"lsp_format_on_save": true,
"show_code_actions": "bulb",
"show_diagnostics_count_in_view_status": true,
"show_diagnostics_severity_level": 3,
"show_references_in_quick_panel": true,
"show_symbol_action_links": true
}
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"A File Icon",
"Decent Swift Syntax",
"Dockerfile Syntax Highlighting",
"DotENV",
"EditorConfig",
"fish",
"Gitignore",
"ImagePreview",
"JsPrettier",
"Kotlin",
"LESS",
"Log Highlight",
"Markdown Extended",
"MarkdownPreview",
"Package Control",
"Pretty JSON",
"Reason",
"Rust Enhanced",
"Sass",
"SideBarTools",
"SVGO",
"Swift",
"Sync Settings",
"Terminal",
"TodoReview",
"TOML",
"TypeScript Syntax",
],
"repositories":
[
"https://github.com/emmetio/sublime-text-plugin/releases/latest/download/registry.json"
],
}
{
"hardware_acceleration": "opengl",
"always_show_minimap_viewport": true,
"auto_complete": true,
"auto_complete_commit_on_tab": true,
"auto_complete_triggers": [
{
"characters": "<",
"selector": "text.html",
},
{
"characters": ".",
"selector": "source.js",
}
],
"binary_file_patterns": [
"*.jpg",
"*.jpeg",
"*.png",
"*.gif",
"*.ttf",
"*.tga",
"*.dds",
"*.ico",
"*.eot",
"*.pdf",
"*.swf",
"*.jar",
"*.zip"
],
"bold_folder_labels": true,
"caret_style": "phase",
"color_scheme": "Packages/Color Scheme - Default/Monokai.sublime-color-scheme",
"enable_inline_error_tips": true,
"enable_language_service_for_javascript": false,
"enable_typescript_language_service": true,
"fade_fold_buttons": false,
"file_exclude_patterns": [
"*.pyc",
"*.pyo",
"*.exe",
"*.dll",
"*.obj",
"*.o",
"*.a",
"*.lib",
"*.so",
"*.dylib",
"*.ncb",
"*.sdf",
"*.suo",
"*.pdb",
"*.idb",
".DS_Store",
"*.class",
"*.psd",
"*.db",
"*.sublime-workspace"
],
"folder_exclude_patterns": [
".svn",
".git",
".hg",
"CVS"
],
"font_face": "Monaco",
"font_options": [
"gray_antialias",
"no_round"
],
"font_size": 14,
"git_diff_target": "head",
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages": [
],
"indent_guide_options": [
"draw_normal",
"draw_active"
],
"line_padding_bottom": 1,
"line_padding_top": 1,
"lsp_format_on_save": true,
"match_brackets": true,
"match_brackets_angle": true,
"match_brackets_braces": true,
"match_brackets_content": true,
"match_brackets_square": true,
"match_tags": true,
"material_theme_contrast_mode": true,
"native_tabs": "preferred",
"overlay_scroll_bars": "enabled",
"remember_full_screen": true,
"save_on_focus_lost": true,
"show_encoding": true,
"show_git_status": true,
"show_line_endings": true,
"spell_check": false,
"theme": "Default Dark.sublime-theme",
"theme_font_options": [
"gray_antialias"
],
"typescript_auto_format": false,
"update_check": false,
"word_wrap": true,
}
{
"extensions":
[
"jsx"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment