projects
/
roobuilder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34759ca
)
src/Lsp.vala
author
Alan Knowles
<alan@roojs.com>
Sun, 17 Mar 2024 03:28:58 +0000
(11:28 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sun, 17 Mar 2024 03:28:58 +0000
(11:28 +0800)
src/Lsp.vala
patch
|
blob
|
history
diff --git
a/src/Lsp.vala
b/src/Lsp.vala
index
70670b6
..
12309f0
100644
(file)
--- a/
src/Lsp.vala
+++ b/
src/Lsp.vala
@@
-440,7
+440,8
@@
namespace Lsp {
}
public string tooltip {
owned get {
- return this.detail + "\nline: " + this.range.start.line.to_string();
+ var detail = this.detail == "" ? (this.kind.to_string() + ": " + this.name : this.detail;
+ return detail + "\nline: " + this.range.start.line.to_string();
}
}