trigger completion after ]

This commit is contained in:
Lee Cannon 2022-08-14 22:45:05 +01:00
parent c632a7f29d
commit 673b4b3505
No known key found for this signature in database
GPG Key ID: 983D5E5CC5E1401F

View File

@ -1786,7 +1786,7 @@ fn initializeHandler(server: *Server, writer: anytype, id: types.RequestId, req:
},
.textDocumentSync = .Full,
.renameProvider = true,
.completionProvider = .{ .resolveProvider = false, .triggerCharacters = &[_][]const u8{ ".", ":", "@" }, .completionItem = .{ .labelDetailsSupport = true } },
.completionProvider = .{ .resolveProvider = false, .triggerCharacters = &[_][]const u8{ ".", ":", "@", "]" }, .completionItem = .{ .labelDetailsSupport = true } },
.documentHighlightProvider = true,
.hoverProvider = true,
.codeActionProvider = false,