Skip to content

Commit

Permalink
Recognize .C and .H file types as cpp (helix-editor#5808)
Browse files Browse the repository at this point in the history
  • Loading branch information
budde25 authored Feb 5, 2023
1 parent 0eba0db commit 9c98043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-c", rev = "7175a6dd
name = "cpp"
scope = "source.cpp"
injection-regex = "cpp"
file-types = ["cc", "hh", "c++", "cpp", "hpp", "h", "ipp", "tpp", "cxx", "hxx", "ixx", "txx", "ino"]
file-types = ["cc", "hh", "c++", "cpp", "hpp", "h", "ipp", "tpp", "cxx", "hxx", "ixx", "txx", "ino", "C", "H"]
roots = []
comment-token = "//"
language-server = { command = "clangd" }
Expand Down

0 comments on commit 9c98043

Please sign in to comment.