mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 04:40:08 -04:00
feat: add swift indents (#4756)
This commit is contained in:
parent
b231afbad1
commit
864b4171de
5 changed files with 210 additions and 0 deletions
17
tests/indent/swift/expressions.swift
Normal file
17
tests/indent/swift/expressions.swift
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
func Test() {
|
||||
(1 + 2)
|
||||
|
||||
[
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5
|
||||
].split()
|
||||
|
||||
let x = [
|
||||
1: 2,
|
||||
3: 4,
|
||||
]
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue