dotfiles

dot files
git clone git://git.rr3.xyz/dotfiles | git clone gits://git.rr3.xyz/dotfiles
Log | Files | Refs

settings.json (2546B)


      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 	"cli_default_open_behavior": "existing_window",
     21 	"tabs": { "show_close_button": "hidden" }, // I don't want to accidentally close tabs.
     22 	"git_panel": { "dock": "right", "default_width": 360, "starts_open": true },
     23 	"outline_panel": { "dock": "right", "default_width": 360 },
     24 	"project_panel": { "dock": "left", "default_width": 280, "starts_open": true, "auto_reveal_entries": false },
     25 
     26 	// Style
     27 	"ui_font_size": 15,
     28 	"buffer_font_size": 15,
     29 	// Zed font features currently don't work on Linux, so we use a variant of
     30 	// JuliaMono with ligatures hard-coded off, created with
     31 	// https://mutsuntsai.github.io/fontfreeze.
     32 	"buffer_font_family": "JuliaMono Freeze",
     33 	"theme": {
     34 		"mode": "dark",
     35 		"light": "KTRZ Monokai",
     36 		"dark": "KTRZ Monokai",
     37 	},
     38 	"experimental.theme_overrides": {
     39 		"syntax": {
     40 			"boolean": { "color": "#00cc55" },
     41 			"comment": { "color": "#808080", "font_style": "italic" },
     42 			"constructor": { "color": "#00cc55" },
     43 			"function": { "color": "#d7d7d7" },
     44 			"property": { "color": "#d7d7d7" },
     45 			"punctuation.bracket": { "color": "#a7a7a7" },
     46 			"punctuation.delimiter": { "color": "#a7a7a7" },
     47 			"title": { "color": "#d7d7d7" },
     48 			"variable": { "color": "#d7d7d7" },
     49 		},
     50 	},
     51 
     52 	// LSP
     53 	"lsp": {
     54 		"hls": {
     55 			"initialization_options": {
     56 				"haskell": { "formattingProvider": "fourmolu" },
     57 			},
     58 		},
     59 	},
     60 	"languages": {
     61 		"Haskell": {
     62 			"hard_tabs": false,
     63 			"formatter": {
     64 				"external": {
     65 					"command": "fourmolu",
     66 					"arguments": ["--stdin-input-file", "{buffer_path}"],
     67 				},
     68 			},
     69 		},
     70 		"HTML": { "formatter": "none" },
     71 		"CSS": { "formatter": "none" },
     72 		"JavaScript": { "formatter": "none" },
     73 		"TypeScript": { "formatter": "none" },
     74 		"Plain Text": {
     75 			"format_on_save": "off",
     76 			"remove_trailing_whitespace_on_save": false, // Doesn't work?!
     77 		},
     78 	},
     79 
     80 	// Disable some crap
     81 	"auto_update": false,
     82 	"disable_ai": true,
     83 	"collaboration_panel": { "dock": "left", "button": false },
     84 	"tab_bar": {
     85 		"show_nav_history_buttons": false,
     86 		"show_tab_bar_buttons": false,
     87 	},
     88 	"terminal": { "button": false },
     89 	"telemetry": {
     90 		"diagnostics": false,
     91 		"metrics": false,
     92 	},
     93 }