Add hover, goto, completions for alternate declaration types

This commit is contained in:
Alexandros Naskos
2020-06-10 22:52:33 +03:00
parent 545989339d
commit 86e417e8dc
2 changed files with 83 additions and 20 deletions

View File

@@ -30,7 +30,7 @@ pub fn getDocComments(allocator: *std.mem.Allocator, tree: *ast.Tree, node: *ast
return null;
}
fn collectDocComments(allocator: *std.mem.Allocator, tree: *ast.Tree, doc_comments: *ast.Node.DocComment) ![]const u8 {
pub fn collectDocComments(allocator: *std.mem.Allocator, tree: *ast.Tree, doc_comments: *ast.Node.DocComment) ![]const u8 {
var lines = std.ArrayList([]const u8).init(allocator);
defer lines.deinit();