Skip to content

Commit

Permalink
Add {pdm,uv}.lock, git/ignore, npmrc to languages (helix-editor#11131)
Browse files Browse the repository at this point in the history
  • Loading branch information
branchvincent authored and mxxntype committed Aug 14, 2024
1 parent f600580 commit 7414701
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ source = { git = "https://github.com/FuelLabs/tree-sitter-sway", rev = "e491a005
name = "toml"
scope = "source.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 = "#"
language-servers = [ "taplo" ]
indent = { tab-width = 2, unit = " " }
Expand Down Expand Up @@ -1694,7 +1694,7 @@ source = { git = "https://github.com/mtoohey31/tree-sitter-gitattributes", rev =
[[language]]
name = "git-ignore"
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"
comment-token = "#"
grammar = "gitignore"
Expand Down Expand Up @@ -2703,6 +2703,8 @@ file-types = [
"kube",
"network",
{ glob = ".editorconfig" },
{ glob = ".npmrc" },
{ glob = "npmrc" },
{ glob = "rclone.conf" },
"properties",
"cfg",
Expand Down

0 comments on commit 7414701

Please sign in to comment.