diff options
| author | ryuukk <44361234+ryuukk@users.noreply.github.com> | 2023-07-24 07:38:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-24 07:38:10 +0200 |
| commit | 61841e77f2d1eee8923efd6f91a5ddff78c88bdd (patch) | |
| tree | 307ceaaa85faf6cb2777c51baec01f4cc33c7161 /src/server/completion.odin | |
| parent | c2e65be90a3a4d8ea3ac30d63b714ba78f8fe594 (diff) | |
and not or
Diffstat (limited to 'src/server/completion.odin')
| -rw-r--r-- | src/server/completion.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/completion.odin b/src/server/completion.odin index 092a406..57e22a2 100644 --- a/src/server/completion.odin +++ b/src/server/completion.odin @@ -1822,7 +1822,7 @@ format_to_label_details :: proc(list: ^CompletionList) { // or if this PR gets merged: https://github.com/sublimelsp/LSP/pull/2293 dt:= &item.labelDetails.? or_else nil if dt == nil do continue - if strings.contains(dt.detail, "..") || strings.contains(dt.detail, "#") { + if strings.contains(dt.detail, "..") && strings.contains(dt.detail, "#") { s, _ := strings.replace_all(dt.detail, "..", "ꓸꓸ", allocator = context.temp_allocator) dt.detail = s } |