File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ ## 0.10.0 - 2021-03-14
6+ - Updated most language grammars to the latest version.
7+ - Upgraded ` tree-sitter ` CLI version to 0.19.3.
8+
59## 0.9.2 - 2021-02-12
610- Added ` janet-simple ` grammars.
711- Added minor updates to some other grammars.
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ latest commit."
205205; ; ---------------------------------------------------------------------------
206206; ;; Building language grammars.
207207
208- (defconst tree-sitter-langs--bundle-version " 0.9.2 "
208+ (defconst tree-sitter-langs--bundle-version " 0.10.0 "
209209 " Version of the grammar bundle.
210210This should be bumped whenever a language submodule is updated, which should be
211211infrequent (grammar-only changes). It is different from the version of
Original file line number Diff line number Diff line change 55; ; Author: Tuấn-Anh Nguyễn <ubolonton@gmail.com>
66; ; Keywords: languages tools parsers tree-sitter
77; ; Homepage: https://github.com/ubolonton/tree-sitter-langs
8- ; ; Version: 0.9.2
9- ; ; Package-Requires: ((emacs "25.1") (tree-sitter "0.12.2 "))
8+ ; ; Version: 0.10.0
9+ ; ; Package-Requires: ((emacs "25.1") (tree-sitter "0.15.0 "))
1010; ; SPDX-License-Identifier: MIT
1111
1212; ;; Commentary:
4040(eval-when-compile
4141 (require 'pcase ))
4242
43+ ; ; Not everyone uses a package manager that properly checks dependencies. We check it ourselves, and
44+ ; ; ask users to upgrade `tree-sitter' if necessary. Otherwise, they would get `tsc-lang-abi-too-new'
45+ ; ; errors, without an actionable message.
46+ (let ((min-version " 0.15.0" ))
47+ (when (version< tsc-dyn--version min-version)
48+ (display-warning 'tree-sitter-langs
49+ (format " Please upgrade `tree-sitter' . This bundle requires version %s or later. " min-version)
50+ :emergency )))
51+
4352(defgroup tree-sitter-langs nil
4453 " Grammar bundle for `tree-sitter' ."
4554 :group 'tree-sitter )
You can’t perform that action at this time.
0 commit comments