config.toml

 1name = "C++"
 2grammar = "cpp"
 3path_suffixes = ["cc", "hh", "cpp", "h", "hpp", "cxx", "hxx", "c++", "h++", "ipp", "inl", "ino", "ixx", "cu", "cuh", "C", "H"]
 4modeline_aliases = ["c++", "cpp", "cxx"]
 5line_comments = ["// ", "/// ", "//! "]
 6decrease_indent_patterns = [
 7  { pattern = "^\\s*\\{.*\\}?\\s*$", valid_after = ["if", "for", "while", "do", "switch", "else"] },
 8  { pattern = "^\\s*else\\b", valid_after = ["if"] }
 9]
10autoclose_before = ";:.,=}])>"
11brackets = [
12    { start = "{", end = "}", close = true, newline = true },
13    { start = "[", end = "]", close = true, newline = true },
14    { start = "(", end = ")", close = true, newline = true },
15    { start = "\"", end = "\"", close = true, newline = false, not_in = ["string"] },
16    { start = "'", end = "'", close = true, newline = false, not_in = ["string", "comment"] },
17    { start = "/*", end = " */", close = true, newline = false, not_in = ["string", "comment"] },
18]
19debuggers = ["CodeLLDB", "GDB"]
20documentation_comment = { start = "/*", prefix = "* ", end = "*/", tab_size = 1 }
21import_path_strip_regex = "^<|>$"