aboutsummaryrefslogtreecommitdiff
path: root/src/server/completion.odin
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-07-03 07:23:06 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-07-03 07:23:06 -0400
commitbc29c467bab157d2eadfc8d75f0554acbf0a98a3 (patch)
tree16fd63ff1312711933df4b39941eeb6d36e9285e /src/server/completion.odin
parent718fee642d34da5d43fe9bdeee54abdb34385bb8 (diff)
Remove `proc` from CompletionLabelDetails detail
Diffstat (limited to 'src/server/completion.odin')
-rw-r--r--src/server/completion.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/completion.odin b/src/server/completion.odin
index 80c5ae1..f52baf2 100644
--- a/src/server/completion.odin
+++ b/src/server/completion.odin
@@ -2053,7 +2053,7 @@ format_to_label_details :: proc(list: ^CompletionList) {
proc_info = detail_split[1]
}
// Split the leading name of the proc
- proc_info_split := strings.split_n(proc_info, " ", 2)
+ proc_info_split := strings.split_n(proc_info, " proc", 2)
if len(proc_info_split) == 1 {
// We have no leading package.Name for the proc
proc_info = proc_info_split[0]