Commit graph

16 commits

Author SHA1 Message Date
Pham Huy Hoang
1aea2eee29
refactor: add notes for swift
Also add enum_class_body
2023-05-19 00:57:18 +09:00
Pham Huy Hoang
864b4171de
feat: add swift indents (#4756) 2023-05-08 14:53:31 +09:00
Amaan Qureshi
5a87bc98da feat: add @comment.documentation where applicable 2023-03-05 17:15:32 -05:00
Amaan Qureshi
33ba346e60 feat!: add @keyword.coroutine capture 2023-03-03 07:07:52 -08:00
ObserverOfTime
6825dc63b6 highlights(swift): fix captures 2022-11-26 13:17:51 +02:00
Alex Pinkus
14edfee545 feat(swift): sync highlight queries with upstream
Upstream highlight queries have added support for Swift regex literals.
This change brings that support to nvim-treesitter.

Also includes some minor reordering of modifiers for logical consistency
(no impact on highlighting behavior).
2022-10-10 23:00:58 +02:00
Lewis Russell
37398c7d68 feat(spell): support more languages 2022-09-26 13:47:12 +01:00
Alex Pinkus
98d5fe400c highlights(swift): fix for_statement variable declaration
Incorporates a fix from upstream, caught due to the emacs tree-sitter
plugin using an older version of tree-sitter that does stricter
validation.
2022-09-05 21:16:04 +02:00
Stephan Seitz
24db489566 highlights(swift): add keywords "convenience", "required", "override" 2022-08-16 11:39:30 -07:00
Stephan Seitz
bb1c6c2475 highlights(swift): add keywords "actor", "nonisolated"
Introduced in 07bdffb5e6
2022-08-16 11:39:30 -07:00
lfenzo
c784720917 Split func/method definition from calls in several programming language queries 2022-08-03 12:05:30 -07:00
Christian Clason
c95496d8d6
feat(swift): update parser and queries to 0.3.0 (#3035)
also port upstream query changes
2022-06-19 14:18:16 +02:00
Stephan Seitz
cc1890528f highlights(swift): add more @operators and implicit keyword 2022-01-18 22:09:21 +01:00
Stephan Seitz
8025b90329 highlights(swift): highlight "->" as @operator 2022-01-18 22:09:21 +01:00
Stephan Seitz
a3c86fe843 highlights(swift): highlight punctuation
"?" is still missing:
https://github.com/tree-sitter/tree-sitter-swift/issues/38
2022-01-18 22:09:21 +01:00
Christian Clason
f3e554ed7b highlight(swift): add upstream queries 2022-01-16 14:27:24 +01:00