settings.json (2470B)
1 { 2 // Keybindings 3 "base_keymap": "None", 4 "vim_mode": true, 5 6 // Editor 7 "hard_tabs": true, 8 "tab_size": 4, 9 "use_autoclose": false, 10 "cursor_blink": false, 11 "vertical_scroll_margin": 3, 12 "search": { "regex": true }, 13 "gutter": { "folds": false }, 14 "wrap_guides": [80, 120, 160], 15 "relative_line_numbers": "enabled", 16 "preferred_line_length": 160, // This only affects soft wrap. 17 "show_completions_on_input": false, 18 19 // UI 20 "tabs": { "show_close_button": "hidden" }, // I don't want to accidentally close tabs. 21 "git_panel": { "dock": "right" }, 22 "outline_panel": { "dock": "right" }, 23 "project_panel": { "auto_reveal_entries": false }, 24 25 // Style 26 "ui_font_size": 15, 27 "buffer_font_size": 15, 28 // Zed font features currently don't work on Linux, so we use a variant of 29 // JuliaMono with ligatures hard-coded off, created with 30 // https://mutsuntsai.github.io/fontfreeze. 31 "buffer_font_family": "JuliaMono Freeze", 32 "theme": { 33 "mode": "dark", 34 "light": "KTRZ Monokai", 35 "dark": "KTRZ Monokai" 36 }, 37 "experimental.theme_overrides": { 38 "syntax": { 39 "boolean": { "color": "#00cc55" }, 40 "comment": { "color": "#808080", "font_style": "italic" }, 41 "constructor": { "color": "#00cc55" }, 42 "function": { "color": "#d7d7d7" }, 43 "property": { "color": "#d7d7d7" }, 44 "punctuation.bracket": { "color": "#a7a7a7" }, 45 "punctuation.delimiter": { "color": "#a7a7a7" }, 46 "title": { "color": "#d7d7d7" }, 47 "variable": { "color": "#d7d7d7" } 48 } 49 }, 50 51 // LSP 52 "lsp": { 53 "hls": { 54 "initialization_options": { 55 "haskell": { "formattingProvider": "fourmolu" } 56 } 57 } 58 }, 59 "languages": { 60 "CSS": { "format_on_save": "off" }, 61 "Haskell": { 62 "hard_tabs": false, 63 "formatter": { 64 "external": { 65 "command": "fourmolu", 66 "arguments": ["--haddock-style=single-line", "--newlines-between-decls=0", "--stdin-input-file={buffer_path}", "--in-style=no-space"] 67 } 68 } 69 }, 70 "HTML": { "format_on_save": "off" }, 71 "JavaScript": { "format_on_save": "off" }, 72 "Plain Text": { 73 "format_on_save": "off", 74 "remove_trailing_whitespace_on_save": false // Doesn't work?! 75 }, 76 "TypeScript": { "format_on_save": "off" } 77 }, 78 79 // Disable some crap 80 "disable_ai": true, 81 "features": { "edit_prediction_provider": "none" }, 82 "collaboration_panel": { "button": false }, 83 "tab_bar": { 84 "show_nav_history_buttons": false, 85 "show_tab_bar_buttons": false 86 }, 87 "terminal": { "button": false }, 88 "telemetry": { 89 "diagnostics": false, 90 "metrics": false 91 } 92 }