projects
/
roobuilder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd2aba2
)
src/Lsp.vala
author
Alan Knowles
<alan@roojs.com>
Sun, 24 Mar 2024 02:40:21 +0000
(10:40 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sun, 24 Mar 2024 02:40:21 +0000
(10:40 +0800)
src/Lsp.vala
patch
|
blob
|
history
diff --git
a/src/Lsp.vala
b/src/Lsp.vala
index
fd86602
..
e5319ed
100644
(file)
--- a/
src/Lsp.vala
+++ b/
src/Lsp.vala
@@
-1072,7
+1072,7
@@
namespace Lsp {
}
var contents = new Gee.ArrayList<MarkedString>();
property_node.get_array ().foreach_element ((array, index, element) => {
- if (element.get_
object() == null
) {
+ if (element.get_
node_type() != Json.NodeType.OBJECT
) {
var str = element.get_string();
if (str != null) {
contents.add ( new MarkedString( "", str ));