]> git.mdlowis.com Git - projs/tide.git/commitdiff
turn trim-on-save on by default
authorMichael D. Lowis <mike@mdlowis.com>
Wed, 28 Jun 2017 01:36:48 +0000 (21:36 -0400)
committerMichael D. Lowis <mike@mdlowis.com>
Wed, 28 Jun 2017 01:36:48 +0000 (21:36 -0400)
lib/config.c

index 99719662368ee7323e70a65d6ae3e8deac7248a3..bf48b1622b5eda7f82857484998bd432e96656e8 100644 (file)
@@ -36,7 +36,7 @@ struct {
 
     /* input related options */
     [CopyIndent]   = { "tide.input.copy_indent",   BOOLEAN, { .opt = true  } },
-    [TrimOnSave]   = { "tide.input.trim_on_save",  BOOLEAN, { .opt = false } },
+    [TrimOnSave]   = { "tide.input.trim_on_save",  BOOLEAN, { .opt = true  } },
     [ExpandTabs]   = { "tide.input.expand_tabs",   BOOLEAN, { .opt = true  } },
     [TabWidth]     = { "tide.input.tab_width",     INTEGER, { .num = 4     } },
     [ScrollLines]  = { "tide.input.scroll_lines",  INTEGER, { .num = 4     } },