fix(swift): tree-sitter-swift missing parser.c

The current HEAD on https://github.com/alex-pinkus/tree-sitter-swift
does not include generated files. Use a tag that does.

The solution proposed in the repository of downloading artifacts from an
action is not feasible as they expire and become unavailable.
This commit is contained in:
Bror 2025-11-27 22:51:28 +01:00 committed by Bror Winther
parent 2e16934f02
commit e5fb31e863
No known key found for this signature in database
GPG key ID: 8E525EF6AB1BD92B

View file

@ -5,7 +5,8 @@
:init
(when (modulep! +tree-sitter)
(set-tree-sitter! 'swift-mode 'swift-ts-mode
'((swift :url "https://github.com/alex-pinkus/tree-sitter-swift"))))
'((swift :url "https://github.com/alex-pinkus/tree-sitter-swift"
:rev "0.7.1-with-generated-files"))))
:config
(set-repl-handler! 'swift-mode #'run-swift)