From 88b6d3a7b8a24cfba9d1dea181b54df24972c36a Mon Sep 17 00:00:00 2001 From: JenChieh Date: Wed, 4 Oct 2023 01:04:54 -0700 Subject: [PATCH] feat: Add reStructuredText support --- .gitmodules | 6 ++++++ CHANGELOG.md | 1 + repos/rst | 1 + tree-sitter-langs.el | 1 + 4 files changed, 9 insertions(+) create mode 160000 repos/rst diff --git a/.gitmodules b/.gitmodules index 013560a4..bd8f1306 100644 --- a/.gitmodules +++ b/.gitmodules @@ -394,3 +394,9 @@ branch = master update = none ignore = dirty +[submodule "repos/rst"] + path = repos/rst + url = https://github.com/stsewd/tree-sitter-rst/ + branch = master + update = none + ignore = dirty diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cecc47f..fa1365a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## Unreleased +- Add `reStructuredText` support ## 0.12.51 - 2023-10-02 - Add `Mermaid` support diff --git a/repos/rst b/repos/rst new file mode 160000 index 00000000..2ca8c123 --- /dev/null +++ b/repos/rst @@ -0,0 +1 @@ +Subproject commit 2ca8c123c82ca41f41b66b5d13d403cff0204b78 diff --git a/tree-sitter-langs.el b/tree-sitter-langs.el index 65da4d6e..763f0df4 100644 --- a/tree-sitter-langs.el +++ b/tree-sitter-langs.el @@ -159,6 +159,7 @@ See `tree-sitter-langs-repos'." (python-mode . python) (pygn-mode . pgn) (rjsx-mode . javascript) + (rst-mode . rst) (ruby-mode . ruby) (rust-mode . rust) (rustic-mode . rust)