[gnome-builder] lsp: Add missing icon kinds
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] lsp: Add missing icon kinds
- Date: Mon, 6 Dec 2021 21:09:07 +0000 (UTC)
commit 518a2fcb0bf4bd493ad1bed527a7d09670fa1dd8
Author: Felix Häcker <haeckerfelix gnome org>
Date: Sun Dec 5 11:51:13 2021 +0100
lsp: Add missing icon kinds
src/libide/lsp/ide-lsp-util.c | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/src/libide/lsp/ide-lsp-util.c b/src/libide/lsp/ide-lsp-util.c
index 9ec384593..7c8300bbb 100644
--- a/src/libide/lsp/ide-lsp-util.c
+++ b/src/libide/lsp/ide-lsp-util.c
@@ -79,10 +79,17 @@ ide_lsp_decode_completion_kind (guint kind)
case 13: kind = IDE_SYMBOL_KIND_ENUM_VALUE; break;
case 14: kind = IDE_SYMBOL_KIND_KEYWORD; break;
case 17: kind = IDE_SYMBOL_KIND_FILE; break;
+ case 20: kind = IDE_SYMBOL_KIND_ENUM_VALUE; break;
+ case 21: kind = IDE_SYMBOL_KIND_CONSTANT; break;
+ case 22: kind = IDE_SYMBOL_KIND_STRUCT; break;
+ case 23: kind = IDE_SYMBOL_KIND_EVENT; break;
+ case 24: kind = IDE_SYMBOL_KIND_OPERATOR; break;
+ case 25: kind = IDE_SYMBOL_KIND_TYPE_PARAM; break;
case 15: /* Snippet */
case 16: /* Color */
case 18: /* Reference */
+ case 19: /* Folder */
default: kind = IDE_SYMBOL_KIND_NONE; break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]