Add {pdm,uv}.lock, git/ignore, npmrc to languages (#11131)
This commit is contained in:
parent
8229a40da8
commit
2d1ac0f699
1 changed files with 4 additions and 2 deletions
|
@ -297,7 +297,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", { glob = "poetry.lock" }, { glob = "Cargo.lock" }]
|
file-types = ["toml", { glob = "pdm.lock" }, { glob = "poetry.lock" }, { glob = "Cargo.lock" }, { glob = "uv.lock" }]
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
language-servers = [ "taplo" ]
|
language-servers = [ "taplo" ]
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
@ -1694,7 +1694,7 @@ source = { git = "https://github.com/mtoohey31/tree-sitter-gitattributes", rev =
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "git-ignore"
|
name = "git-ignore"
|
||||||
scope = "source.gitignore"
|
scope = "source.gitignore"
|
||||||
file-types = [{ glob = ".gitignore_global" }, { glob = ".ignore" }, { glob = "CODEOWNERS" }, { glob = ".config/helix/ignore" }, { glob = ".helix/ignore" }, { glob = ".*ignore" }]
|
file-types = [{ glob = ".gitignore_global" }, { glob = "git/ignore" }, { glob = ".ignore" }, { glob = "CODEOWNERS" }, { glob = ".config/helix/ignore" }, { glob = ".helix/ignore" }, { glob = ".*ignore" }]
|
||||||
injection-regex = "git-ignore"
|
injection-regex = "git-ignore"
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
grammar = "gitignore"
|
grammar = "gitignore"
|
||||||
|
@ -2703,6 +2703,8 @@ file-types = [
|
||||||
"kube",
|
"kube",
|
||||||
"network",
|
"network",
|
||||||
{ glob = ".editorconfig" },
|
{ glob = ".editorconfig" },
|
||||||
|
{ glob = ".npmrc" },
|
||||||
|
{ glob = "npmrc" },
|
||||||
{ glob = "rclone.conf" },
|
{ glob = "rclone.conf" },
|
||||||
"properties",
|
"properties",
|
||||||
"cfg",
|
"cfg",
|
||||||
|
|
Loading…
Add table
Reference in a new issue