From 79a8fd6249970f9eebde46569681ec6e47349b00 Mon Sep 17 00:00:00 2001 From: Doug Kelkhoff <18220321+dgkf@users.noreply.github.com> Date: Sat, 15 Jul 2023 19:48:09 -0400 Subject: [PATCH] Add a more file types for R (#7633) --- languages.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/languages.toml b/languages.toml index 233eb2f8..a13e35b4 100644 --- a/languages.toml +++ b/languages.toml @@ -716,7 +716,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-ruby", rev = "206c7 name = "bash" scope = "source.bash" 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"] roots = [] comment-token = "#" @@ -757,7 +757,7 @@ source = { git = "https://github.com/gbprod/tree-sitter-twig", rev = "807b293fec name = "latex" scope = "source.tex" injection-regex = "tex" -file-types = ["tex", "sty", "cls"] +file-types = ["tex", "sty", "cls", "Rd"] roots = [] comment-token = "%" language-servers = [ "texlab" ] @@ -1325,7 +1325,7 @@ source = { git = "https://github.com/the-mikedavis/tree-sitter-git-rebase", rev name = "regex" scope = "source.regex" injection-regex = "regex" -file-types = ["regex"] +file-types = ["regex", ".Rbuildignore"] roots = [] [[grammar]] @@ -1556,7 +1556,7 @@ source = { git = "https://github.com/Hubro/tree-sitter-robot", rev = "f1142bfaa6 name = "r" scope = "source.r" injection-regex = "(r|R)" -file-types = ["r", "R"] +file-types = ["r", "R", ".Rprofile", "Rprofile.site"] shebangs = ["r", "R"] roots = [] comment-token = "#"