Skip to content

Commit

Permalink
Merge pull request #455 from jalaziz/rust-cargo-tags
Browse files Browse the repository at this point in the history
Identify Cargo.toml and Cargo.lock as cargo and cargo-lock
  • Loading branch information
asottile authored Apr 20, 2024
2 parents 80f2107 + c0083af commit dab738c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions identify/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@
'.zshenv': EXTENSIONS['zsh'],
'AUTHORS': EXTENSIONS['txt'],
'BUILD': EXTENSIONS['bzl'],
'Cargo.toml': EXTENSIONS['toml'] | {'cargo'},
'Cargo.lock': EXTENSIONS['toml'] | {'cargo-lock'},
'CMakeLists.txt': EXTENSIONS['cmake'],
'CHANGELOG': EXTENSIONS['txt'],
'config.ru': EXTENSIONS['rb'],
Expand Down

0 comments on commit dab738c

Please sign in to comment.