From befe223042d664be7cee26eac4f3da5d8e87a89a Mon Sep 17 00:00:00 2001 From: Mikhail Strelnikov Date: Mon, 9 May 2016 21:58:46 +0300 Subject: [PATCH] Don't draw any whitespaces by default also fix the warning from Spirit --- src/files.h | 2 +- src/source.cc | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/files.h b/src/files.h index 250503a..9212c85 100644 --- a/src/files.h +++ b/src/files.h @@ -38,7 +38,7 @@ const std::string configjson = " \"cleanup_whitespace_characters_comment\": \"Remove trailing whitespace characters on save, and add trailing newline if missing\",\n" " \"cleanup_whitespace_characters\": false,\n" " \"draw_spaces_comment\": \"Determines what kind of whitespaces should be drawn. Use comma-separated list of: space, tab, newline, nbsp, leading, text, trailing or all\",\n" -" \"draw_spaces\": \"space, tab, nbsp, trailing\",\n" +" \"draw_spaces\": \"\",\n" " \"show_map\": true,\n" " \"map_font_size\": \"1\",\n" " \"spellcheck_language_comment\": \"Use \\\"\\\" to set language from your locale settings\",\n" diff --git a/src/source.cc b/src/source.cc index b69b3be..0b3126c 100644 --- a/src/source.cc +++ b/src/source.cc @@ -4,7 +4,9 @@ #include "terminal.h" #include -#include +#include +#include +#include #include