feat(languages): recognise Cargo.lock as TOML

This commit is contained in:
yvt 2023-05-21 23:49:39 +09:00 committed by Skyler Hawthorne
parent d3cca0f357
commit 16e0340b4a

View file

@ -207,7 +207,7 @@ source = { git = "https://github.com/FuelLabs/tree-sitter-sway", rev = "e491a005
name = "toml" name = "toml"
scope = "source.toml" scope = "source.toml"
injection-regex = "toml" injection-regex = "toml"
file-types = ["toml", "poetry.lock"] file-types = ["toml", "poetry.lock", "Cargo.lock"]
roots = [] roots = []
comment-token = "#" comment-token = "#"
language-servers = [ "taplo" ] language-servers = [ "taplo" ]