Skip to content

Commit 93eab84

Browse files
chore: Bump cpp grammar (#406)
* chore: Bump cpp grammar * Update tree-sitter-langs-build.el --------- Co-authored-by: jcs090218 <[email protected]> Co-authored-by: Jen-Chieh Shen <[email protected]>
1 parent 32bcbb2 commit 93eab84

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

tree-sitter-langs-build.el

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,15 +250,21 @@ infrequent (grammar-only changes). It is different from the version of
250250
"List of suffixes for shared libraries that define tree-sitter languages.")
251251

252252
(defconst tree-sitter-langs--langs-with-deps
253-
'((arduino ("[email protected]"))
253+
'((arduino)
254254
(astro)
255-
255+
(cpp)
256256
(commonlisp)
257257
(hlsl)
258258
(glsl)
259259
(toml)
260260
(typescript))
261-
"Languages that depend on another, thus requiring `npm install'.")
261+
"Languages that depend on another, thus requiring `npm install'.
262+
263+
You can use it as an alist to force install certain dependencies. e.g.,
264+
265+
(cpp (\"[email protected]\"))
266+
267+
This can serve as a temporary workaround in case the upstream parsers encounter issues.")
262268

263269
(defun tree-sitter-langs--bundle-file (&optional ext version os)
264270
"Return the grammar bundle file's name, with optional EXT.

0 commit comments

Comments
 (0)