From aa4287a6c8bc06278db0abd5f7db902cf52af200 Mon Sep 17 00:00:00 2001 From: Brad Lewis <22850972+BradLewis@users.noreply.github.com> Date: Sun, 17 Aug 2025 11:09:45 -0400 Subject: Fix symbol information for keyword completions --- src/server/documentation.odin | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/server/documentation.odin b/src/server/documentation.odin index a27c32d..a0922fd 100644 --- a/src/server/documentation.odin +++ b/src/server/documentation.odin @@ -692,6 +692,9 @@ write_comments :: proc(sb: ^strings.Builder, comments: []^ast.Comment_Group, ind } construct_symbol_information :: proc(ast_context: ^AstContext, symbol: Symbol) -> string { + if symbol.name in keywords_docs { + return symbol.name + } sb := strings.builder_make(ast_context.allocator) write_symbol_attributes(&sb, symbol) write_symbol_name(&sb, symbol) -- cgit v1.2.3