aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2025-07-03 14:29:35 +0200
committerGitHub <noreply@github.com>2025-07-03 14:29:35 +0200
commit15c2a3e5cf38fd6274099baffc521022f319dd60 (patch)
tree16fd63ff1312711933df4b39941eeb6d36e9285e /src
parent718fee642d34da5d43fe9bdeee54abdb34385bb8 (diff)
parentbc29c467bab157d2eadfc8d75f0554acbf0a98a3 (diff)
Merge pull request #713 from BradLewis/fix/remove-proc-completion-label-details
Remove `proc` from CompletionLabelDetails detail
Diffstat (limited to 'src')
-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]