summaryrefslogtreecommitdiff
path: root/src/dged/text.h
diff options
context:
space:
mode:
authorAlbert Cervin <albert@acervin.com>2024-05-22 00:00:29 +0200
committerAlbert Cervin <albert@acervin.com>2024-09-12 20:17:56 +0200
commit405da5f84b072ea97b69359454899f45d92d24b6 (patch)
tree20525b4bc44a5d8cbab4d62abe8413e174731db6 /src/dged/text.h
parent4ab7e453e26afc6e9f4938c65f89463fbba9e267 (diff)
downloaddged-405da5f84b072ea97b69359454899f45d92d24b6.tar.gz
dged-405da5f84b072ea97b69359454899f45d92d24b6.tar.xz
dged-405da5f84b072ea97b69359454899f45d92d24b6.zip
WIP LSP client
This contains the start of an LSP client. Nothing (except starting the LSP server) works at the moment and the feature is disabled by default.
Diffstat (limited to 'src/dged/text.h')
-rw-r--r--src/dged/text.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dged/text.h b/src/dged/text.h
index 28bd325..505c86a 100644
--- a/src/dged/text.h
+++ b/src/dged/text.h
@@ -66,10 +66,10 @@ struct text_property_colors {
struct text_property {
enum text_property_type type;
- union {
+ union property_data {
struct text_property_colors colors;
void *userdata;
- };
+ } data;
};
void text_add_property(struct text *text, uint32_t start_line,