aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/swift/declarations.swift
diff options
context:
space:
mode:
author再生花 <hoangtun0810@gmail.com>2024-03-11 18:20:10 +0900
committerChristian Clason <c.clason@uni-graz.at>2024-03-13 11:09:42 +0800
commite73c775aa9d540f0c33585ed1b5ea572a64bdac1 (patch)
tree1964ca36c7c01ad3e5ef38016566f48aebee8293 /tests/indent/swift/declarations.swift
parentfix(scripts): actually skip lockfile updates (diff)
downloadnvim-treesitter-e73c775aa9d540f0c33585ed1b5ea572a64bdac1.tar
nvim-treesitter-e73c775aa9d540f0c33585ed1b5ea572a64bdac1.tar.gz
nvim-treesitter-e73c775aa9d540f0c33585ed1b5ea572a64bdac1.tar.bz2
nvim-treesitter-e73c775aa9d540f0c33585ed1b5ea572a64bdac1.tar.lz
nvim-treesitter-e73c775aa9d540f0c33585ed1b5ea572a64bdac1.tar.xz
nvim-treesitter-e73c775aa9d540f0c33585ed1b5ea572a64bdac1.tar.zst
nvim-treesitter-e73c775aa9d540f0c33585ed1b5ea572a64bdac1.zip
feat(swift): add init/deinit indents
Signed-off-by: Phạm Huy Hoàng <hoangtun0810@gmail.com>
Diffstat (limited to 'tests/indent/swift/declarations.swift')
-rw-r--r--tests/indent/swift/declarations.swift2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/indent/swift/declarations.swift b/tests/indent/swift/declarations.swift
index d4bc6e054..67a7e5544 100644
--- a/tests/indent/swift/declarations.swift
+++ b/tests/indent/swift/declarations.swift
@@ -12,6 +12,8 @@ class EquilateralTriangle: NamedShape {
) {
self.sideLength = sideLength
}
+ deinit {
+ }
var perimeter: Double {
willSet {