aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-12-10 01:24:54 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-12-10 17:13:22 +0100
commitdc232b74fb1a7927d6c13bd8c80bb42fc18a859f (patch)
treeae508f45a06a593abe1132e895adc0cefc00c654 /src/nvim/api/vim.c
parentabe38f7d26d68d7032ea391c039c56c8b87675a5 (diff)
downloadrneovim-dc232b74fb1a7927d6c13bd8c80bb42fc18a859f.tar.gz
rneovim-dc232b74fb1a7927d6c13bd8c80bb42fc18a859f.tar.bz2
rneovim-dc232b74fb1a7927d6c13bd8c80bb42fc18a859f.zip
doc: hack to avoid doxygen bug
Use `@cond <something>` to obscure a section from doxygen. doxygen thinks kvec_withinit_t() is a function. That adds noise to the generated API documentation, and also prevents the following function from being noticed.
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r--src/nvim/api/vim.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index 416e7d22d2..f0db391abe 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -789,6 +789,10 @@ ArrayOf(Dictionary) nvim_get_keymap(String mode)
return keymap_array(mode, NULL);
}
+/// Returns a 2-tuple (Array), where item 0 is the current channel id and item
+/// 1 is the |api-metadata| map (Dictionary).
+///
+/// @returns 2-tuple [{channel-id}, {api-metadata}]
Array nvim_get_api_info(uint64_t channel_id)
FUNC_API_SINCE(1) FUNC_API_ASYNC FUNC_API_REMOTE_ONLY
{
@@ -896,7 +900,9 @@ typedef struct {
Object *ret_node_p;
} ExprASTConvStackItem;
+///@cond DOXYGEN_NOT_A_FUNCTION
typedef kvec_withinit_t(ExprASTConvStackItem, 16) ExprASTConvStack;
+///@endcond
/// Parse a VimL expression
///