Browse Source

Markdown now automatically has text wrap set to WRAP_WORD_CHAR

pipelines/235045657
eidheim 6 years ago
parent
commit
994595d2cc
  1. 2
      src/source.cc

2
src/source.cc

@ -372,7 +372,7 @@ void Source::View::configure() {
set_draw_spaces(parse_show_whitespace_characters(Config::get().source.show_whitespace_characters));
if(Config::get().source.wrap_lines)
if(Config::get().source.wrap_lines || (language && language->get_id() == "markdown"))
set_wrap_mode(Gtk::WrapMode::WRAP_WORD_CHAR);
else
set_wrap_mode(Gtk::WrapMode::WRAP_NONE);

Loading…
Cancel
Save