Treat Arduino files as C++ (#35467)
Closes https://github.com/zed-industries/zed/discussions/35466 Release Notes: - N/A
This commit is contained in:
parent
00701b5e99
commit
34fc2fd9d0
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
name = "C++"
|
||||
grammar = "cpp"
|
||||
path_suffixes = ["cc", "hh", "cpp", "h", "hpp", "cxx", "hxx", "c++", "ipp", "inl", "ixx", "cu", "cuh", "C", "H"]
|
||||
path_suffixes = ["cc", "hh", "cpp", "h", "hpp", "cxx", "hxx", "c++", "ipp", "inl", "ino", "ixx", "cu", "cuh", "C", "H"]
|
||||
line_comments = ["// ", "/// ", "//! "]
|
||||
decrease_indent_patterns = [
|
||||
{ pattern = "^\\s*\\{.*\\}?\\s*$", valid_after = ["if", "for", "while", "do", "switch", "else"] },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue