Add a more file types for R (#7633)

This commit is contained in:
Doug Kelkhoff 2023-07-15 19:48:09 -04:00 committed by GitHub
parent 2ace6032e7
commit 79a8fd6249
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -716,7 +716,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-ruby", rev = "206c7
name = "bash" name = "bash"
scope = "source.bash" scope = "source.bash"
injection-regex = "(shell|bash|zsh|sh)" injection-regex = "(shell|bash|zsh|sh)"
file-types = ["sh", "bash", "zsh", ".bash_login", ".bash_logout", ".bash_profile", ".bashrc", ".profile", ".zshenv", ".zlogin", ".zlogout", ".zprofile", ".zshrc", ".zimrc", "APKBUILD", "PKGBUILD", "eclass", "ebuild", "bazelrc", ".bash_aliases"] file-types = ["sh", "bash", "zsh", ".bash_login", ".bash_logout", ".bash_profile", ".bashrc", ".profile", ".zshenv", ".zlogin", ".zlogout", ".zprofile", ".zshrc", ".zimrc", "APKBUILD", "PKGBUILD", "eclass", "ebuild", "bazelrc", ".bash_aliases", "Renviron", ".Renviron"]
shebangs = ["sh", "bash", "dash", "zsh"] shebangs = ["sh", "bash", "dash", "zsh"]
roots = [] roots = []
comment-token = "#" comment-token = "#"
@ -757,7 +757,7 @@ source = { git = "https://github.com/gbprod/tree-sitter-twig", rev = "807b293fec
name = "latex" name = "latex"
scope = "source.tex" scope = "source.tex"
injection-regex = "tex" injection-regex = "tex"
file-types = ["tex", "sty", "cls"] file-types = ["tex", "sty", "cls", "Rd"]
roots = [] roots = []
comment-token = "%" comment-token = "%"
language-servers = [ "texlab" ] language-servers = [ "texlab" ]
@ -1325,7 +1325,7 @@ source = { git = "https://github.com/the-mikedavis/tree-sitter-git-rebase", rev
name = "regex" name = "regex"
scope = "source.regex" scope = "source.regex"
injection-regex = "regex" injection-regex = "regex"
file-types = ["regex"] file-types = ["regex", ".Rbuildignore"]
roots = [] roots = []
[[grammar]] [[grammar]]
@ -1556,7 +1556,7 @@ source = { git = "https://github.com/Hubro/tree-sitter-robot", rev = "f1142bfaa6
name = "r" name = "r"
scope = "source.r" scope = "source.r"
injection-regex = "(r|R)" injection-regex = "(r|R)"
file-types = ["r", "R"] file-types = ["r", "R", ".Rprofile", "Rprofile.site"]
shebangs = ["r", "R"] shebangs = ["r", "R"]
roots = [] roots = []
comment-token = "#" comment-token = "#"