mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2024-12-27 21:35:41 +00:00
I missed this in a previous commit - take the setting from the SettingsBag.
This commit is contained in:
parent
3e60ea4183
commit
9232644cbb
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ namespace tawashi {
|
|||
}
|
||||
else {
|
||||
srchilite::SourceHighlight highlighter;
|
||||
highlighter.setDataDir("/usr/share/source-highlight");
|
||||
highlighter.setDataDir(settings().as<std::string>("langmap_dir"));
|
||||
highlighter.setGenerateEntireDoc(false);
|
||||
highlighter.setGenerateLineNumbers(true);
|
||||
const auto lang = m_lang_file;
|
||||
|
|
Loading…
Reference in a new issue