aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Toohey2023-12-15 06:54:43 +0000
committerGitHub2023-12-15 06:54:43 +0000
commit11856329bf39cebf34c367bae6bc879b52f8d5e9 (patch)
tree04565bc45cee693652875ab2929235f243890943
parentb4571c292e76382f98266322a025c6383bd02f30 (diff)
Change R markdown language name to fix language server detection (#9012)
-rw-r--r--languages.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 2c2bfc61..e184c893 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1668,6 +1668,7 @@ source = { git = "https://github.com/r-lib/tree-sitter-r", rev = "cc04302e1bff76
[[language]]
name = "rmarkdown"
scope = "source.rmd"
+language-id = "rmd"
injection-regex = "(r|R)md"
file-types = ["rmd", "Rmd"]
indent = { tab-width = 2, unit = " " }