diff options
| author | Albert Cervin <albert@acervin.com> | 2024-05-22 00:00:29 +0200 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2024-09-12 20:17:56 +0200 |
| commit | 405da5f84b072ea97b69359454899f45d92d24b6 (patch) | |
| tree | 20525b4bc44a5d8cbab4d62abe8413e174731db6 /src/dged/minibuffer.h | |
| parent | 4ab7e453e26afc6e9f4938c65f89463fbba9e267 (diff) | |
| download | dged-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/minibuffer.h')
| -rw-r--r-- | src/dged/minibuffer.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/dged/minibuffer.h b/src/dged/minibuffer.h index 6ac69c1..0b98904 100644 --- a/src/dged/minibuffer.h +++ b/src/dged/minibuffer.h @@ -24,11 +24,11 @@ void minibuffer_init(struct buffer *buffer, struct buffers *buffers); * * Note that this does not release the buffer used. */ -void minibuffer_destroy(); +void minibuffer_destroy(void); -struct text_chunk minibuffer_content(); +struct text_chunk minibuffer_content(void); -struct buffer *minibuffer_buffer(); +struct buffer *minibuffer_buffer(void); void message(const char *fmt, ...); @@ -74,14 +74,14 @@ uint32_t minibuffer_draw_prompt(struct command_list *commands); * * @returns zero on success, non-zero to indicate failure */ -int32_t minibuffer_execute(); +int32_t minibuffer_execute(void); /** * Abort the current minibuffer prompt. * * This returns focus to the previously focused window. */ -void minibuffer_abort_prompt(); +void minibuffer_abort_prompt(void); /** * Minibuffer prompt args @@ -94,22 +94,22 @@ struct minibuffer_prompt_args { /** * Clear the current text in the minibuffer. */ -void minibuffer_clear(); +void minibuffer_clear(void); -bool minibuffer_empty(); +bool minibuffer_empty(void); /** * Is the minibuffer currently displaying something? * * @returns True if the minibuffer is displaying anything, false otherwise. */ -bool minibuffer_displaying(); +bool minibuffer_displaying(void); /** * Is the minibuffer currently focused? * * @returns True if the minibuffer is currently focused, receiving user input. */ -bool minibuffer_focused(); +bool minibuffer_focused(void); -struct window *minibuffer_target_window(); +struct window *minibuffer_target_window(void); |
