Browse Source

Added comment char for prolog

merge-requests/181/head^2
eidheim 9 months ago
parent
commit
1f94ae9a80
  1. 2
      src/source.cpp

2
src/source.cpp

@ -223,7 +223,7 @@ Source::View::View(const boost::filesystem::path &file_path, const Glib::RefPtr<
else { else {
if(is_language({"cmake", "makefile", "python", "python3", "sh", "perl", "ruby", "r", "asm", "automake", "yaml", "docker", "julia"})) if(is_language({"cmake", "makefile", "python", "python3", "sh", "perl", "ruby", "r", "asm", "automake", "yaml", "docker", "julia"}))
comment_characters = "#"; comment_characters = "#";
else if(is_language({"latex", "matlab", "octave", "bibtex"})) else if(is_language({"latex", "matlab", "octave", "bibtex", "prolog"}))
comment_characters = "%"; comment_characters = "%";
else if(language_id == "fortran") else if(language_id == "fortran")
comment_characters = "!"; comment_characters = "!";

Loading…
Cancel
Save