From 5e9dfcfefe3d6d46268dcda57321a1e80b83c490 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 17 Feb 2023 09:29:14 +0100 Subject: [PATCH] Template sublime preferences for different font size on macos and others --- ...es.sublime-settings => Preferences.sublime-settings.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename Preferences.sublime-settings => Preferences.sublime-settings.tmpl (73%) diff --git a/Preferences.sublime-settings b/Preferences.sublime-settings.tmpl similarity index 73% rename from Preferences.sublime-settings rename to Preferences.sublime-settings.tmpl index a173016..5cfb461 100644 --- a/Preferences.sublime-settings +++ b/Preferences.sublime-settings.tmpl @@ -2,7 +2,11 @@ // and are overridden in turn by syntax-specific settings. { "font_face": "MonoLisa", - "font_size": 17, +{{- if eq .chezmoi.os "darwin" }} + "font_size": 17, +{{- else }} + "font_size": 14, +{{- end }} "scroll_past_end": 0.7, "rulers": [88], "ruler_style": "stippled",