22 lines · 1.2 KB · TOML
RawDownload
name = "C++"grammar = "cpp"path_suffixes = ["cc", "ccm", "hh", "cpp", "cppm", "h", "hpp", "cxx", "cxxm", "hxx", "c++", "c++m", "h++", "ipp", "inl", "ino", "ixx", "cu", "cuh", "C", "H"]modeline_aliases = ["c++", "cpp", "cxx"]line_comments = ["// ", "/// ", "//! "]first_line_pattern = '^//.*-\*-\s*C\+\+\s*-\*-'decrease_indent_patterns = [  { pattern = "^\\s*\\{.*\\}?\\s*$", valid_after = ["if", "for", "while", "do", "switch", "else"] },  { pattern = "^\\s*else\\b", valid_after = ["if"] }]autoclose_before = ";:.,=}])>"brackets = [    { start = "{", end = "}", close = true, newline = true },    { start = "[", end = "]", close = true, newline = true },    { start = "(", end = ")", close = true, newline = true },    { start = "\"", end = "\"", close = true, newline = false, not_in = ["string"] },    { start = "'", end = "'", close = true, newline = false, not_in = ["string", "comment"] },    { start = "/*", end = " */", close = true, newline = false, not_in = ["string", "comment"] },]debuggers = ["CodeLLDB", "GDB"]block_comment = { start = "/*", prefix = "", end = "*/", tab_size = 1 }documentation_comment = { start = "/*", prefix = "* ", end = "*/", tab_size = 1 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t