@@ -49,7 +49,7 @@ void Config::load() {
4949 catch (const std::exception &e) {
5050 ::Terminal::get ().print(" Error: could not parse " +config_json+" : " +e.what()+"\n", true);
5151 std::stringstream ss;
52- ss << configjson ;
52+ ss << default_config_file ;
5353 boost::property_tree::read_json (ss, cfg);
5454 retrieve_config ();
5555 }
@@ -64,7 +64,7 @@ void Config::find_or_create_config_files() {
6464 boost::filesystem::create_directories (home/" plugins" );
6565
6666 if (!boost::filesystem::exists (config_json))
67- filesystem::write (config_json, configjson );
67+ filesystem::write (config_json, default_config_file );
6868
6969 auto juci_style_path = home/" styles" ;
7070 boost::filesystem::create_directories (juci_style_path); // io exp captured by calling method
@@ -163,7 +163,7 @@ void Config::update_config_file() {
163163 try {
164164 if (cfg.get <std::string>(" version" )!=JUCI_VERSION) {
165165 std::stringstream ss;
166- ss << configjson ;
166+ ss << default_config_file ;
167167 boost::property_tree::read_json (ss, default_cfg);
168168 cfg_ok=false ;
169169 if (cfg.count (" version" )>0 )
@@ -199,6 +199,7 @@ void Config::get_source() {
199199 source.default_tab_char = source_json.get <char >(" default_tab_char" );
200200 source.default_tab_size = source_json.get <unsigned >(" default_tab_size" );
201201 source.auto_tab_char_and_size = source_json.get <bool >(" auto_tab_char_and_size" );
202+ source.tab_indents_line = source_json.get <bool >(" tab_indents_line" );
202203
203204 source.wrap_lines = source_json.get <bool >(" wrap_lines" );
204205
0 commit comments